Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i find the location of installed software in linux?

Tags:

linux

Is there any command that I can use in the console to know the location of installed software in linux?

i have copied a xyz.bin from windows machine to linuxdesktop and installed it.

more over can you please tell me how to uninstall a software which is installed in linux

Thanks in advance

like image 744
user3427658 Avatar asked Oct 08 '14 07:10

user3427658


People also ask

Where is installed software stored in Linux?

The softwares are usually installed in bin folders, in /usr/bin, /home/user/bin and many other places, a nice starting point could be the find command to find the executable name, but it's usually not a single folder. The software could have components and dependencies in lib,bin and other folders.

How do you find the location of a software installed?

To find the installation folder of a program using a desktop shortcut: From your desktop, right-click on the program's shortcut. Click on the Properties, and the Properties window should now be displayed. Click on the Shortcut tab, and you will find the installation path in the Target field.


3 Answers

You may want to use

which [your_app_name]

to find the path where the binary is linked to.

Other application specific files may reside in

~/.[your_app_name]
like image 146
marc Avatar answered Nov 15 '22 05:11

marc


The way a package is installed/uninstalled on Linux depends on either the specific Linux distribution AND the specific package.

Since you have used a .bin file for installation, it is likely that you have an uninstall command specific for your program in the path.

If you provide more information about the package and the Linux distribution, we can give more help.

like image 23
Claudio Avatar answered Nov 15 '22 05:11

Claudio


It depends on the distribution you're using. Supposing you are using a debian\ubuntu distribution, you can uninstall it by the apt command, using sudo apt-get remove software_name sudo apt-get purge software_name

Of course you need to have root privileges.

The softwares are usually installed in bin folders, in /usr/bin, /home/user/bin and many other places, a nice starting point could be the find command to find the executable name, but it's usually not a single folder. The software could have components and dependencies in lib,bin and other folders.

like image 30
lateralus Avatar answered Nov 15 '22 07:11

lateralus