Difference between revisions of "Add-apt-repository"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
{{Lowercase}} | {{Lowercase}} | ||
− | |||
<code>add-apt-repository</code> is a [[python]] script included in <code>[[software-properties-common]]</code> package. | <code>add-apt-repository</code> is a [[python]] script included in <code>[[software-properties-common]]</code> package. | ||
Revision as of 01:35, 3 March 2022
add-apt-repository
is a python script included in software-properties-common
package.
apt-add-repository -y ppa:ansible/ansible
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
Example execution
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.netinch.com/pub/mariadb/repo/10.4/ubuntu bionic main' Get:1 http://mirrors.digitalocean.com/ubuntu bionic InRelease [242 kB] Hit:2 https://download.docker.com/linux/ubuntu bionic InRelease Get:3 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://mirrors.digitalocean.com/ubuntu bionic-backports InRelease [74.6 kB] Get:5 http://mirror.netinch.com/pub/mariadb/repo/10.4/ubuntu bionic InRelease [6244 B] Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:7 http://mirror.netinch.com/pub/mariadb/repo/10.4/ubuntu bionic/main arm64 Packages [11.3 kB] Get:8 http://mirror.netinch.com/pub/mariadb/repo/10.4/ubuntu bionic/main amd64 Packages [11.7 kB] Get:9 http://mirror.netinch.com/pub/mariadb/repo/10.4/ubuntu bionic/main ppc64el Packages [11.3 kB] Fetched 535 kB in 1s (679 kB/s) Reading package lists... Done
Related commands
See also
APT
:wajig
,apt-cache
,add-apt-repository
PPA,apt
[install
|remove
|purge | show | list | changelog
|update
|upgrade
],do-release-upgrade
,apt-mark
,apt full-upgrade
,sources.list
, APT Automatic updates,unattended-upgrade
,apt-transport-https
,apt-get update
,/etc/apt/
,/etc/apt/apt.conf.d/50unattended-upgrades
,/etc/apt/apt.conf.d/
,/etc/apt/apt.conf.d/20auto-upgrades
,apt-file, apt-utils
Advertising: