Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, Could you please let me know the command to list the installed applications and the corresponding install path for each application. I am expecting the output format to be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    1

    Command to list installed applications and the corresponding install path for each


    Hi,

    Could you please let me know the command to list the installed applications and the corresponding install path for each application.
    I am expecting the output format to be in this way:
    java /usr/
    apache /home/myapachedir

    Thanks in advance.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    that isn't usually how applications are installed in linux, usually the binaries go in /usr/bin and libraries in /usr/lib, etc, its not like in windows where you have specific directories for each application

    if you want to list packages installed, that would be distro specific, and would require us to know what distro you have to help

    debian-based would be dpkg -l
    redhat-based would be rpm -qa

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •