On Linux, DVD support is provided through the libdvdcss or libdvdcss2 packages. Some distributions already include these packages (Linux Mint, Kodi/XBMC), but most don’t. Distributions without pre-installed DVD playing capabilities are Debian, Ubuntu, SUSE Linux, Fedora, …
In earlier Ubuntu releases, DVD support as well as many other media codecs were available through the Medibuntu repositories, unfortunately these have now been shut down.
Where do I find libdvdcss?
VideoLAN, the project behind VLC Media Player, hosts the last stable version of the libdvdcss library for debian-based Linux distributions. For RPM-based distributions such as CentOS, Red Hat, Fedora, SUSE, take a look at this DVD support how-to.
Installation Method 1: install libdvdcss2 through .deb packages
This is the easiest way to install DVD support, it doesn’t involve using the command line. Download the i386 (32-bit systems) or amd64 (64-bitsystems) version of the libdvdcss2 package on the VideoLAN server. Open the downloaded file with the GDebi Package Installer, which is probably already installed on your system. Click install and you’re done already.
If you want to stick with the command line, install the downloaded .deb-package with the following command (use Tab ↹ to autocomplete the file name):
sudo dpkg -i libdvdcss2_version_arch_.deb
Installation Method 2: libdvdcss2 repositories
VLC has its own help page on how to install libdvdcss through its repositories. Check it out here and follow the instructions to install repository and public key. Finally you may install DVD support through your system’s package manager (e.g. Synaptic) or with the following command line:
sudo apt-get install libdvdcss2
You should now be able to play DVDs on Ubuntu, Linux Mint no-codecs flavors as well as other Debian-based Linux distros.
By Johannes Eva, October 2013 – March 2016