Install libdvdcss and w32 video codecs in Debian and ubuntu

w32codecs this is a package of codecs needed to play multiple formats, notably DivX. (disponible. Maintainer: MirSPCM)

libdvdcss is a highly portable library for accessing and unscrambling DVDs encrypted with the CSS system. It is part of the VideoLAN project and is used by VLC and all other open source DVD players such as Ogle, xine-based players and MPlayer.

Installing w32codecs in Debian

#wget http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20060611-0.0_i386.deb

#dpkg -i w32codecs_20060611-0.0_i386.deb

Installing liddvdcss2 in Debian

#wget http://www.debian-multimedia.org/pool/main/libd/libdvdcss/libdvdcss2_1.2.9-0sarge0.0_i386.deb

#dpkg -i libdvdcss2_1.2.9-0sarge0.0_i386.deb

You can download Any hardware Architecture from Here

If you want to download Multimedia related software for debian you can download from here
If you are looking for debian multimedia mirrors check here

Installing libdvdcss2 and w32 video codecs in Ubuntu

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.

Edit /etc/apt/sources.list file and enter the following repositories

$sudo gedit /etc/apt/sources.list

deb http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free

deb http://packages.freecontrib.org/ubuntu/freecontrib/ dapper free non-free
deb-src http://packages.freecontrib.org/ubuntu/freecontrib/ dapper free non-free

$sudo apt-get update

$sudo apt-get install w32codecs libdvdcss2

If you want to download and install .deb packages you can download and install

$wget -c http://packages.freecontrib.org/ubuntu/plf/pool/dapper/non-free/w32codecs_20060611-1plf1_i386.deb

$sudo dpkg -i w32codecs_20060611-1plf1_i386.deb

$wget -c http://packages.freecontrib.org/ubuntu/plf/pool/dapper/free/libdvdcss2-dev_1.2.9-1plf4_i386.deb

$sudo dpkg -i libdvdcss2-dev_1.2.9-1plf4_i386.deb

You can download Any harware Architecture from Here

Using above download locations you can install more most of the mutimedia codecs for debian and ubuntu

Sponsored Link

