Please notice that the usage of restricted codecs might depend on local laws. It might be illegal in some countries to install and use certain codecs (commercial/proprietary third-party packages) and multimedia extensions. Check your local regulations first prior to proceeding with the installation of the following software.
As in all software for Ubuntu, there are two ways to do the installation: via the Ubuntu Sofware Center or via the command line.
The installation via the Ubuntu Software Center is as follows. Open the Ubuntu Software Center (or the Synaptic Package Manager) and search for "restricted codecs". Select the package found and click on install. During the installation you will need to accept an EULA license agreement. To have full support to watch DVDs you must also install libdvdcss2 and non-free-codecs from the Medibuntu Repository. Please notice that in Europe these repositories are not allowed to be used. Further information can be read here: http://www.videolan.org/developers/libdvdcss.html
The same installation can be done via the command line through the following steps. Open a terminal by pressing at the same time the keys ALT+CTRL+T. Then type the following commands:
sudo apt-get install ubuntu-restricted-extras -y (Enter)
sudo apt-get install non-free-codecs -y (Enter)
sudo apt-get install curl -y (Enter)
curl ftp://ftp.videolan.org/pub/debian/videolan-apt.asc | (Enter)
sudo apt-key add -echo "deb ftp://ftp.videolan.org/pub/debian/stable ./" | (Enter)
sudo tee /etc/apt/sources.list.d/libdvdcss.list (Enter)
sudo apt-get update (Enter)
Continue reading to the next page:
Manually create a guest account in Ubuntu20.04
Go back to read the previous page:
Configuring the Bios