LinuxQuestions.org
Help answer threads with 0 replies.
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 05-02-2004, 02:41 PM   #1
adambeazley
Member
 
Registered: Apr 2004
Posts: 32

Rep: Reputation: 15
can I delete these???


Im a little new to linux and my question is this:
I have downloaded pcmcia-cs, some other drivers and patches, libcap airsnort etc..
I unzipped them into /usr/src and ran the configure/make all and make install to install all of them. Now they are all installed and working properly----can I delete that original directory where I did the "make install" or are the drivers dependant on those files??
I finally have everything working so I do NOT want to mess anything up again. Please only answer yes if you are positive it will not mess anything up.
the reason I ask is Im limited with space and would like to get rid of non used directories and files.
Adam
 
Old 05-02-2004, 02:52 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
They are unused so you can generally get rid of them. It is sometimes worth keeping sources incase you need to recompiel with different options but they are not needed for an installed appliction
 
Old 05-02-2004, 03:16 PM   #3
adambeazley
Member
 
Registered: Apr 2004
Posts: 32

Original Poster
Rep: Reputation: 15
YOUR POSITIVE?
 
Old 05-02-2004, 03:41 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Yeah. You may also need them for a 'make uninstall' depending. But as long as you really installed them (as opposed to compiling them and running them from the directory) you can delete them if you have to.
 
Old 05-02-2004, 03:56 PM   #5
adambeazley
Member
 
Registered: Apr 2004
Posts: 32

Original Poster
Rep: Reputation: 15
well i did compile them, the pcmcia-cs-3.2.7.tar.gx had to be compiled into the kernel, s does that mean that I shouldnt delete that directory in /usr/src/pcmcia-cs-3.2.7 thats where the install test said to unpack it.

But I guess the libcap source could be deleted after being installed, ill probably just leave everything because im scared to mess something up. Ive already had to reinstall linux 4 times in 2 weeks. I like to play and install stuff as well as tinker around with the innards of the os--gotta learn somehow (what not to do)
thanks
adam
 
Old 05-02-2004, 04:14 PM   #6
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
I generally keep mine sitting in /usr/local/src and go through a clean up every couple of months. The clean-up usually consists of thinking If I ever used the app after I installed it, if not, generally, I do a 'make uninstall' and delete the folder. Keep the original tarballs somewhere (I use a folder in /opt) or back them up to a cd. But if low on space, delete them by all means.

But if youreally want to learn and tinker, may I suggest you at least download the lfs documentation, just reading that will give you a lot of knowledge.
 
Old 05-02-2004, 04:26 PM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
The compiling's not the problem - I just meant that you can run some things out of the directory. If you deleted those, obviously you couldn't run them any more. But the issue's installing them. As long as you did a 'make install' with a destination like /usr/local or wherever, then all that's needed has been copied to your system and the source dir is safe to delete. And since that's definitely the usual practice and what you say you did, it's fine.
 
Old 05-03-2004, 03:13 PM   #8
Galik
Member
 
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67

Rep: Reputation: 15
The best reason to keep the source is if you want to do a make uninstall at some point (before an upgrade perhaps?). If you are worried about deleting you could try renaming the directory first to check if it still works and only then deleting the renamed version.
 
Old 05-07-2004, 05:36 PM   #9
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 31
say if you unzip the sources... ./configure;make;make install and it installs everything... the program works fine... and the source directory is zipped up and burned on to a CD... and when ever its needed to unintall the programs installed from souce... if the zipped file on the CD is unzipped and the command 'make uninstall' is given will it uninstall the program fully?
 
  


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 delete files that won't delete? di11rod Linux - Security 7 10-19-2005 10:14 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 03:46 AM
delete! johndesu Linux - Hardware 2 02-27-2004 06:14 PM
Delete zaldyd Linux - Newbie 1 08-07-2003 05:58 AM
how to delete? RRMitsu Linux - General 1 12-26-2002 03:23 PM

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

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