Apt information installed package




















In this tutorial, we will show you how to list all installed packages with apt on Ubuntu show all installed software on your VPS. First of all, connect to your Linux server via SSH. To list the installed software packages on your machine you can use the following command:. The output of the command will be very similar to the following one, depending on which packages are currently installed:.

The output from the above command will list all packages that include apache in their names. Apt supports patterns to match package names and options to list installed --installed packages, upgradeable --upgradeable packages or all available --all-versions package versions.

With such a huge number of available packages, it is tough to remember if a package is available to us or not. This is how the command looks. If you noticed, the apt list command lists all the available packages in our repository.

But what if you wish to only see the packages which are installed on your system? For this, we use the —installed option with our command. Now our command will return all the packages which are installed on our Ubuntu machine.

This is how to use this command on Ubuntu. You now know how to list installed packages on your system. But what is the need for going through a list of packages to find out whether a package is installed?

When this is followed by the name of a package, the output will tell you if the package is installed. Here is the syntax for the command. Linux based systems utilise packages for installing and running all kinds of applications and services.

To use apt command user must have sudo privileges. Always be careful while upgrading the whole system, as it might remove the installed packages and will install the updated packages.

Autoremove option in apt command is used to remove the packages that were installed automatically to satisfy the dependencies and now no longer needed. When a package is marked as hold then that package will not be upgraded till it is marked as unhold again. It will open sources.



0コメント

  • 1000 / 1000