Editing Add-apt-repository
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
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. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | apt-add-repository -y [[ppa]]:ansible/ansible | ||
− | <code>sudo [[apt-add-repository]] "deb [arch=amd64] https://apt.releases.hashicorp.com $([[lsb_release -cs]]) main"</code> | + | <code>sudo [[apt-add-repository]] "deb [arch=amd64] https://apt.releases.hashicorp.com $([[lsb_release -cs]]) main"</code> |
− | == Example == | + | ==Example execution == |
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.netinch.com/pub/mariadb/repo/10.4/ubuntu bionic main' | 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] | Get:1 http://mirrors.digitalocean.com/ubuntu bionic InRelease [242 kB] | ||
Line 26: | Line 21: | ||
Reading package lists... Done | Reading package lists... Done | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related commands == | == Related commands == | ||
* <code>[[apt update]]</code> | * <code>[[apt update]]</code> | ||
* <code>[[apt-cache search]]</code> | * <code>[[apt-cache search]]</code> | ||
− | |||
== See also == | == See also == | ||
− | |||
* {{apt}} | * {{apt}} | ||
[[Category:Linux]] | [[Category:Linux]] | ||
− |
Advertising: