How Do I Add a Repository in Linux Terminal?
Contents Open up Your Terminal Window and Type Sudo Add-Apt-Repository Ppa: Maarten-Baert/Simplescreenrecorder. Type Your Sudo Password. When Prompted, Hit...
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.
Must Read
How do I add a repository?
To add a repository to your system’s software sources:
- Navigate to Ubuntu Software Centre > Edit > Software Sources > Other Software.
- Click Add.
- Enter the repository’s location.
- Click Add Source.
- Enter your password.
- Click Authenticate.
- Click Close.