How Do I Install a Repository in Linux?
Contents

How do I add a repository in Linux terminal?

Open up your terminal window and type sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder. Type your sudo password. When prompted, hit Enter on your keyboard to accept the addition of the repository. Once the repository is added, update the apt sources with the command sudo apt update.

How do I manually add a repository in Linux?

Adding Repositories with add-apt-repository

list file like deb http:// distro component or a PPA repository in the ppa:<user>/<ppa-name> format. To see all available options of the add-apt-repository command type man add-apt-repository in your terminal.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest