+4 votes
68 views
See Linux Installed Packages

in Linux/Unix by (552k points)
reopened | 68 views

1 Answer

+5 votes
Best answer

1 View Linux installed packages using APT
2 View Linux installed packages using SNAP
3 View Linux installed packages using DNF
4 View Linux Installed Packages Using Flatpak

In Linux operating systems it is normal that one of the daily tasks we perform is to install packages or applications, in Linux a package is called a file where one or more programs are housed and additional details are added about its installation and management, with the packages it will be possible to install, update and remove software in the version we use of Linux..

 

package managers
Based on the system used, there are different package managers such as:

 

  • apt or apt-get on Debian and Ubuntu
  • Pacman on Arch Linux
  • Yum on Centos and Fedora
  • Zypper on opensuse

 

 

 

For administrative tasks, it may be necessary to see the various packages that we have installed in Linux and TechnoWikis will explain the method to gain access to this information.

 

To stay up to date, remember to subscribe to our YouTube channel!
SUBSCRIBE ON YOUTUBE

 

 


1 View Linux installed packages using APT


The APT command (Advanced Package Tool) has been developed as a package management system for Debian-based systems such as Ubuntu, Linux Mint, Debian and some others, this apt command allows us to install, update and remove software packages from a simple but effective way.

 

APT makes use of configuration files and software repositories which allow downloading the packages and dependencies from the Internet and then proceeding with their respective local installation. Additionally, with apt it will be possible to search and have access to detailed information about the associated packages that are available on the repositories..

 

 

Step 1

We open the terminal and we can list the installed packages with the command:
 apt list --installed 
image

 

Step 2

We will see details such as:

 

  • package name
  • system version
  • package version
  • Current state of the package

 

Step 3

It is possible to see fewer entries, just the number of packages installed, by running the following:
 apt list --installed | toilet -l 
image

 

Step 4

It is possible to view specific packages:
 apt list --installed | grep(name) 
image

 

step 5

We can see details of a running package. We find all the details of the package such as its general description and the various parameters of it.
 apt show (package) 
image

 


2 View Linux installed packages using SNAP


The Snap manager is a software packaging system created by Canonical, and thanks to this it is possible to package applications in a single file and there all the necessary dependencies will be available so that said package can be used in Linux distributions compatible with Snaps.

 

Snap makes use of a sandbox security system which allows applications to be run in isolated environments to provide greater security since everything runs in a protected environment, preventing access to other files or resources on the system without the necessary permissions to it.

 

Snaps are compatible with distributions such as Ubuntu, Debian, Arch Linux, Fedora, openSUSE, CentOS..

 

Step 1

We open the terminal and list the installed packages:
 snap list 
image

 

Step 2

We see details like:

 

  • Snap Name
  • Version and revision
  • trace route
  • snap editor

 

Step 3

We can see details of a package by running:
 snap info (name) 
We found all the details of said snap.

 

 

 

image

 

 


3 View Linux installed packages using DNF


The DNF manager (Dandified Yum) is a flexible software package manager which is used in Linux distributions based on RPM, thanks to this it will be possible to install, update and remove software, with DNF it will be possible to manage software dependencies, with When installing a package, DNF will automatically install all the packages required for its use. The DNF manager makes use of software repositories that allow searching for and downloading software packages and can be configured to use additional repositories.

 

Step 1

For systems based on RedHat we open the terminal and execute:
 dnf list installed 
image

 

Step 2

To see the number of packages we execute:
 dnf list installed | toilet -l 
image

 

Step 3

To see a specific package we execute:
 dnf list installed | grep(name) 
image

 

Step 4

It will be possible to access information about a package:
 dnf info (name) 
image

 

 

step 5

There we see details such as:

 

  • Name
  • Version and release date
  • used architecture
  • package weight
  • source repository
  • Package Description
  • link url etc.

 


4 View Linux Installed Packages Using Flatpak


This is a manager that is compatible with most Linux distributions and has been created as a software packaging technology with which developers can build and ship Linux applications under a distribution-independent format model, thus the packages used by Flatpak can be run on multiple Linux distributions without having to compile it for the specific distribution.

 

Step 1

Flatpak makes use of a container system that allows applications to run in an isolated environment for security reasons and to see the packages with Flatpak we open the terminal and list the installed packages:
 flatpak list 
image

 

Step 2

To see only the application run:
 flatpak list-app 
image

 

Step 3

It is possible to view details of an application:
 flatpak info ID 
We see every specific detail of the application installed through Flatpak.

 

 

image

 

TechnoWikis has explained the various options to see the packages installed in Linux and thus be able to know if they are all necessary for our use and thus have the possibility of optimizing hard disk space by uninstalling apps that are not used or simply not they are constantly required when using our Linux system.

 


by (3.5m points)
edited

Related questions

+3 votes
1 answer
asked Nov 2, 2019 in Linux / Unix by backtothefuture (552k points) | 265 views
+5 votes
1 answer
asked Sep 18, 2023 in Linux/Unix by backtothefuture (552k points) | 60 views
+5 votes
1 answer
+5 votes
1 answer
asked Nov 2, 2019 in Linux / Unix by backtothefuture (552k points) | 269 views
+5 votes
1 answer
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users