Ubuntu or Debian GNU/Linux systems are popular operating systems that come with a lot of software installed by default. This includes programs like Firefox, LibreOffice, and Thunderbird. However, there are also programs that you may not have installed and you may need to install them in order to use the system. Here is a list of the installed packages on Ubuntu or Debian GNU/Linux systems: Firefox: Mozilla Firefox is a web browser that is used to browse the internet and view web pages. It has a user-friendly interface and can be used on both desktop and laptop computers. LibreOffice: LibreOffice is an office suite that includes word processing, spreadsheet, presentation, database management, and more. It can be used on both desktop and laptop computers. Thunderbird: Thunderbird is an email client that can be used to send messages, view email messages, or read email messages. It has a user-friendly interface and can be used on both desktop and laptop computers.


The command we need to use is dpkg –get-selections, which will give us a list of all the currently installed packages.

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:

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:

Now I can take a look at the gd.ini file and change some settings around…