wood burning stoves 2.0*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Linux Command to display installed programs" Watch "Linux Command to display installed programs" New topic
Author

Linux Command to display installed programs

Rajesh Datla
Greenhorn

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

Regards
Rajesh D
Ben Souther
Sheriff

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.

Typing:

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).


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Linux Command to display installed programs
 
Similar Threads
gcc on linux
Error when I install weblogic in linux
finding all installed program in windows using java swing?
I can't run my first program on command line
Unable to find mojo 'validate'