How to Install add-apt-repository on Debian / Ubuntu
How to Install add-apt-repository on Debian / Ubuntu
The command add-apt-repository isn’t a default app on Debian 9 / minimal install of Ubuntu . If you get the error “add-apt-repository command not found” while trying to add PPA repository, you’ll need to install add-apt-repository.
For those new to Debian package management, add-apt-repository is a command line tool used for adding Personal Package Archive (PPA ) in Debian family Linux distributions.
apt update
apt-get install -y software-properties-common
apt-get install -y software-properties-common
You can now add PPA repository with the syntax:
add-apt-repository ppa:<PPA Name>
Install the repository for stable releases of Grafana
unisonunix01# add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
No comments