LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2002, 04:18 PM   #1
JoeLinux
Member
 
Registered: Dec 2001
Location: Marietta
Distribution: Slackware 8.0
Posts: 95

Rep: Reputation: 15
Angry Is there a good uninstall system when you install from source? My PATH is getting bad


Well, if there is one thing I always hated about Windows is that when I clicked "uninstall", I knew that it didnt totally uninstall the program. Every time there was a trace of it left over. So, I was so so pleased when I learned the "./configure --prefix=<location>" command. I could put my programs where I wanted, FULLY! So, I started to install things in /opt. Well, I installed nano in /opt/nano. Worked fine.

Then slowly the dependencies came. And after that, I got more programs, more WMs, and slowly my PATH/ld.so.conf were getting out of hand. I would forget to add stuff to the PATH, or if I wanted to move a program, annoyance soon followed.

Now, the easy way is to let the ./configure put the program where it wants, so that the executable is in /usr/local/bin, or /usr/bin, so that I don't need to change my PATH. Well...

WHAT IF I WANNA UNINSTALL IT? How am I supposed to know where the files are?

My question. Is there any command to uninstall a program to uninstall a package compiled from source. I know some programs offer a "make uninstall" in the source directory, but then I have to keep the source around, and that's annoying. Plus that's not a standard.

So, am I out of luck? Or can I uninstall stuff from source forever now with the help of you guys?

Thanks in advance.
 
Old 05-07-2002, 04:28 PM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Some packages let you "make uninstall", but the best way is to create a deb/rpm/tgz (or whatever your native package format is) in the first place.
 
Old 05-07-2002, 05:49 PM   #3
JoeLinux
Member
 
Registered: Dec 2001
Location: Marietta
Distribution: Slackware 8.0
Posts: 95

Original Poster
Rep: Reputation: 15
Question With source?

How am I supposed to make a package if it's source? Should I just

A.) Install it from source with a prefix
B.) Copy all the files it makes to a .tgz

And I have my package?

Or what? I use Slack 8
 
Old 05-08-2002, 01:49 AM   #4
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
http://www.slackware.org/book/index....rce=x4132.html
 
  


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 after source install... SpiderIRE Linux - Software 1 10-01-2005 06:02 AM
Is there a way to change source install path on RHEL? guest Linux - Newbie 1 04-11-2005 05:01 PM
Install/Uninstall LimeWire...PATH...JRE joe6pack Linux - Software 7 03-07-2005 06:30 PM
Kernel-Source rpm Install/Uninstall error in Fedora i286 Linux - General 1 12-29-2003 11:31 AM
Mandrake quarks - what's good/bad - things to know before install? LooseCanon Mandriva 25 09-20-2003 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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