[SOLVED] How to uninstall something in Linux (Ubuntu)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to Linux and using Ubuntu 14.04
I have install few stuffs in my machine, as it comes with the instruction ('./Configure' then 'make' and then 'make install'), so no problem in doing that.
If I want to uninstall some specific program, how to do that ? I have no idea to find the location where it is installed
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Welcome to LQ.
When you have installed with $ ./configure && make && sudo make install,
.. then the uninstall command can often be : sudo make uninstall ,
.. i.e. in the same location where you did $ sudo make install
Uninstalling program isn't a good idea for newbie, apt-get will try to remove program with it's dependencies, even if these dependencies requires for other programs.
If you want to find where you program was installed by "make install", open configure script with text editor and search there for installation directory. And check MAKEFILE as well.
As has been said, you can usually do "make uninstall" — provided you've kept the source code; otherwise you'll ave to download it again! If there isn't an uninstall option in the make file, you can do it manually. Look at the install section of the make file and you can see what files were installed and where they went.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
Why don't you just go to the Ubuntu software centre, pick the program and it'll install with all the dependancies.
You can also use the Synaptic package manager from the Admin menu. Programs uninstall from here as well.
I don't understand why Newbies always think you've got to use the command line in Linux to do installs and deinstalls. (or do I? Hmmm...) Using the GUI is so much easier at the start if you're comming from Windows.
Once you've become familiar with the Linux concepts; distributions, repositories, dependancies, etc, THEN you can graduate to using the command line from a terminal.
It's bit late now but you can use 'checkinstall' instead of 'make install' if you have that package installed and the source file is compatable, it attempts to make the package traceable by your package manager.
Personaly I prefer the easy life and install via the package manager even if it means adding extra repos.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.