How to: Linux Play DivX .avi video codec file
From my mail bag:
I've downloaded .avi files which is compressed into small sizes while maintaining relatively high visual quality using DivX format. How do I play DivX compressed files under Debian / Ubuntu Linux?
The current version of the DivX Community Codec for the Windows platform is version 6.6, and for Mac OS X is 6.6x. There is no Linux version available however with the help of VLC and DivX for Linux codec, you should able to play all sort of DivX files.
Download and Install DivX Linux Codec
Open terminal and type the following command to download DivX codec:
$ cd /tmp
$ wget http://download.divx.com/labs/divx611-20060201-gcc4.0.1.tar.gz
Untar DivX 6.1.1 codec for Linux:
$ tar -zxvf divx611-20060201-gcc4.0.1.tar.gz
Install divx611 codec:
$ cd divx611-20060201-gcc4.0.1
$ sudo ./install.sh
Press Q after reading agreement, please type yes to install codes.
Install vlc player
The VLC media player can be installed using apt-get command, type:
$ sudo apt-get update
$ sudo apt-get vlc
How do I play files?
Open VLC player by Visiting Applications > Sound and Video > VLC Player. You can also open terminal and type the command:
$ vlc /path/to/my-downloaded-movie.avi
Further readings:
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- Download of the day: VLC media player
- Linux GIMP 2 Video Tutorials / Learning Demos
- Quick tip: Play mp3 in loop using mplayer movie player
- Making Bootable Movies with eMoviX
- How to edit video on a Linux Desktop system
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: apt-get_command, avi files, compressed files, divx codec, divx files, divx linux, play divx, Ubuntu Linux, video codec, vlc media player, vlc_command, wget_command



I tried the above procedure mentioned. But after i did ” sudo ./install.sh ” , it asked me to enter a password.
I’m even unable to extract the files because it is password protected. How do I resolve this to install divx codecs on my linux ??
Enter your own password
thankyou sooo much for the instructions on installing the divx codec…..it worked only thing is…i still cant figure out how to watch a streaming movie even with the codec….the further instructions and after installing vlc…i even removed mplayer…for example on a site such as 66stage.com…..the website still tells me that i’m missing the codec…even though i have installed it and i even tried reinstalling it just in case.but it says its installed…can anyone help…im out of ideas…
Installing vlc does not work. I’m using kubuntu.
You don’t need to install any codecs.
VLC Media player does the job without any assistance. You will only have problems with .asf, .wmv and .rm (Proprietary media formats)
It works both for Linux as well as Windows
Go read the home page.
Well, after installed the codec, the existing VLC 0.9 beta still could not open those DIVX video, any ideas?
I found nothing been left after the installation inside /tmp
How to incorporate the codec to work with VLC?
I installed vlc
sudo apt-get install vlc
but opening avi files plays only voice !! not video
Thanks for the support i have got the Divx installed.
As mentioned above; VLC uses it’s own codecs; installing the DivX codec pack will not make it play in VLC.
I’m at a loss as to any tool that actually uses the “official” DivX library.
i want to know about the all steps to runing the vedio in linux
i types my own password but it didnt work, by own pass word what do you mean, if you mean the password to log onto the computer, it doesnt work, so please tell me what password to type
brian@brian:/tmp/divx611-20060201-gcc4.0.1$ $ sudo ./install.sh
bash: $: command not found
um.. how can i fix this because i followed all directions up to here — it is hopefully apparent to you all that i am stuck.
any help would be of great use to me.
thanks, brian
sudo needs root password. If your guys are so dumb why are you using Linux in the first place? Stick to StupidSoft.