Ubuntu

How to Add and Remove PPA on Ubuntu

How to Add and Remove PPA on Ubuntu
If you're using Ubuntu, you're already familiar with the software repository. It's a HUGE collection of all the necessary tools Ubuntu needs to run. The repository is always kept up-to-date with the latest versions of the software.  However, you're already aware that all the software aren't present in the repository. There are a number of essential tools that you need to get from other sources. Even after grabbing those apps, you have to make sure that they are up-to-date.  For solving this issue, Ubuntu features a great method - PPA.

What PPA is

A PPA (Personal Package Archive) is a special software repository that allows the APT (Advanced Packaging Tool) to automatically grab a specific software from that repository.  PPA offers an easier method of getting the latest software without any delay. All you have to do is command “apt” to upgrade your system. Most of the world's PPAs are hosted on Launchpad. However, there are a number of private PPAs hosted on different sites.

How to add a PPA

At first, find out what PPA you need to add. For adding a PPA, it's the easiest to use the terminal command. The command uses the following structure -

sudo add-apt-repository ppa:abc/xyz

Let's have a quick breakdown of each part of the command.

For this example, we'll be using the uGet official PPA.

Run the following command -

sudo add-apt-repository ppa:plushuang-tw/uget-stable

Installing the software

Now, your system is ready to get your target software. However, make sure that your “apt” repository database is up-to-date with the latest addition of the above PPA.

sudo apt update

Install uGet -

sudo apt install uget

Voila! uGet is installed!

Removing the PPA

If you don't need a PPA anymore, it's best to remove it from your system.

The best way of removing a PPA is through the command.

Run the following command -

sudo add-apt-repository --remove ppa:plushuang-tw/uget-stable

Don't forget to update your “apt” database cache -

sudo apt update

You can also remove the PPA using the GUI method.

From the menu, search for “software”.

Open Software & Updates.

Open the “Other Software” tab.

Here, you'll find out all the PPAs you added in your system over the lifetime.

Select the unwanted PPA(s) and hit “Remove”.

When closing, make sure that you reload the software repository database of “apt”.

Voila! PPA is removed!

Enjoy!

Linux'ta Fare Tıklamalarını ve Tuş Vuruşlarını Teşvik Etmek İçin Xdotool Nasıl Kullanılır?
Xdotool, fare tıklamalarını ve tuş vuruşlarını simüle etmek için ücretsiz ve açık kaynaklı bir komut satırı aracıdır. Bu makale, klavye ve fare girişl...
Linux için En İyi 5 Ergonomik Bilgisayar Faresi Ürünleri
Uzun süreli bilgisayar kullanımı bileğinizde veya parmaklarınızda ağrıya neden olur mu?? Sert eklemlerden muzdarip misiniz ve sürekli ellerinizi sıkma...
How to Change Mouse and Touchpad Settings Using Xinput in Linux
Most Linux distributions ship with “libinput” library by default to handle input events on a system. It can process input events on both Wayland and X...