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 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.

How do I add a repository?

To add a repository to your system’s software sources:

  1. Navigate to Ubuntu Software Centre > Edit > Software Sources > Other Software.
  2. Click Add.
  3. Enter the repository’s location.
  4. Click Add Source.
  5. Enter your password.
  6. Click Authenticate.
  7. Click Close.
Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest