97

I have been installing a couple of softwares and I noticed that when you are to install a software from a PPA, the command is usually preceeded with

sudo apt-get install software-properties-common

I look for why installing this package but I could not get a reason.

0

1 Answer 1

97

As described in apt show software-properties-common

This software provides an abstraction of the used apt repositories. It allows you to easily manage your distribution and independent software vendor software sources.

In practice that means it provides some useful scripts for adding and removing PPAs:

$ dpkg -L software-properties-common | grep 'bin/'
/usr/bin/add-apt-repository
/usr/bin/apt-add-repository

plus the DBUS backends to do the same via the Software and Updates GUI.

Without it, you would need to add and remove repositories (such as PPAs) manually by editing /etc/apt/sources.list and/or any subsidiary files in /etc/apt/sources.list.d

5
  • how to launch this via graphical interface from terminal? Jun 14, 2018 at 2:05
  • 9
    Linux packages names always reflect so intuitively their purpose. The package abstracts APT repositories and it does not even have "repository" in its name. Dec 9, 2018 at 12:21
  • 8
    apt-show packagename appears to be apt show packagename (no hyphen) for Ubuntu 16.04 and 18.04. Feb 7, 2019 at 18:24
  • @steeldriver I just tried to install apt-show, please fix this (to apt show) as I am not allowed to change just one character.
    – user2121
    Nov 25, 2023 at 11:20
  • @user2121 done - thanks for bringing this to my attention Nov 25, 2023 at 13:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .