Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-17-2004, 09:37 PM   #1
LQ Newbie
Registered: Apr 2004
Distribution: debian
Posts: 8

Rep: Reputation: 0
deleting old kernel trees


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, 09:42 PM   #2
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
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.


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 11:13 PM
Nvidia drivers and kernel source trees anticitan Linux - Software 2 03-25-2004 12:33 AM
installing additional kernel source trees.. [a question] jdaniel Linux - General 5 01-13-2004 01:15 PM
Alternative kernel source trees semicolon Linux - General 1 12-22-2003 10:00 PM
Deleting Whole Trees Odd_Bloke Linux - Newbie 1 08-29-2003 06:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration