Debian list of installed packages apt




















Yes, add me to your new blog post notifications list. Terms of Service and other policies. Managed Solutions. SSL by brand. To get a clean output suitable for use in scripts and output transfer, you can use string manipulation tools like sed or awk. For example, to print only the package names:. You can also count the total number of packages.

All you have to do is pipe the output of the aforementioned command with wc. Word count, abbreviated wc, is a Linux utility that counts the number of characters, words, or lines present in a text file. Users running older versions of Ubuntu can use the dpkg-query command to get a list of installed packages. How to list them because they are not accessible with apt and dpkg?

To show all the Snap packages installed on your system, use this command:. To list all the Flatpak packages installed on your system, use this:. To list packages using apt command:. To list packages using dpkg command:. So far you saw the list of installed packages in alphabetical order. What if you want to see the packages that have been installed recently? Thankfully, a Linux system keeps a log of everything that happens in your system.

You can refer to the logs to see the recently installed packages. There are a couple of ways to do this. This will list all the packages including the dependencies that were installed recently on your system along with the time of installation. You can also use the history of apt command. This will show only the programs that you installed using apt command. Sometimes, you just want to see that, right? The history log of apt is quite useful because it shows the time when the apt command was run, the user who ran the command and the packages that were installed by a command.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.

Linked Related Hot Network Questions.



0コメント

  • 1000 / 1000