LinuxQuestions.org
Help answer threads with 0 replies.
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 09-07-2004, 10:51 AM   #1
azul79
Member
 
Registered: Jul 2004
Location: Argentina
Distribution: slackware
Posts: 39

Rep: Reputation: 15
Question removing staff


hi!
being a linux newbie,,
i instaled libnet and rarp
and as we are not getting along i want to remove them..
i installed both of them using

./ configure
make
make install

how do i remove them?
i know you can install sth as a pck.. but as i didnt use installpkg i assume i didnt install them as pkg, isnt it?
if i am wrong and i did install the pck.. can sb tell me how do i remove the hole thing?

thanks!!
_______
 
Old 09-07-2004, 11:24 AM   #2
the who
Member
 
Registered: Feb 2004
Location: FRG, EU
Distribution: Slackware current
Posts: 51

Rep: Reputation: 15
Nope, make install doesn't install the compiled code as pkg, use checkinstall for that.

./configure
make
checkinstall



Packages installed with make install can sometimes be uninstalled with make uninstall or a similar command. Check the readme of the app .

Last edited by the who; 09-07-2004 at 11:25 AM.
 
Old 09-08-2004, 01:24 AM   #3
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
Get the same sources, compile them again with the same --prefix switch, and instead of "make install" do "make uninstall"

EDIT: Hmmm, this Checkinstall stuff is interesting.

What I was doing is pass a --prefix=/home/common/fakeroot (+/opt/kde for kde apps) to configure. Then, "make" "make install" Then go to /home/common/fakeroot arrange the files in correct folders, and "makepkg appname-ver-build" => home baked *.tgz

The problem with my "dumb" appriach - some progs ignore --prefix and drop some stuff in / folder anyway. "make install" as non-root helped (losta warnings about permissions came out.)

I sorta with there would be a --fake_system_root option on ALL ./configure. Sure would make things easier.

Last edited by suslik; 09-08-2004 at 01:38 AM.
 
Old 09-08-2004, 09:04 AM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
in general the --prefix works but the installation scripts may provide some post-install script like make symlinks in / (essentially for installing libraries) so even if you change prefix, post-install scripts do not always take prefix in account.
 
Old 09-08-2004, 09:38 AM   #5
azul79
Member
 
Registered: Jul 2004
Location: Argentina
Distribution: slackware
Posts: 39

Original Poster
Rep: Reputation: 15
so.. what do u recommend me?
i dont know why isnt it working.
i was thinking about removing what i installed (thats why i made this post) .. and reinstalling it again by doing

./confiugre
make
checkinstall

do u think it will work?
can sth goes wrong on the installation because i didnt install it as a pck?
'cause nobody @google seems to ever had this problem of compilation..
 
Old 09-08-2004, 12:05 PM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Instead of remove files manually, just do :

./configure
make
checkinstall

It will replace automatically the files (assuming you did not give options like --prefix to the first compile/install) and you end with a package.tgz (look in the directory when you run ./configure).
Then, if you want again remove files, just do :
removepkg package.tgz
 
  


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
Help removing Pr0metheus Slackware 11 03-19-2005 06:19 PM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 09:16 AM
removing certain packages Smokey Red Hat 1 10-02-2004 08:55 PM
removing XP SP1 DAChristen29 General 2 10-16-2003 02:57 PM
Removing newline. Tarts Programming 2 10-16-2003 12:49 PM

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

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