$ sudo add-apt-repository multiverse code example
Example: how to enable the non-free archive repos or Universe and Multiverse repos for Ubuntu
ONE option available for newer releases of Ubuntu:
$ sudo su
$ apt-add-repository multiverse && apt-add-repository universe && apt-add-repository restricted && apt-get update
And some other way! --> Examples:
apt-add-repository 'deb http://myserver/path/to/repo stable myrepo'
apt-add-repository 'http://myserver/path/to/repo myrepo'
apt-add-repository 'https://packages.medibuntu.org free non-free'
apt-add-repository http://extras.ubuntu.com/ubuntu
apt-add-repository ppa:user/repository
apt-add-repository multiverse
$ grep ^deb /etc/apt/sources.list
$ apt-add-repository -r multiverse && apt-get update