SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just out of interest and to try and learn something, I recently compiled/installed the 2.6.20.3 kernel and now want to uninstall it and any files this process placed around the system. How do I best do this?
One of the reasons I want to uninstall it is that I checked the used/free disk space on my HD and found that around 5.5 GB of my 6.6 GB Root partition is being used. /usr is quite large and I wondered if the kernel install put files in there, it's 3.3 - 4 GB, depending on which app I use to get the information. The only other big thing I've installed is Dropline Gnome.
Maybe a kernel install doesn't put files in /usr at all but I can't seem to find this sort of information and just want to free up some space if I can. Even if the kernel install doesn't put files in /usr I would still like to know how to uninstall it.
you can remove files in:
- /usr/src/linux-2.6.20.3
- /lib/modules/2.6.20.3
- /boot/*2.6.20.3.*
Thanks, I thought I might have to do - make uninstall, or some such thing. There is no /usr/src/linux-2.6.20.3 though, I compiled from a folder in my /home folder and the source is still there.
Maybe my /usr folder size is typical then, how big is yours?
Navigate down to "Remove packages that are currently installed." You'll see an alphabetical listing of all installed packages. Make SURE that you only tick off removal of the particular kernel you're speaking of here. Don't inadvertently remove your booted kernel.
Navigate down to "Remove packages that are currently installed." You'll see an alphabetical listing of all installed packages. Make SURE that you only tick off removal of the particular kernel you're speaking of here.
Ah, thanks. I didn't realise I could do that with something I'd compiled, I thought it had to be a slackpkg to be able to use the tool to unistall it.
Whoops! A compiled kernel? I should read the posts a little better, huh? I'm not sure if you can use pkgtool for a compiled kernel. You can try it. If it's listed, you should be able to remove it. If it's not listed, no harm in trying.
Whoops! A compiled kernel? I should read the posts a little better, huh? I'm not sure if you can use pkgtool for a compiled kernel. You can try it. If it's listed, you should be able to remove it. If it's not listed, no harm in trying.
Luck!
~Eric
Heh, no, it's not listed. Had a good browse through my installed packages though.
4 GB for/usr doesn't sound too out of the ordinary for s fairly complete install, especially if you have GNOME in there. My /usr directory is 9.2 GB currently.
If it is that much of a problem, your best bet is to simply browse through the installed packages and pull out anything you aren't using. Especially relatively large applications, like the GIMP.
Since you compiled the kernel in your /home directory, it shouldn't have placed anything under /usr. So everything under there must be from installed applications.
4 GB for/usr doesn't sound too out of the ordinary for s fairly complete install, especially if you have GNOME in there. My /usr directory is 9.2 GB currently.
Wow!
Quote:
If it is that much of a problem, your best bet is to simply browse through the installed packages and pull out anything you aren't using. Especially relatively large applications, like the GIMP.
Got just over 1 GB free space left on that partition so not at crisis point yet, looks like I'm going to need a new and bigger hard drive though.
Quote:
Since you compiled the kernel in your /home directory, it shouldn't have placed anything under /usr. So everything under there must be from installed applications.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.