Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Linux Command to display installed programs

 
Rajesh Datla
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is there a command in linux to display all installed programs on a machine?.

Regards
Rajesh D
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
List all programs in the path:

(about 4500 on my machine).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic