List installed packages in Ubuntu

All utilities, programs and other libraries in operating systems based on Linux are stored in packages. You are downloading a directory from the Internet in one of the available formats, and then add in local storage. Sometimes you may want to view a list of all present programs and components. The task is carried out by different methods, each of which will be most suitable for different users. Next, we will analyze each variant, taking the example of Ubuntu.

Viewing list of installed packages in Ubuntu

In Ubuntu there is and graphical interface, implemented by default in the Gnome shell, and there is the usual “Terminal”through which control of the entire system. Two of these components, you can view the list of added components. Choice of optimal method depends on the user.

Method 1: Terminal

First attention I would like to draw it to the console, because present in it standard tools allow you to use the full functionality to the maximum. As for displaying a list of all the objects is easy enough:

  • Open the menu and run “Terminal”. This is done also by holding the hot key Ctrl + Alt + T.
  • Use the standard dpkg with the argument -lto display all packages.
  • Using the mouse wheel to scroll through the list, looking through all found files and libraries.
  • Add to dpkg-l another team to search for a specific value in the table. Looks line like this: dpkg-l | grep java, where java is the name required to locate the package.
  • Found matching results will be highlighted in red.
  • Use dpkg-L apache2to get information about all the files installed via this package (apache2 — package name to search for).
  • Displays a list of all files with their location in the system.
  • If you want to know what package adds a specific file, you should type dpkg -S /etc/host.confwhere /etc/host.conf — file itself.
  • Unfortunately, not everyone can use the console, and it’s not always necessary. That is why you should give an alternative display option list present in the package system.

    Method 2: Graphical interface

    Of course, the GUI in Ubuntu does not allow to fully carry out the same operations that are available in the console, but the visualization of the buttons and tools greatly simplifies the task especially for inexperienced users. First advise to contact the menu. There are several tabs, and sorting to display all programs or only popular. Search the package can be made via the corresponding line.

    Application Manager

    “Application Manager” will allow more detailed study of the question. In addition, this tool is installed by default and provides enough functionality. If for some reason the”application Manager” is missing in your Ubuntu, check out our other articles by clicking on the following link, and we go to search packages.

    See also: Installing the Manager application in Ubuntu

  • Open the menu and launch the required tool by clicking on its icon.
  • Go to the tab “Installed”to weed out the software, which is still not available on the computer.
  • Here you can see the name, brief description, size and a button that allows to carry out quick removal.
  • Click on the program name to go to its page Manager. Here the familiarity with the capabilities of the software, run it and uninstall.
  • As you can see, working in “app Manager” is quite simple, but the functionality of this tool is still limited, so come to the aid of more advanced option.

    Synaptic package Manager

    Extra Synaptic package Manager will allow you to obtain detailed information about all added programs and components. First, still have to use the console:

  • Launch the Terminal and enter the command sudo apt-get synaptic to install Synaptic from the official repository.
  • Enter your password for root access.
  • Confirm adding new files.
  • Upon completion of the installation run the tool using the command sudo synaptic.
  • The interface is divided into several panes with different sections and filters. On the left, choose the appropriate category, and on the right in the table, see all installed packages and detailed information about each of them.
  • There is a search feature to immediately find the required data.
  • Neither one of these methods you will not be able to locate the package during installation, which caused some errors, so watch out for the appearing notifications and pop-up Windows while unpacking. If all attempts ended in failure, then the required package is not present in the system or has a different name. Verify the name that is listed on the official website and try to reinstall the program.

    Source: lumpics.ru

    (Visited 38 times, 1 visits today)