LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 05: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, 05:55 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
try: apt-get remove <package-name>
 
Old 12-27-2014, 06:09 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 06:20 AM   #4
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
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, 06:31 AM   #5
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
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, 07:51 PM   #6
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

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

Fred.
 
Old 12-28-2014, 10:45 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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, 07:36 PM   #8
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
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, 07:50 PM   #9
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
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, 09: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



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 03:27 PM
COMPLETE linux idiot wants to try and uninstall ubuntu in favour of xp vi08mbelc Linux - Newbie 17 08-06-2009 07:06 PM
Uninstall ubuntu linux sraj Linux - Newbie 1 12-30-2007 05:14 AM

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

All times are GMT -5. The time now is 10:09 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
Open Source Consulting | Domain Registration