LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-29-2002, 10:50 PM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
How can I do a clean-up?


When I install a software from source, there are many (source, object,etc.) files that might be removed after the binary is ready.
How can I remove them?
(P.S. I tried 'make clean', but that destroyed the program.)
 
Old 04-30-2002, 02:27 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you'd either just delete the entire source directory or not. erm.. i guess you could put the stuff back in a tar.bz2 or something if you think you might need it later. make clean won't stop the program working, only the uninstalled version in the source directories.
 
Old 04-30-2002, 03:52 PM   #3
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
Do a clean-up

Actually, 'make clean' command ruined my xmms, and I had to recompile and install it.
On the other hand: I do not know if I have a 'source directory'.
If I simply use
./configure
make
make install
will the compiled binary files or other necessary files reside in the same directory where the source and object files can be found? If so, I cannot delete the source directory as it also contains the binaries.
 
Old 04-30-2002, 04:17 PM   #4
bozotix
LQ Newbie
 
Registered: Apr 2002
Location: Russia
Distribution: Traktopel
Posts: 5

Rep: Reputation: 0
Post ...

If you want to remove files, that ./configure created, you just have to run 'make distclean' (it won't harm the sources)
 
  


Reply



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 you keep your system clean? darkleaf Debian 8 10-12-2004 04:13 PM
Clean up Linux...? rawinn Linux - General 15 03-02-2004 01:29 AM
Clamscan didn't clean mahugl Linux - Software 2 02-07-2004 02:41 PM
Make Clean quwaie Linux - General 3 01-16-2004 01:16 PM
package clean-up mpelts Slackware 5 08-01-2003 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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