|
Search:
Advanced search
|
Browse by category:
|
Glossary | Contact Us |
Show the List of Installed Packages on Debian or Ubuntu |
|||||
The command we need to use is dpkg –get-selections, which will give us a list of all the currently installed packages. $ dpkg --get-selections The full list can be long and unwieldy, so it’s much easier to filter through grep to get results for the exact package you need. For instance, I wanted to see which php packages I had already installed through apt-get: dpkg --get-selections | grep phplibapache2-mod-php5 install For extra credit, you can find the locations of the files within a package from the list by using the dpkg -L command, such as: dpkg -L php5-gd Now I can take a look at the gd.ini file and change some settings around… |
|||||
| Others in this Category | |
| How to add an additional Super User in Debian or Ubuntu | |
Powered by
KBPublisher (Knowledge base software)