Difference between revisions of "Add-apt-repository"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
<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.
 +
 +
 +
apt-add-repository -y [[ppa]]:ansible/ansible
 +
  
 
==Example execution ==
 
==Example execution ==

Revision as of 15:33, 17 August 2021

This article is a Draft. Help us to complete it.

add-apt-repository is a python script included in software-properties-common package.


apt-add-repository -y ppa:ansible/ansible

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

Advertising: