![]() ![]() To search for any specific package, you can use grep along with the package listing.įor instance, if you want to list all the PHP installed packages, use the following command: sudo apt list –-installed | grep PHP While less does compress your output, it will still provide a list of the installed packages. An example of this is as shown below: sudo apt list –-installed | less The Linux command for this will be separated by a pipe (|). You can restrict the list installed output by using less. The complete installed packages list will most likely be very long, exceeding your scrollable screen. This will list all installed packages and their versions. The command to list installed packages will be: sudo apt list –-installed Following this version, the apt command can be used to list the installed packages. Ubuntu uses apt which is a command-line tool to help package management. Using APT to List Installed Packages on Ubuntu Create a List of Installed Packages on Ubuntu. ![]() ![]() Using dpkg-query to List Installed Packages on Ubuntu.Using APT to List Installed Packages on Ubuntu. ![]()
0 Comments
Leave a Reply. |