From ArchWiki
Revision as of 23:28, 29 December 2009 by Flydragon (talk | contribs)
Jump to navigation Jump to search

Template:Article summary start Template:Article summary text Template:Article summary heading Template:I18n entry Template:Article summary heading Template:Article summary wiki Template:Article summary end Today you can do almost everything in Linux, or specifically in Arch Linux.

So what do you do with your desktop or laptop? Play music? Play games? and play movies/videos?

Today the most popular video files are .avi and .rmvb... and of course more and more .flv and .mp4... that's another story.

You can easily find many applications to play .avi, but it seems no article in Arch Wiki talked about .rmvb yet.

Let me be the first one then, :)


The most simple way is to install VLC, which plays .rmvb now, as well as many other video format.

$ sudo pacman -Sy vlc

Or if you have logon as root:

# pacman -Sy vlc

Or you can install RealPlayer 11 Gold via AUR, a little bit more steps:

Follow the article to install Yaourt and related programs. You will not be regret, because Yaourt can bring you many useful new options like chromium browser.

Also we assume you have installed and can use one of the editor in command line, nano or vim or vi, etc.

Then let's install RealPlayer 11 Gold, the one we will use to play rmvb:

$ yaourt -S realplayer

Choose no to ignore edit of PKGBUILD for this time. Then choose yes for download and build.

This would end up fail for the first time after download the rpm file, because this package is out of date, it will report the md5sum is wrong. Don't worry, let's do the next step anyway:

$ cd /tmp/yaourt-tmp-master/realplayer/

You will find RealPlayer11Gold.rpm here, let's find out the right md5sum:

$ md5sum RealPlayer11GOLD.rpm

Copy or write down the return value, just the big number, no space or file name included. Then run yaourt again:

$ yaourt -S realplayer

Ok, this time choose yes for PKGBUILD, it will ask you what editor do you want to use, it's up to you, whatever you want, nano or vim or vi. Then you'll easily find the md5sum in the file, just replace the exiting one with the md5sum you got for our rpm file. Save the file and exit your editor.

Now you can continue build and install RealPlayer11, by choose yes, yes, yes...

Done, now start it by:

$ realplay &

First time run it will start a wizard to config network etc., basically just next, next, next...

When it's finished, you can choose a rmvb file to play, it runs perfect on my pc, as my alsa is set up. If you didn't config your sound yet, follow this article to do it: ALSA

This should be all, you may want to add realplay in your menu, or if you are using gnome or KDE it should already in the menu. I'm using fluxbox, so I just edit ~/.fluxbox/menu to add a line for it. Or if you are using launchers like dmenu or bashrun, they will find realplay for you.

Good luck!