LinuxQuestions.org
Register a domain and help support LQ
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-18-2011, 02:18 PM   #1
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
Removing software compiled from source


I just have a short simple question. I download yukon a opengl Video capture software and tried to install it and I got it installed but I can't get it to function right. So figured I would uninstall it and ran "make uninstall" in the source and it gave me an error that is has nothing to do.

So this is my questions
if I did

Code:
$whereis yukon
#rm -rf /etc/yukon /usr/bin/yukon (and the rest of the direcories listed)
Would that work fine? for removing it from my system.
 
Old 01-18-2011, 02:21 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
It depends on where it puts files. Some packages will put libraries in /lib, /usr/lib or similar locations and you wouldn't want to delete those directories as they have system libraries and those for other apps as well. Some packages may put things in /var and/or /etc for their configuration. There again you wouldn't want to delete /var or /etc.

If you look through what the install Makefile does you ought to be able to figure out if it is putting anything in unexpected locations. I would say so long as this wasn't a package that updated the kernel it should be safe to remove its files with the caveats above.
 
Old 01-18-2011, 02:39 PM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Original Poster
Rep: Reputation: 112Reputation: 112
well I went ahead and deleted it like that. I didn't put a lib in /usr/lib32 and /usr/lib but it was called yukon so I went ahead and removed them as well.

Thanks for the pst
 
Old 01-18-2011, 03:25 PM   #4
Debian_Rules
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Rep: Reputation: 1
If you still have the directory where you compiled the software from, you can run make uninstall and that should take care of it.
 
0 members found this post helpful.
Old 01-18-2011, 03:45 PM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Original Poster
Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by Debian_Rules View Post
If you still have the directory where you compiled the software from, you can run make uninstall and that should take care of it.
You didn't read the first post to well lol
 
Old 01-18-2011, 03:49 PM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
And if it doesnt support the make uninstall, then do it manually Do the make install and log the output to a file, then go through it and for every directory that was written to created, delete the associated files.

---------- Post added 01-18-11 at 09:50 PM ----------

I say it like that because thats what I do sometimes....
 
Old 01-18-2011, 03:57 PM   #7
Debian_Rules
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Rep: Reputation: 1
Quote:
Originally Posted by jmc1987 View Post
You didn't read the first post to well lol
You're right

I went by the title only and only skim the posts.

My apologies

PS: BTW, corp769 said something about logging its output to a file. His suggestion made me think of the Makefile. You can check the Makefile and it should have some reference where it is installing file(s) to. Just a suggestion.

Last edited by Debian_Rules; 01-18-2011 at 04:16 PM.
 
Old 01-18-2011, 04:25 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Not that it helps in this situation, but this is why one should never make install anything on a package based distro. Take the couple of extra steps and build the rpm or deb. While the first couple you build will be a PITA, you soon get the hang of it. It is much easier to build an rpm than it is to track down all the parts of a make install that does not have an uninstall file.
 
Old 01-18-2011, 04:38 PM   #9
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Original Poster
Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by lazlow View Post
Not that it helps in this situation, but this is why one should never make install anything on a package based distro. Take the couple of extra steps and build the rpm or deb. While the first couple you build will be a PITA, you soon get the hang of it. It is much easier to build an rpm than it is to track down all the parts of a make install that does not have an uninstall file.
Yes I totally agree. That has been on my todo list for over 2 years is to learn how to build debs and rpms. Of course there is the package management style where you install each source into its on prefix but thats gets messy lol.

Well I got it figued out though thanks everyone for psting
 
Old 01-19-2011, 10:52 AM   #10
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Yeah I need to relearn how to do that, it's been a while. Thanks for the incentive, that will be my project tonight after work
 
  


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 to know whether a software from source is compiled or not Tahir Saleh Linux - Newbie 9 03-01-2008 02:05 PM
Removing self-compiled software Raphael M Slackware 11 07-06-2004 03:17 AM
upgrading or removing compiled packages... MrCarl Linux - General 2 11-14-2003 12:08 PM
Removing apps compiled from gz.tar files in Debian eg kismet slewis1972 Linux - General 2 07-03-2003 02:44 PM
Uninstalling software thats been compiled from source burt Linux - Software 5 10-17-2002 04:18 PM


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

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