List. Installed. Packages - Debian Wiki. 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. Internet connection) to download new packages. List all installed packages. With version and architecture information, and description, in a table: dpkg- query - l. Debian Check If Program Installed In Your ComputerFind out if package is installed in Linux. Uninstall / Remove Any Installed Software; Debian / Ubuntu. how do I check this package is installed? Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. If you add the --install=no option to checkinstall, the program will generate a.deb package without installing it. Debian Wiki team, bugs and config available. Show the List of Installed Packages on Ubuntu or Debian. ABOUT; CONTACT; DISCUSSION. better known online as the How-To Geek. Go check your email!
Check if a program is installed Linux - Debian - dpkg. Installing packages using apt-get or dpkg command in Debian/ Ubuntu Operating Systems. Package names only, one per line: dpkg- query - f '${binary: Package}\n' - WList packages using a search pattern. It is possible to add a search pattern to list packages: dpkg- query - l 'foo*'Show status of all packages on the system. To check the status of all packages on your system: dpkg- query - l '*' | less. 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 show only installed packages: dpkg - l | grep '^. You can also use: apt- cache pkgnames. 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. And store the list of software to a file called /backup/package- selections dpkg - -get- selections > /backup/package- selections. You can also find package information in the next directories (you can use mc or other File. Manager to browse them): /var/lib/apt/lists/*/var/lib/dpkg/available: list of available packages from repositories. This file contains information about whether a package is marked for removal or not, whether it is installed or not, etc. A package marked reinst- required is broken and requires reinstallation. Restore installed software. After re- installing base system you can immediately re- install all software. You need dselect: apt- get install dselect. Then you have to type following command: dpkg - -set- selections < /backup/package- selections. Now that your list is imported use apt- get, Synaptic or other Package. Management tools. To install the packages: apt- get dselect- upgrade. All this with a single command: aptitude install $(cat /backup/package- selections | awk '{print $1}')See also. Category. Package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2016
Categories |