linux试用(2)安装 mplayer, g++

unfortunately, i broken the  the mbr so i cannot start my system, now i 'm use ubuntu-9 live CD to run linux.

and i learnt some useful tips:

install g++:

sudo aptitude update && sudo aptitude install g++

install mplayer:


(a) - You need to add the following lines to /etc/apt/sources.list file

gedit /etc/apt/sources.list

enter these two lines and save your file

deb http://archive.ubuntu.com/ubuntu edgy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy universe multiverse

(b) Now you need to run the following command to update the source list

sudo apt-get update && sudo apt-get install mplayer


(c) gmplayer

or

You can Open from Applications—>Sound&Video—> Mplayer Movie Player

Once you open the mplayer you should see the mplayer opened in the following screen

(d) If you want to install Mplayer with plug-in for Mozilla Firefox run the following command

sudo apt-get install mozilla-mplayer 

 mount an iso file

mount -o loop xx.iso <folder>

 install use root

sudo passwd root

su

原文地址:https://www.cnblogs.com/cutepig/p/1789579.html