You may encounter an error code indicating that the dpkg-get-selections installed-apps.txt command could not be found. There are several ways to solve this problem, so we’ll talk about them shortly.
Approved: Fortect
To specify the type of software package installed on your computer that you can use next command:
sudo slant list - installed
How to list all installed packages in Apt?
In this example, we are using apt in conjunction with the list command, providing the –installed option to help you list installed packages. We can also include installed packages simply by using the wc request. In this example, we will indicate the number of packages attached using the dpkg command.
The team’s efforts are closely related to the following: depending on installed packages:
write ...acl / xenial, now 2.2.52-3 amd64 [installed]adduser / xenial, xenial, now 3.113 + nmu3ubuntu4 all [installed]apache2 / xenial-updates, xenial-security, now 2.4.18-2ubuntu3.1 amd64 [installed]apache2-bin / xenial-updates, xenial-security, now 2.4.18-2ubuntu3.1 amd64 [installed, automatically]apache2-data / xenial-updates, xenial-updates, xenial-security, xenial-security, now 2.4.18-2ubuntu3.1 all [installed, automatically]apache2-doc / xenial-updates, xenial-updates, xenial-security, xenial-security, now mostly 2.4.18-2ubuntu3.1 [installed]apache2-utils / xenial-updates, xenial-security, now 2.4.18-2ubuntu3.1 amd64 [installed]apparmor / xenial-updates, now 2.10.95-0ubuntu2.5 amd64 [installed, automatically]apt / xenial-updates, now 1.2.19 amd64 [installed]apt-utils / xenial-updates, now 1.2.19 amd64 [installed]...
To doTo keep the output easy to read, all clients can use the less
program.
How to get a list of installed packages in dpkg?
A sane dpkg-query expert will tell you more, but you can always try dpkg-query –list, otherwise dpkg-query –show. You said you were looking next to your home folder, but with our own “~” you clearly mean your own home folder. The root directory will be /Package.list, pro – / Package.list. Register in your home folder.
id sudo apt --installed | smaller
You can try to get a specific package by getting the output The grep
program.
sudo apt list --built | grep -i Apache
Output like the above command lists all packages containing Apache
in specific names.
apache2 / xenial-updates, xenial-security, now 2.4.18-2ubuntu3.1 amd64 [installed]apache2-bin / xenial-updates, xenial-security, now 2.4.18-2ubuntu3.1 amd64 [installed, automatically]apache2-data / xenial-updates, xenial-updates, xenial-security, xenial-security, now 2.4.18-2ubuntu3.1 individually [installed, automatically]apache2-doc / xenial-updates, xenial-updates, xenial-security, xenial-security, now 2.4.18-2ubuntu3.1 all [installed]apache2-utils / xenial-updates, xenial-security, now 2.4.18-2ubuntu3.1 amd64 [installed]libapache2-mod-php / xenial, xenial, now 1: 7.0 + 35ubuntu6 all [installed, automatically]libapache2-mod-php7.0 / xenial-updates, now 7.0.13-0ubuntu0.16.04.1 amd64 [installed, automatically]libapache2-mod-security2 / xenial, now 2.9.0-1 amd64 [installed]libapache2-modsecurity / xenial, xenial, now 2.9.0-1 all [installed]
Where can I find list of installed packages in Debian?
Sometimes you can save this list of installation packages somewhere if you don’t want to run sudo every time. Someone wrote a program that creates a list of all packages manually entered (by users, administrator / root, or both), given the package defined by the Debian package system.
Apt supports comparison models with namespackage and list parameters. (--installed)
packages ordered, upgradeable (--upgradeable)
Packages or all available package versions (--all-versions)
.
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
Another alternative that you can use to report installed software. The packages on a personal Ubuntu VPS are the dpkg
command.
sudo dpkg -l
The output generated by the team gives you know-how like current package name, version, architecture and short description As for the parcel. Of course, your organization can use the grep
program again to look for a specific package.
sudo dpkg -b | grep -i Apache
ii apache2 2.4.18-2ubuntu3.1 amd64 Apache HTTP Serverii apache2-bin 2.4.18-2ubuntu3.1 amd64 Apache HTTP Server (modules and most other binaries)ii apache2-data 2.4.18-2ubuntu3.1 fast Apache HTTP server (shared files)ii apache2-doc 2.4.18-2ubuntu3.1 full Apache HTTP server (local documentation)ii apache2-utils 2.4.18-2ubuntu3.1 amd64 Apache HTTP Server (utilities for website servers)rc apache2.2-common 2.2.22-6ubuntu5.1 amd64 Apache HTTP core filesii libapache2-mod-php 1: 7.0 + 35ubuntu6 any server side scripting language embedded in HTML (modl Apache 2) (standard)rc Libapache2-mod-php5 5.5.9 + dfsg-1ubuntu4.16 amd64 server side server side scripting language embedded in HTML (Apache 2 module)iilibapache2-mod-php7. 0 7.0.13-0ubuntu0.16.04.1 amd64 server-side scripting language integrated with HTML (Apache Module 2)ii libapache2-mod-security2 2.9.0-1 amd64 Hardening web applications for Apacheii libapache2-modsecurity 2.9.0-1 single dummy transition packageii libapr1: amd64 1.5.2-3 Apache amd64 portable runtime libraryii libaprutil1: amd64 1.5.4-1build1 amd64 Portable Apache Runtime Utilities Libraryii libaprutil1-dbd-sqlite3: amd64 1.5.4-1build1 amd64 Apache Portable Runtime Utility Library - SQLite3 driverii libaprutil1-ldap: amd64 1.5.4-1build1 Amd64 Apache Portable Runtime Utility Library - LDAP driver...
How to not show deinstall in dpkg?
There are two ways to hide it, as indicated by the dpkg –get-selections command. 1. Deselect packages to compress. Youyou can deselect packages that you can choose to remove. Thus, dpkg –get-selection does not display the “deinstall” entry.
You have successfully studied with this tutorial the easiest way to list installed packages in Ubuntu.
Speed up your computer's performance now with this simple download.