简体   繁体   中英

How can i find the location of installed software in 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

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.

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]

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM