In practice, you need to add additional bundles repository and explicitly install some packages from it. Also some of the restricted packages you would like to download are available in the standard repository.
Start with adding Medibuntu repository to your system...
sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list sudo apt-get --quiet update sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring sudo apt-get --quiet updateThe command below will integrate Medibuntu packages with your Desktop even tighter (by adding Unity lauchers and so forth).
sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntuNow install codecs with closed licenses...
sudo apt-get install w32codecs win64codecs ubuntu-restricted-extrasIf you watch movies from DVDs on your computer, you would like to have installed support for the encrypted ones (i.e. the majority of the positions available on the market).
sudo apt-get install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.shAfter applying all the steps above, non-free media and Ubuntu will become friends again.