Debian packages manager is dpkg, dpkg is the command we use to install, remove and manage Debian packages. Note: To know how dpkg files are created you can check this article on the topic. To do a simple full list of all packages installed in our Debian 11 system using dpkg , run:. As you see, 4 columns display the program names, versions, architecture support, and description.
A dpkg-query -l command will throw exactly the same output, two ways to get the same information on packages:. This command lists all files belonging to nano and its paths. We can have this information before installing the package, get a. To create a list of installed packages run:. Although finding information on packages with dpkg has advantages over apt, apt is better since it can resolve dependencies when installing software. This will list all the packages that have been installed using apt.
It will also list the packages that were installed as a dependency. Since the list of installed packages is a huge one, it would be a better idea to use grep and filter the output for a certain package. Note that the above method also lists the applications installed with. If you have read my apt vs apt-get comparison article, you probably already know that both apt and apt-get basically use dpkg.
This means you can use dpkg command to list all the installed packages in Debian. What about Snap and Flatpak applications? 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. Google Green Messages. Use Your iPhone as a Webcam. Hide Private Photos on iPhone. All Microsoft's PowerToys for Windows. Take Screenshot by Tapping Back of iPhone. Windows 11 Default Browser. Browse All Windows Articles.
Windows 10 Annual Updates. OneDrive Windows 7 and 8. Copy and Paste Between Android and Windows. Protect Windows 10 From Internet Explorer. Mozilla Fights Double Standard. Connect to a Hidden Wi-Fi Network. Change the Size of the Touch Keyboard. Reader Favorites Take Screenshot on Windows. Mount an ISO image in Windows. Boot Into Safe Mode. Where to Download Windows Legally.
Find Your Lost Product Keys.
0コメント