Bạn có thể tìm thấy mplayer ở trong Synaptic. Lúc cài đặt Mplayer bạn sẽ cài đặt phần chính của nó. Tuy nhiên bạn cần có thêm gói w32codecđể xem các định dạng trên windows, và gói libdvdcss2 để xem DVD.
Để lấy nó bạn có thể dùng lệnh (chú ý viết chung 1 dòng)
- Mã: Chọn tất cả
sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
Tiếp theo là lệnh:
- Mã: Chọn tất cả
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
và
sudo apt-get update
sudo apt-get install w32codecs libdvdcss2
Với gói libdvdcss2 có kích thước nhỏ nên bạn có thể down nhanh nhưng với gói w32codecs thì kích thước lại lớn >13 mb bạn có thể cài đặt riêng (chỉ dùng lệnh sudo apt-get install libdvdcss2 )
Gói codec đó có thể download tại http://www.mplayerhq.hu/design7/dload.html
http://www5.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
Giải nén ra 1 thư mục.
Rồi dùng:
sudo nautilus
(lệnh này dùng để truy cập sử đổi tập tin thư mục bằng quyền root)
Để chép các file đó vào thư mục usr/lib/codecs/
Trong thư mục usr/share/lintian/overrides/ tạo file w32codecs với nội dung
w32codecs: shared-lib-without-dependency-information ./usr/lib/codecs/vid_h261.xa
w32codecs: shared-lib-without-dependency-information ./usr/lib/codecs/vid_h263.xa
w32codecs: shared-lib-without-dependency-information ./usr/lib/codecs/vid_iv32.xa
w32codecs: shared-lib-without-dependency-information ./usr/lib/codecs/vid_iv41.xa
w32codecs: shared-lib-without-dependency-information ./usr/lib/codecs/vid_iv50.xa
w32codecs: shared-lib-without-dependency-information ./usr/lib/codecs/vid_cvid.xa
w32codecs: shared-lib-without-dependency-information ./usr/lib/codecs/vid_cyuv.xa
* Nếu bạn gặp lỗi gnome_screensaver_control gây phiền phức. Bạn có thể xử lý nó bằng cách nhấn chuột phải -> vào preferences -> Tab Misc bỏ chọn Stop Screen Saver
(Sưu tầm)