How to play DVDs in Ubuntu 16.04? [duplicate]

On Ubuntu 16.04 type in the terminal

sudo apt-get install libdvd-pkg

After installing libdvd-pkg you must run this command

sudo dpkg-reconfigure libdvd-pkg

This should allow DVD Playback

If you're still having trouble, most likely the region of your device is not set properly (or at all). Install regionset by typing

sudo apt-get install regionset

and then run

regionset

You have to install few codecs required specifically to play DVDs comfortably. These are:

  • libdvdcss2: to recognize DVD
  • libdvdread4: to read DVD
  • libdvdnav4: to navigate DVD

Step #1 Install libdvdcss2

Since medibuntu is no longer available, you have to install libdvdcss2 manually from VLC repositories :

wget http://download.videolan.org/pub/debian/stable/libdvdcss2_1.2.13-0_i386.deb
sudo dpkg -i libdvdcss2_1.2.13-0_i386.deb

Step #2 Install libdvdread4 and libdvdnav4

Open terminal (Ctrl + Alt + T) and run following command:

sudo apt-get install libdvdread4 libdvdnav4