LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-22-2006, 11:58 AM   #1
izquierdista
Member
 
Registered: Mar 2005
Distribution: Ubuntu
Posts: 342

Rep: Reputation: 30
how to uninstall something compiled from source code


Hello, I have gotten the hang of installing files from source now in linux, the funny thing is that I have never had to uninstall anything that I have compiled from a source so that is why I am asking for some guidance.

maybe someone can start by telling me how to uninstall a driver that I compiled from a source the original format of the file came in a tar.bz2 format this is the name of the file: atmelwlandriver-3.4.1.1.tar.bz2/

I hope you can help me out.
 
Old 01-22-2006, 12:27 PM   #2
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
If you still have the configured source code directory, try make uninstall.
 
Old 01-22-2006, 12:41 PM   #3
izquierdista
Member
 
Registered: Mar 2005
Distribution: Ubuntu
Posts: 342

Original Poster
Rep: Reputation: 30
to run the "Make uninstall" code do I run the original source code packet and then run this code, in otherwords do I go through all the steps necessary to install the packet but instead of using the "make install" command I run "make uninstall"?
 
Old 01-22-2006, 01:01 PM   #4
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
If you still have the source code around that you installed from, cd into that directory and try make uninstall.

As long as make file is still present you should be ok.
N.B. Not all source code does the make uninstall.

If you deleted the source code directory you need untar the directory and do the configure exactly as orignally performed

do
Code:
configure; make uninstall
If you get 'no target uninstall' error, you'll just have to figure out what files get built and delete by hand.

If you look at the bottom of the screen for this forum you should see some links (similar threads) with hints on installing/uninstalling.

Have fun
 
Old 01-22-2006, 03:03 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Not that it will help you in this instance, but checkinstall is a nice little program that replaces the make install step when compiling from source. Checkinstall will make rpm (or Debian or Slackware) packages that you can then install, and uninstall, with the usual package managment tools.
 
  


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
How do I remove/uninstall compiled sofware? brynjarh Linux - Software 7 05-29-2009 03:18 AM
How do you uninstall compiled software packages? meh1 Linux - Newbie 3 02-11-2005 11:52 AM
uninstall apache 1.3 that was compiled from source? rgiggs Slackware 5 11-15-2004 04:48 AM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 12:03 PM
How to Uninstall Python2.3 wich was compiled frm source? Electronkz Linux - Software 1 04-27-2004 01:00 AM


All times are GMT -5. The time now is 11:18 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