LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-17-2004, 08:37 PM   #1
fourleggedant
LQ Newbie
 
Registered: Apr 2004
Distribution: debian
Posts: 8

Rep: Reputation: 0
deleting old kernel trees


hello,

my /usr/src directory has become quite messy so i want to delete all the old trees, but i am not sure whether it is safe to do so...

is it safe to delete kernel-source-trees from the /usr/src directory where the kernels built from them are still in use?

i imagine it would be, but i really don't want to find out that it isn't after the fact.

thanks in advance for any help on this.

. -ant.
 
Old 09-17-2004, 08:42 PM   #2
realjustin
Member
 
Registered: Aug 2004
Location: /dev/null
Distribution: Slack 10, Debian
Posts: 99

Rep: Reputation: 15
Yes it is safe. However, you will most likely want to keep the tree of the single kernel you are running, and linked as
/usr/src/linux
You probably want it because certain things you compile will use the source of the running kernel when compiling modules, such as the nvidia drivers.

So keep at least the most used tree, and you're gold. If you're really pressed, yes you can get rid of all of it but watch out for programs that need your source.
 
  


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
Where do I find the kernel source trees for Mandrake 10? Leonard Noir Linux - Newbie 1 04-02-2004 10:13 PM
Nvidia drivers and kernel source trees anticitan Linux - Software 2 03-24-2004 11:33 PM
installing additional kernel source trees.. [a question] jdaniel Linux - General 5 01-13-2004 12:15 PM
Alternative kernel source trees semicolon Linux - General 1 12-22-2003 09:00 PM
Deleting Whole Trees Odd_Bloke Linux - Newbie 1 08-29-2003 05:14 PM


All times are GMT -5. The time now is 04:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration