[SOLVED] Need to free up space in slackware partition
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.
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
Need to free up space in slackware partition
Hello Slackware users. I did a fresh install a while back and I installed everything from the DVD. My partition was really really small and now I need some help freeing up space.
Because my hardware is old I would like to remove things that I have no support for like the KDE plasma display. It takes all the CPU power and takes a good chunk of my 14 GB partition.
So can somebody please guide me on how to remove KDE from my installation.
I will appreciate it. Thank you.
This is the list of windows manager and desktop enviroments I have currently installed:
mvm
twm
compiz
KDE
fvwm
Xfce
fvwm2
blackbox
windowsmaker
I dont think I can affort to have all these installed in a small partition.
Last edited by TroN-0074; 12-29-2011 at 09:39 AM.
Reason: adding window manager list
Hi, Tron. Welcome to LQ. Use the pkgtool program, as root, to add to, delete from or reconfigure your system. See "man pkgtool". Unless you need the disk space, I wouldn't remove anything. Select a lighter WM than KDE and just let KDE sit there on the disk, it won't hurt anything.
Regards,
Bill
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Original Poster
Rep:
Quote:
Originally Posted by TSquaredF
Hi, Tron. Welcome to LQ. Use the pkgtool program, as root, to add to, delete from or reconfigure your system. See "man pkgtool". Unless you need the disk space, I wouldn't remove anything. Select a lighter WM than KDE and just let KDE sit there on the disk, it won't hurt anything.
Regards,
Bill
Thank you for your reply.
I would leave it there but I only have 521.8 MiB of free space in the root partition. I have 5 GB in the Home partition. I think removing KDE would free up about 1 more GB in the root partition that I can use to upgrade the packages that I use. I already removed all the documentation that is writing in foreign languages too.
Any advice will help.
Thank you.
I understand you need space and kde is heavy for your resources, but remember that removing kde you remove also all of its applications (it's not just a desktop environment), that you can launch without executing kde directly.
Yes, this is true. There are many apps, games, and conveniences wrapped up in the KDE installation. But the OP mentions old hardware (can mean many things of course) and space concerns. All of the KDE apps have non-KDE counterparts already installed or easily added. My old Thinkpad (P-III 650MHz) hasn't seen any KDE or GNOME components since ~Slack 10, and has been the better for it.
If you miss amarok, you've still got audacious, etc. But if you want to keep amarok, what other KDE packages does it depend on? Maybe it's possible to pick and choose some of the less central apps, but you'll still need the core. OTOH, if you can live without them might as well scrap the lot...
This is the list of windows manager and desktop enviroments I have currently installed:
mvm
twm
compiz
KDE
fvwm
Xfce
fvwm2
blackbox
windowsmaker
I dont think I can affort to have all these installed in a small partition.
Most of these wm's, with the exception of KDE, take up very little space. I would suggest you try them all out, if only for the techno-archaeological experience!
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Original Poster
Rep:
Yes thank you for your comments.
I am planning on retain Xfce and that is a complete Desktop manager and doesn't depend on the QT libraries from KDE.
So I think I will be fine without Amarok , Okular, and all the K+ app.
I am on a Thinkpad T41. Single Core processor Pentium IV + 1/2 GB of RAM. I think it will be fine with Xfce.
I appreciate it your help.
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Original Poster
Rep:
Quote:
Originally Posted by JimBrewster
Most of these wm's, with the exception of KDE, take up very little space. I would suggest you try them all out, if only for the techno-archaeological experience!
Yes I had that in mind, just for the historical value. Thank you!
You can remove a few packages you don't use from xap too, but that won't make a big difference.
Another thing you can do, is to boot from the installation disk, move /usr to /home/usr and create a symbolic link from /usr to /home/usr.
But it would be better to backup /home, remove the partition and create one partition for /usr and another one for /home in which you would put your data back. You'd have to modify /etc/fstab then.
Next time you install Slackware, have a look at README_LVM.TXT. This way you can free space from one partition to use it to another if you didn't make the good choice from the start.
Last edited by slack_them_all; 12-29-2011 at 01:19 PM.
Some other large packages that could be considered for remove include:
kernel-source package 415Mb (installed size). Whilst you will need this package if you want to compile a custom kernel or if you need to compile special kernel modules (like the VitualBox Guest additions), it can be a nice saving if you don't need it. Even if you do need it you can still consider removing after you are finished with it, as it is the type of package you are most likely to want only at the beginning, when first setting up your system.
All of the t series for a 250Mb saving. Samba for a 125Mb saving.
If you are running the latest Slackware 13.37 or current (and installed your packages with modern pkgtools), you could use the following to get a sorted list of the biggest packages on your system:
You could them scan through it for potential removal candidates. I would be very careful with removing libraries unless you understand exactly what uses them. In fact, I would be very careful about removing anything unless you understand exactly how it is used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.