LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-08-2004, 05:34 AM   #1
AgentDukey
Member
 
Registered: Oct 2004
Posts: 33

Rep: Reputation: 15
install progs to custom folders/uninstall them


well yeah, as then topic already says, i need an answer to this question
i think i've got it right that if i type ./configure --prefix=$HOME/progs/licq then my program(in this case, licq) would be installed in /home/dukey/progs/licq, right? ok, if this is the stuff, then what about uninstalling progs? because i downloaded the newest version of xmms and it seems to be already installed. so, do i uninstall it with "make uninstall"? and when i do this, do i have to install the new xmms in some shared folder or can i safely install it in my home directory?
 
Old 11-08-2004, 06:36 AM   #2
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
--prefix

(1)
-- prefix usualy defines a install basedir.
If you define prefix as /home/me/progs make install will install the
- binaries in /home/me/progs/bin
- libraries in /home/me/progs/lib
- manpages in /home/me/progs/share/man
- config in /home/me/progs/etc (not allways though)
- ...(you get the pucture)

(2)
not all tarballs implement the make uninstall option correctly,
There are rpogramms who monitor the make install step.
Otherwise I have read that an "make -n install" gives you a list with all file opperation a make install would do.

(3)
If your PATH variable is set that your /home/me/progs/bin dir is before other dirs ( /bin, /usr/bin) then it should work...
 
Old 11-08-2004, 07:28 AM   #3
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
If you ./configure --prefix=$HOME/progs/licq, then all licq files are under this prefix. So provided ONLY licq files are there, uninstalling licq is as easy as:
rm -rf $HOME/progs/licq

That's actually roughly the way I handle all programs I install/uninstall. I suggest you take a look at the GoboLinux distribution; it may give you ideas; or you may even use it

Yves.
 
Old 11-08-2004, 07:31 AM   #4
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Rep: Reputation: 30
As for uninstalling you can use Checkinstall - it enables you to install any new software as a slackware package and makes it easily uninstallable using removepkg. Once you have checkinstall on your system, all you have to do is type "checkinstall" instead of the usual "make install" after compiling. This is useful since not all makefiles have uninstallation routines written in and it can be a pain to hunt around for installed bits when you want to get rid of a program.
Cheers!
-geomatt
 
  


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
"Folders with custom images" possible in KDE? SuperJar Linux - Software 2 11-30-2005 07:22 PM
custom install cd base-config custom mithereal Debian 6 09-11-2005 03:48 PM
How do I Install this progs....? FireInTheDark Linux - Newbie 3 11-28-2004 09:22 AM
install progs. on Mandrake 10 groochy Linux - Software 1 06-29-2004 01:28 PM
Uninstall custom kernel? Pathian Linux - General 2 12-23-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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