Add-apt-repository Command
Install add-apt-repository
-
Debian
apt-get install software-properties-common
Click to copy -
Ubuntu
apt-get install software-properties-common
Click to copy -
Kali Linux
apt-get install software-properties-common
Click to copy -
Raspbian
apt-get install software-properties-common
Click to copy
Manages apt repository definitions.
How to use add-apt-repository?
Below are few example commands for add-apt-repository that you can use in the terminal.
Add a new apt repository:add-apt-repository repository_spec
Click to copyRemove an apt repository:add-apt-repository --remove repository_spec
Click to copyUpdate the package cache after adding a repository:add-apt-repository --update repository_spec
Click to copyEnable source packages:add-apt-repository --enable-source repository_spec
Click to copy
Install the latest version of add-apt-repository in Debian, Ubuntu, Kali and Raspbian from terminal. To install the add-apt-repository just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of add-apt-repository from the respository and install it in your computer/server.