Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 12-27-2014, 06:43 AM   #1
LQ Newbie
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
How to uninstall something in Linux (Ubuntu)

Hi all,

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

Thanks and Regrads
Old 12-27-2014, 06:55 AM   #2
LQ Guru
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,505

Rep: Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434
try: apt-get remove <package-name>
Old 12-27-2014, 07:09 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
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
Old 12-27-2014, 07:20 AM   #4
Registered: Apr 2012
Distribution: Gentoo
Posts: 516

Rep: Reputation: 120Reputation: 120
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.
Old 12-27-2014, 07:31 AM   #5
Senior Member
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 283Reputation: 283Reputation: 283
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).
1 members found this post helpful.
Old 12-27-2014, 08:51 PM   #6
Fred Caro
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
Why install from a source file in the first place?

Old 12-28-2014, 11:45 AM   #7
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,263

Rep: Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246
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.
Old 12-28-2014, 08:36 PM   #8
Senior Member
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.3 and 18 at present.
Posts: 1,192

Rep: Reputation: 204Reputation: 204Reputation: 204
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.

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

Play Bonny!

Old 12-28-2014, 08:50 PM   #9
Fred Caro
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
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.

Old 12-29-2014, 10:43 PM   #10
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 45
Originally Posted by Fred Caro View Post
Why install from a source file in the first place?

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
uninstall Linux UBUNTU without boot CD TeddieLN Linux - Newbie 4 08-20-2013 04:27 PM
COMPLETE linux idiot wants to try and uninstall ubuntu in favour of xp vi08mbelc Linux - Newbie 17 08-06-2009 08:06 PM
Uninstall ubuntu linux sraj Linux - Newbie 1 12-30-2007 06:14 AM

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration