Skip to content

Instantly share code, notes, and snippets.

@KenEkanem
Created April 27, 2023 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KenEkanem/27d3fa00e506f4ed5017cac453d5aa4d to your computer and use it in GitHub Desktop.
Save KenEkanem/27d3fa00e506f4ed5017cac453d5aa4d to your computer and use it in GitHub Desktop.
Adding a Custom repository to xubuntu

Custom PPAs

You can add a PPA (Personal Package Archive) on Xubuntu by using the "add-apt-repository" command. Here are the steps to add a PPA on Xubuntu: Open a terminal by pressing Ctrl+Alt+T.

  1. Run the following command to update the package lists:

    sudo apt update
    
  2. Run the following command to install the "software-properties-common" package, which provides the "add-apt-repository" command:

    sudo apt install software-properties-common
    
  3. Run the following command to add the PPA. Replace "PPA-NAME" with the name of the PPA you want to add.

     sudo add-apt-repository ppa:PPA-NAME
    

example:

This is a ppa mainatined by LibreOffice

sudo add-apt-repository ppa:libreoffice/ppa

After adding the PPA, you can install the main package using

sudo apt install libreoffice
  1. Press Enter when prompted to confirm the addition of the PPA. Run the following command to update the package lists again:

     sudo apt update
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment