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
## After adding the repos remember to check if the repos are activated:
## Run in terminal:
$ grep ^deb /etc/apt/sources.list
## To Remove A repository; Simply add ' -r ' the the commandline script
## by inserting it directly after 'apt-add-repository'.
## i.e:
$ apt-add-repository -r multiverse && apt-get update
Are there any code examples left?
New code examples in category Shell/Bash
-
Shell/Bash 2022-03-27 22:30:33 wise highlight ubuntu
-
Shell/Bash 2022-03-27 22:25:19 how to send a pull request in git
-
Shell/Bash 2022-03-27 21:55:06 how to open terminal in sublime text ubuntu
-
Shell/Bash 2022-03-27 21:25:19 how to switch branch
-
Shell/Bash 2022-03-27 21:20:25 python
-
Shell/Bash 2022-03-27 21:20:04 set user as admin gitlab
-
Shell/Bash 2022-03-27 21:10:09 apache2 mod_jk proxy to tomcat connector
-
Shell/Bash 2022-03-27 20:35:12 chown
-
Shell/Bash 2022-03-27 20:15:08 awk last match