Indonesia Website Awards
Indonesia Website Awards

For a system administrator like me or DevOps and also a Cloud Engineer, where almost every job deals with the CLI (command line interface). Often we install and uninstall an application. To the extent that we don’t even memorize what applications are already installed on our server. For that I want to share information about how to display a list of installed applications on linux. You can imagine, if you have to remember or record every application on the server, right? : lol: That’s why here’s a simple way to display it:

 

For RHEL (Red Hat Enterprise Linux), Fedora, CentOS and such distros

We can use

rpm
rpm (RedHat Package Manager) to display the list, just run the following command:

rpm -qa
rpm -qa

you can combine it with the

grep
grep command to specify a search, for example:

rpm -qa | grep docker
rpm -qa | grep docker

later it will look like this:

display a list of installed applications on linux

besides using the

rpm
rpm command we can also use the
yum
yum command, just run the following command:

yum list installed
yum list installed

For Debian distributions, Ubuntu and such

we can use

dpkg
dpkg to display the list, just run the following command :

dpkg -l
dpkg -l or
dpkg-query -l
dpkg-query -l

besides that, for ubuntu we can also display it with the

apt
apt command, just run the following command:

apt list --installed
apt list --installed

 

Well, that’s the information I can share about how to display a list of installed applications on linux. Hopefully this information can be useful, Thank you 😀

 

Also Read :

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *