Size: 1564
Comment:
|
← Revision 54 as of 2019-02-24 16:24:17 ⇥
Size: 998
Comment: Redirect to AptCLI#List_installed_packages
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
language en ||<tablewidth="100%">~-Translation(s): -~ ||<style="TEXT-ALIGN: right"> (!) ["/Talk"] || |
## page was renamed from Packaging/Listing Installed Packages ## page was renamed from ListInstalledPackages #language en ||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/ListInstalledPackages|Français]] - [[it/ListInstalledPackages|Italiano]] - [[ja/ListInstalledPackages|日本語(Nihongo)]]-~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]|| ---- |
Line 5: | Line 8: |
This page is about the ways to list the installed packages in a Debian system and how to create a file with this list. This file can be uploaded to the web (i.e. from other computer with Internet connection) to download new packages. | See [[AptCLI#List_installed_packages]] |
Line 7: | Line 10: |
List all packages installed: | == See also == |
Line 9: | Line 12: |
* DebPkg:dpkg --list To check the status of all packages on your system: * dpkg -l | more This will show all packages (1 line each) that are in various stages of install (this includes packages that were removed but not purged). To show only the installed: * dpkg -l | DebPkg:grep '^i' You can also use: * DebPkg:apt-cache pkgnames You can if you are using Debian Linux use dpkg command to list installed software: * dpkg --get-selections And store the list installed software to a file called /backup/installed-software.log $ dpkg --get-selections [">"] /backup/installed-software.log You can also find package information in (you can use DebPkg:mc to browse these): * /var/lib/apt/lists/* * /var/lib/dpkg/available == Restore installed software == After re-installing base system you can immediately re-install all software. All you have to do is type following two commands: * dpkg --set-selections < /backup/installed-software.log Now your list is imported use dselect, ["Synaptic"] or other PackageManagementtools to install the package : * dselect Select ‘i‘ for install the software |
* [[DebianMan:1/dpkg-query|dpkg-query(1)]] manpage * DebianPkg:debfoster - If dependency changes, debfoster ask if you want to remove the old package. * [[http://www.howtogeek.com/howto/linux/show-the-list-of-installed-packages-on-ubuntu-or-debian/|Show the List of Installed Packages on Debian]]. * [[http://linux.byexamples.com/archives/161/how-to-check-what-have-installed-in-debianubuntu/|Linux by examples]] * AptZip |
See AptCLI#List_installed_packages
See also
dpkg-query(1) manpage
debfoster - If dependency changes, debfoster ask if you want to remove the old package.
?AptZip