![]() ![]() ![]() var/lib/dpkg/status: status of installed (and available) packages. var/lib/dpkg/available: list of available packages from repositories. You can also find package information in the next directories (you can use mc or other FileManager to browse them): Or you can use dpkg to list the current package selections (the desired state of either installed or to be installed packages): dpkg -get-selectionsĪnd store the list of software to a file called /backup/package-selections dpkg -get-selections >/backup/package-selections You can filter with grep to get results for “i”. To show only installed packages: dpkg -l | grep '^.i' This will show all packages (one line each) that are in various stages of installation (including packages that were removed but not purged) and packages just available from a repository. To check the status of all packages on your system: dpkg-query -l '*' | less It is possible to add a search pattern to list packages: dpkg-query -l 'foo*' Show status of all packages on the system Package names only, one per line: dpkg-query -f '$\n' -W List packages using a search pattern With version and architecture information, and description, in a table: dpkg-query -l from other computer with Internet connection) to download new packages. This file can be uploaded to the web (i.e. This page is about the ways to list the installed packages in a Debian system and how to create a file with this list. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |