代码: 全选
sudo gedit /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu hardy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hardy universe multiverse
Now you need to run the following command to update the source list
代码: 全选
sudo apt-get update
代码: 全选
sudo apt-get install mplayer
代码: 全选
gmplayer
You can Open from Applications—>Sound&Video—> Mplayer Movie Player
Install libdvdcss2 and w32 video codecs in Ubuntu 8.04 (Hardy Heron)
Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories due to licensing and legal restrictions.
For Ubuntu 8.04 (Hardy Heron) Users run the following command
代码: 全选
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
代码: 全选
sudo apt-get update
sudo apt-get install medibuntu-keyring
sudo apt-get update
代码: 全选
sudo apt-get install w32codecs libdvdcss2
代码: 全选
sudo apt-get install w64codecs libdvdcss2
Mplayer Plugin for Firefox
If you want to install Mplayer with plug-in for Mozilla Firefox run the following command
代码: 全选
sudo apt-get install mozilla-mplayer