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

Notices


Reply
  Search this Thread
Old 12-27-2014, 06:43 AM   #1
dsbisht
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
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,905

Rep: Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921
try: apt-get remove <package-name>
 
Old 12-27-2014, 07:09 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,758

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
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
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 582

Rep: Reputation: 135Reputation: 135
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
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 284Reputation: 284Reputation: 284
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
Member
 
Registered: May 2007
Posts: 999

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

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

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525
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
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.3 and 18.2 at present.
Posts: 1,300

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

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

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

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:25 PM.

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