LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Need to free up space in slackware partition (https://www.linuxquestions.org/questions/slackware-14/need-to-free-up-space-in-slackware-partition-921060/)

TroN-0074 12-29-2011 08:37 AM

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.

JimBrewster 12-29-2011 09:06 AM

You can safely run 'removepkg' on the following, which is all the packages from the kde series:

amarok
k3b
kaudiocreator
kde*
koffice
konq-plugins
kopete-cryptography
ktorrent
libktorrent
oxygen-icons
polkit-kde
polkit-qt
skanlite

If you also installed the kdei series, then add kde-l10* and koffice-l10*

TSquaredF 12-29-2011 09:12 AM

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

TroN-0074 12-29-2011 09:25 AM

Quote:

Originally Posted by TSquaredF (Post 4560930)
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.

ponce 12-29-2011 11:37 AM

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.

JimBrewster 12-29-2011 11:56 AM

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...

JimBrewster 12-29-2011 12:09 PM

Quote:

Originally Posted by TroN-0074 (Post 4560908)
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! ;)

TroN-0074 12-29-2011 12:14 PM

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.

TroN-0074 12-29-2011 12:17 PM

Quote:

Originally Posted by JimBrewster (Post 4561104)
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!

slack_them_all 12-29-2011 01:06 PM

Hi,

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.

TroN-0074 12-29-2011 08:40 PM

Thank you KDE is gone. Met with the LUG and mister slack himself was there so he did it for me.
Thank you!

ruario 01-02-2012 06:18 AM

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:

Code:

grep "^U.*M$" /var/log/packages/* | sed -r "s|.+/(.+):.+: +(.+)|\2\t\1|" | sort -n
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. ;)

curtdodds 02-06-2012 10:49 PM

FWIW:

I just found 442 MB in /root/.local/share/Trash/

Might check your user accounts as well.


All times are GMT -5. The time now is 01:11 AM.