// MPlayer on Red Hat with APT HOWTO // // by Unduhtakuh // // http://www.oldskoolphreak.com To preface, the author would like to partake in self-disclosure. I'm a Red Hat whore. I love Red Hat. I use it at work, at home, and on my laptop on the road. I don't care if others think that Red Hat is the Microsoft of Linux. I don't want to use Fedora. I want Red Hat. I've paid for Professional Workstation and it was money well-spent. Red Hat 9 is, in my opinion, one of the best distributions ever, and it is well supported to this day. In addition, anyone can use the exceptional White Box Enterprise Linux, and I've yet to run into a RH 9 RPM that doesn't work in RHEL 3. This HOWTO shows you how to get the latest MPlayer up and running on your Red Hat box using not much more than APT (Advanced Package Tool) and a text editor. This HOWTO was developed on RHPW, and tested on RH 9 and RHEL WS. It is assumed that you have APT installed, know how to use it, and have a working, up-to-date box. The author is partial to nano and making backups of configuration files before editing: # cp config.file config.file.bak && nano config.file Go ahead and become root and we'll jump right in. 1. Remove any previous versions of MPlayer, however they were installed. On my system, it was as simple as: # rpm -e mplayer # rpm -e mplayer-fonts 2. Add the Grey Sector APT repository by downloading greysector.list to /etc/apt/sources.list.d/. # cd /etc/apt/sources.list.d/ # wget http://greysector.rangers.eu.org/apt/greysector.list 3. Choose the Red Hat 9 packages by adding the following line to greysector.list. rpm http://sunsite.icm.edu.pl/pub/linux/greysector/apt/ 9 \ stable testing unstable 4. Update your box. # apt-get update # apt-get upgrade # apt-get dist-upgrade 5. Install MPlayer, with GUI, and the essential codecs. # apt-get install mplayer-gui # apt-get install mplayer-codecs-essential 6. Set up gmplayer to use the attractive Abyss skin by changing the following line in ~/.mplayer/gui.conf. gui_skin = "Abyss" MPlayer is now in the Red Hat -> Sound & Video -> More Sound & Video Applications menu. You can watch MPEGs, QuickTime, Windows Media (why?), as well as your avi collection gleaned from suprnova.org (RIP). The author would like to close with a few thoughts. Don't be hatin' the Red Hat, use the command line more often, and share your knowledge, however noobish you think it may be. Odds are, there's somebody out there who could use the info. Resources --------- APT for Red Hat - http://dag.wieers.com/packages/apt/ MPlayer RPMs - http://greysector.rangers.eu.org/mplayer/ White Box Enterprise Linux - http://www.whiteboxlinux.org/