LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to uninstall something in Linux (Ubuntu) (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-uninstall-something-in-linux-ubuntu-4175529318/)

dsbisht 12-27-2014 05:43 AM

How to uninstall something in Linux (Ubuntu)
 
Hi all,

I am new to Linux :newbie: 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 :banghead: ? I have no idea :( :( to find the location where it is installed :confused:

Thanks and Regrads

pan64 12-27-2014 05:55 AM

try: apt-get remove <package-name>

knudfl 12-27-2014 06:09 AM

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

Teufel 12-27-2014 06:20 AM

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.

Head_on_a_Stick 12-27-2014 06:31 AM

As you have found out, it can be tricky to remove programs installed from source using the method you have described.

Generally speaking, it is better to always use your distribution's package manager for installing programs as it makes updates & removal much easier.

This is especially true for the Ubunutu family as almost all software is available in PPAs, thus negating the need to compile from source.

This way, all the software installed is easily viewable via the standard "software centre" (or whatever it's called).

Fred Caro 12-27-2014 07:51 PM

Why install from a source file in the first place?

Fred.

DavidMcCann 12-28-2014 10:45 AM

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.

Soadyheid 12-28-2014 07:36 PM

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...) :scratch: 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.

Of course... that's just my opinion. :)

Play Bonny!

:hattip:

Fred Caro 12-28-2014 07:50 PM

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.

Fred.

kindofabuzz 12-29-2014 09:43 PM

Quote:

Originally Posted by Fred Caro (Post 5291343)
Why install from a source file in the first place?

Fred.

Because not every program is in the repos and/or has a .deb.


All times are GMT -5. The time now is 09:34 AM.