Installing Restricted Formats
From Knowledge76
Disclaimer
This page was originally copied with modification from the Ubuntu wiki here and here. Patent and license restrictions on media formats complicate a free operating system's ability to distribute software that will support those formats. Ubuntu actively supports the free formats. This page will walk you through installing support for the most popular non-free media formats.
Some of the packages listed here may be illegal in your country. This page is not legal advice.
Installation
Any Ubuntu Release
You need to install the ubuntu-restricted-extras package. To do this, open a terminal (Applications > Accessories > Terminal) and run:
sudo apt-get install ubuntu-restricted-extras
Following this, run:
sudo /usr/share/doc/libdvdread4/install-css.sh
Previous | Next > Free Formats
Ubuntu 8.10 Intrepid Ibex
- Click Applications → Add/Remove. In the top right, change the setting to All available applications. Select Other in the left panel and then select the Ubuntu restricted extras package. Click Apply Changes.
- Open your terminal (Applications > Accessories > Terminal) then copy and paste the following commands into the terminal window. Enter your user password when prompted.
sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/medibuntu.list wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
Ubuntu 8.04 Hardy Heron
- Click Applications → Add/Remove. In the top right, change the setting to All available applications. Select Other in the left panel and then select the Ubuntu restricted extras package. Click Apply Changes.
- Open your terminal (Applications > Accessories > Terminal) then copy and paste the following commands into the terminal window. Enter your user password when prompted.
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
64 Bit Ubuntu Users:
sudo apt-get install libdvdcss2 w64codecs
32 Bit Ubuntu Users:
sudo apt-get install libdvdcss2 w32codecs
Ubuntu 7.10 Gutsy Gibbon
- Click Applications → Add/Remove. In the top right, change the setting to All available applications. Select Other in the left panel and then select the Ubuntu restricted extras package. Click Apply Changes.
- Open your terminal (Applications > Accessories > Terminal) then copy and paste the following commands into the terminal window. Enter your user password when prompted.
sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
64 Bit Ubuntu Users:
sudo apt-get install libdvdcss2 w64codecs
32 Bit Ubuntu Users:
sudo apt-get install libdvdcss2 w32codecs
Optionally Install Additional Non-Open Source Applications
Google Earth
sudo apt-get install googleearth
Skype
sudo apt-get install skype
Adobe Acrobat Reader 8
sudo apt-get install acroread
Previous | Next > Free Formats
Ubuntu 7.04 Feisty Fawn
- Click Applications → Add/Remove. In the top right, change the setting to All available applications. Select Other in the left panel and then select the Ubuntu restricted extras package. Click OK.
- Open your terminal (Applications > Accessories > Terminal) then copy and paste the following commands into the terminal window. Enter your user password when prompted.
sudo wget http://www.medibuntu.org/sources.list.d/feisty.list -O /etc/apt/sources.list.d/medibuntu.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
sudo apt-get install libdvdcss2 w32codecs
Ubuntu Dapper 6.06 or Edgy 6.10
Open your terminal (Applications > Accessories > Terminal) then copy and paste the following commands into the terminal window. Enter your user password when prompted.
sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad \ gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse \ gxine libxine-main1 libxine-extracodecs ogle ogle-gui gstreamer0.10-gl gstreamer0.10-plugins-base \ gstreamer0.10-plugins-good libdvdread3 flashplugin-nonfree ffmpeg lame faad sox mjpegtools
sudo /usr/share/doc/libdvdread3/install-css.sh
wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20061022-0.0_i386.deb
sudo dpkg -i w32codecs_20061022-0.0_i386.deb
Ubuntu Breezy 5.10
Open your terminal (Applications > Accessories > Terminal) then copy and paste the following commands into the terminal window. Enter your user password when prompted.
sudo apt-get install gstreamer0.8-mad gstreamer0.8-plugins gstreamer0.8-plugins-multiverse gstreamer0.8-ffmpeg
sudo apt-get install mozilla-mplayer dpkg-dev fakeroot debhelper build-essential libdvdread3
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20061022-0.0_i386.deb
sudo dpkg -i w32codecs_20061022-0.0_i386.deb
Media Players provided by Ubuntu
Ubuntu includes Totem movie player and Rhythmbox music player. These applications play free formats (Ogg Vorbis, Ogg Theora, and the like) 'out of the box'. However, they can also play most non-free media formats if you install some additional packages. The multimedia article describes the most popular media players provided in Ubuntu, as well as some of the most popular available in the repositories.