Download Software Debian Query All Installed Packages

How to Install Specific Version of Package using apt-get. To handle Debian-based system packages, we use the apt-get command. To list all the installed. How do I download a package from apt-get without installing it? This will download package to current working directory: aptitude download package_name. How can I install a R package on a offline Debian machine?

  1. Install Package From Source Debian
  2. Debian Software Packages
  3. Download Software Debian Query All Installed Packages
  4. Download Software Debian Query All Installed Packages Ubuntu
  5. Debian Install Packages
Active5 years, 5 months ago

I would like to go through a Linux system, and find out what packages have been installed, whether it was with a .deb file, or through the apt or dpkg interface. Is there a common location to find the names of the packages installed?

Canadian LukeCanadian Luke
18.5k33 gold badges97 silver badges153 bronze badges

3 Answers

I prefer to use dpkg -l because we are all lazy :)

lmedinaslmedinas

From Debian Wiki.

To list the installed packages you can use the following command:

List the installed packages using a search pattern:

To check the status of all packages on your system:

To list the installed packages you can also use the following command (as mentioned in other answers):

And store the list installed software to a file called /backup/installed-software.log:

It's interesting you look at man dpkg-query(1) for more information.

stderrstderr
9,1022 gold badges22 silver badges44 bronze badges

To view installed packages you can use dpkg -–get-selections. This will usually be a long list, so filters using grep might be used. dpkg -–get-selections | grep php

Matthew WilliamsMatthew Williams
4,0798 gold badges21 silver badges36 bronze badges

Install Package From Source Debian

Download software debian query all installed packages ubuntu

Not the answer you're looking for? Browse other questions tagged debianpackage-management or ask your own question.

Question: I would like to know how to install, uninstall, verify deb packages on Debian. Can you explain me with an example?

Answer: Use dpkg to install and remove a deb package as explained below.
On Debian, dpkg (Debian package system) allows you to install and remove the software packages. dpkg is the simplest way to install and uninstall a package.

Debian Software Packages

Download Software Debian Query All Installed Packages

Debian now supplies a tool named Apt (for “A Package Tool”) and aptitude to help the administrators to add or remove software more easily. Refer to our earlier Manage packages using apt-get for more details.

Installing a Deb Using dpkg -i

The following example installs the Debian package for tcl tool.

You can verify the installation of package using dpkg -l packagename as shown below.

The above command shows that tcl package is installed properly. ‘ii’ specifies status ‘installed ok installed’.

Uninstalling a Deb using dpkg -r

Debian install packages

Download Software Debian Query All Installed Packages

dpkg with -r option removes the installed package.

Now list the package and check the status.

Download Software Debian Query All Installed Packages Ubuntu

rc stands for ‘removed ok config-files’. The remove action didn’t purge the configuration files. The status of each installed package will be available in /var/lib/dpkg/status. Status of tcl8.4 package looks like,

The following command is used to purge the package completely.

So the package is completely removed, and the status in the /var/lib/dpkg/status is given below.

Debian Install Packages

> Add your comment

If you enjoyed this article, you might also like..