How to play blu ray .mkv files on ubuntu 20.04 LTS?

How to play blu ray .mkv files on Linux? e.g:1080p.BluRay.DD5.1.x264-NTb.mkv


Install VLC and its Blu-ray support on Ubuntu.

Open a terminal window and run the following commands in order. You can copy and paste them into a terminal window using your mouse.

sudo apt-get install vlc libaacs0 libbluray-bdj libbluray1

mkdir -p ~/.config/aacs/

cd ~/.config/aacs/
wget --no-check-certificate http://vlc-bluray.whoknowsmy.name/files/KEYDB.cfg

If you get "Package 'libbluray1' has no installation candidate" message, try to intall the libbluray2 library.

sudo apt-get install vlc libaacs0 libbluray-bdj libbluray2