File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes Linux Command to display installed programs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Linux Command to display installed programs" Watch "Linux Command to display installed programs" New topic

Linux Command to display installed programs

Rajesh Datla

Joined: Mar 28, 2007
Posts: 7
Hi All,
Is there a command in linux to display all installed programs on a machine?.

Rajesh D
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

There are a lot of ways to 'install' a program on a machine so, no, there is no one command to show them all. Also, any file with executable permissions could be considered a program.

You can see all the programss managed by the RedHat Package Manager with the following command (as root):

All Unix/Windows systems use the PATH environment variable to find executables fired from the command line.


will show you the list of directories that your installation of Linux will use to find executables. Looking in those directories will show you the executables that are available to you from the command line.

If you're running a desktop manager like Gnome or KDE, they will have their own mechanisms for finding programs.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

List all programs in the path:

(about 4500 on my machine).
I agree. Here's the link:
subject: Linux Command to display installed programs
It's not a secret anymore!