33 thoughts on “Install libdvdcss and w32 video codecs in Debian and ubuntu

  1. I don’t understand why you wget those Debian packages from the debian-multimedia.org. Why don’t you use apt? If you use Debian then edit /etc/apt/sources.list file and enter the following repository:

    If you use Debian Etch:
    deb http://www.debian-multimedia.org etch main

    If you use Debian Sarge
    deb http://www.debian-multimedia.org sarge main

    #gedit /etc/apt/sources.list
    #apt-get update
    #apt-get install w32codecs libdvdcss2

  2. Thanks for this simple instruction, I have looked for many ways to make my Ubuntu run mp3 and other audio files.And
    what you introduce is the way which is most efficient.Thank you very much,A friend from Chinese.

  3. Great how-to. I read about ten other how-to’s on this topic before I got to this one. This one is by far the simplest!

    kudos!

  4. cil,
    I got the same -c error. I’d cut and pasted it from the website. The dollar sign needs removing from the front of the wget command. Unfortunately it doesn’t work anyway as the file seems to have been removed.

    I would be grateful if someone could let me know where I can get this from now.

    Cheers,

    Brian

    Oh and just incase I’m wrong about the lack of file here is the error message I received. Please let me know if I made a mistake.

    :~$ wget -c http://packages.freecontrib.org/ubuntu/plf/pool/dapper/non-free/w32codecs_20060611-1plf1_i386.deb
    –12:11:28– http://packages.freecontrib.org/ubuntu/plf/pool/dapper/non-free/w32codecs_20060611-1plf1_i386.deb
    => `w32codecs_20060611-1plf1_i386.deb’
    Resolving packages.freecontrib.org… 88.191.33.6
    Connecting to packages.freecontrib.org|88.191.33.6|:80… connected.
    HTTP request sent, awaiting response… 404 Not Found
    12:11:29 ERROR 404: Not Found.

  5. It has been very nice to get such simple instructions on how to install such codecs in ubuntu.It had been so long failing to watch my dvds with ubuntu. A guy from Burundi.

  6. Argh, freecontrib fails to be found. Automatix is also down.

    I am getting soo damn angry with all the links failing leaving me unable to use firefox to view embedded non-downloadable media.

    blast it.

  7. You are my man…thanks to solutions and folks like you one is able to adapt to linux destros better.

    🙂

  8. So I’ll be the odd man out and say I don’t get it at all.

    It says it can’t find anything.

    *feels stupid*

    *sigh*

  9. Yes! Freecontrib.org is definately having “issues” but the previous “wget” scripts and/or additions to the “repositories” for “basic” debian seem to work “fine” for me..just REMOVE the # mark in front of wget and PASTE it into your terminal window and..”viola”! You may have to preceed the the comand with sudo!! Either way it just..”WORKS”! I’m currently running BeaFX (dapper) on an “old” emachines, Intel 440BX chipset, 256Mb.ram! “GREAT”!!

  10. it seems that libdvdcss2 and w32codecs have disapeared. one week ago I managed to install them, an today, I’m doing it on another computer, and it doesn’t work, I get this comment:

    Aucune version du paquet libdvdcss2 n’est disponible, mais il existe dans la base
    de donnĂ©es. Cela signifie en gĂ©nĂ©ral que le paquet est manquant, qu’il est devenu obsolète

    which means that it is registered in the database, but not available anymore.
    Is there another way I could get these packages?

  11. It seems w32codecs is indeed disappeared – I can not even ping to 88.191.33.6

    Ign ftp://ftp.videolan.org dapper/universe Packages
    Hit ftp://ftp.videolan.org dapper/universe Packages
    99% [Connecting to packages.freecontrib.org (88.191.33.6)]
    Err http://packages.freecontrib.org dapper Release.gpg
    Could not connect to packages.freecontrib.org:80 (88.191.33.6), connection timed out
    99% [Connecting to packages.freecontrib.org (88.191.33.6)]

    desktop:~$ sudo apt-get install w32codecs libdvdcss2
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package w32codecs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package w32codecs has no installation candidate
    my-desktop:~$ wget -c http://packages.freecontrib.org/ubuntu/plf/pool/dapper/non-free/w32codecs_20060611-1plf1_i386.deb
    –01:27:46– http://packages.freecontrib.org/ubuntu/plf/pool/dapper/non-free/w32codecs_20060611-1plf1_i386.deb
    => `w32codecs_20060611-1plf1_i386.deb’
    Resolving packages.freecontrib.org… 88.191.33.6
    Connecting to packages.freecontrib.org|88.191.33.6|:80…
    —–
    Anyone able to get VLC to run under ubuntu recently? Any help would be greatly appreciated.

  12. i got a problem, my ubuntu version is actually runnign perfect ex pect totem video player, its need lildvdcss2 file, the thing is that in synaptic, i dont find it, can anyone help??

  13. I downloaded “libdvdcss2-dev_1.2.9-1_i386.deb” and ran GDebi Package Installer. Got the error message: Dependency is not satisfiable: libdvdcss2. Can anyone tel me what that means. I bought this computer already with Ubuntu Gutsy on it with a dvd player. I’m really new to Linux so am having all kinds of problems. LOL

    Also when I used the Synaptic Package Manager to install gxine, I didn’t get libdvdplay.so. Trying to find this file also. Got the error message when I put the dvd in and gxine came up. When I download a file I put it in my documents folder, but when I run the terminal for a lib, it tells me there is no such file or directory. So where are you supposed to download the file for the terminal to find it.

    I would appreciate any help that I can get.

  14. i got same problem as –(18.shyam bhavsar)– i have ubuntu 8.04 cant play dvd movies (i tred mplayer,totem player,vlc,dragon player etc..)
    desktop:~$ sudo apt-get install w32codecs libdvdcss2
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package w32codecs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package w32codecs has no installation candidate

    my-desktop:~$ wget -c http://packages.freecontrib.org/ubuntu/plf/pool/dapper/non-free/w32codecs_20060611-1plf1_i386.deb
    –01:27:46– http://packages.freecontrib.org/ubuntu/plf/pool/dapper/non-free/w32codecs_20060611-1plf1_i386.deb
    => `w32codecs_20060611-1plf1_i386.deb’
    Resolving packages.freecontrib.org… 88.191.33.6
    Connecting to packages.freecontrib.org|88.191.33.6|:80…
    no answerer etc..
    is any other way to install w32codec -all to play dvd movies ??

  15. Repositories not found after update ergo timed-out. Does any one know any repositories that have w32codec and libdvdcss2?

  16. sorry , i`m a total noob as i worked 20 years with windows systems , and i dont understand a word you are talking about , i tryed my best to fill in every command from here , but non of them seems to do anything
    cant find any packages, the more i look the less i get , seems i can only get 57 packeges at all, i`m running …runnig is the wrong word
    kubuntu 9.04 ..and if thats the best linux can do then i wonder why windows is still marked leader , as i`m now at a point to beg for a company thats giving me a programm thats working even if i have to pay for it
    i simply want to watch my dvd`s on my computer , what is so difficult
    i own the dvd`s , i bought the dvd drive (it came even with nero)
    so under a microsoft product even win 95 i could easy watch a dvd
    but not under kubuntu
    so if none of you can give me a solution
    i have to bin kubuntu and install windows vista again

  17. I agree with Michael [27]. I was so pleased to get rid of Windows XP after I installed Ubuntu 9.04, everything seemed to be so fast, clean and sharp. Then I tried to watch BBC News 24 live and the problems started. I used the Ubuntu forum for help and by chance I got the streaming problem solved. But I can’t play any of my videos on Ubuntu. I’ve spent around 20 hours over 3 days looking for solutions. Can’t find any. This is my last ditch to correct the problem.

  18. Javier got it spot on except the current dvdread version is 4 not 3. Just change the number in his scripts at comment #23-#25.

  19. hello guys i have just installed -Kali GNU/Linux Rolling 64-bit- on my laptop and have been trying to install wine on it in order to enable to install some of the windows application on the kali.
    i have read a lot on the net and some guide lines but,i cant dont seem to get the installation of wine right.
    plays i need help and also am new in linux environment.

Leave a comment

Your email address will not be published. Required fields are marked *