LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-29-2011, 08:37 AM   #1
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
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
 
Old 12-29-2011, 09:06 AM   #2
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware-15.0; -current
Posts: 245

Rep: Reputation: 60
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*

Last edited by JimBrewster; 12-29-2011 at 09:07 AM. Reason: typos!
 
Old 12-29-2011, 09:12 AM   #3
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
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
 
Old 12-29-2011, 09:25 AM   #4
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Original Poster
Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Quote:
Originally Posted by TSquaredF View Post
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.
 
Old 12-29-2011, 11:37 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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.
 
Old 12-29-2011, 11:56 AM   #6
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware-15.0; -current
Posts: 245

Rep: Reputation: 60
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...
 
Old 12-29-2011, 12:09 PM   #7
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware-15.0; -current
Posts: 245

Rep: Reputation: 60
Quote:
Originally Posted by TroN-0074 View Post
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!
 
Old 12-29-2011, 12:14 PM   #8
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Original Poster
Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
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.
 
Old 12-29-2011, 12:17 PM   #9
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Original Poster
Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Quote:
Originally Posted by JimBrewster View Post
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!
 
Old 12-29-2011, 01:06 PM   #10
slack_them_all
LQ Newbie
 
Registered: Apr 2011
Posts: 20

Rep: Reputation: 2
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.

Last edited by slack_them_all; 12-29-2011 at 01:19 PM.
 
Old 12-29-2011, 08:40 PM   #11
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Original Poster
Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Thank you KDE is gone. Met with the LUG and mister slack himself was there so he did it for me.
Thank you!
 
Old 01-02-2012, 06:18 AM   #12
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
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.
 
Old 02-06-2012, 10:49 PM   #13
curtdodds
LQ Newbie
 
Registered: Jul 2003
Location: So. Calif
Distribution: gentoo,RH, mandrake, debian, slackware, lfs, and more.
Posts: 25

Rep: Reputation: 6
FWIW:

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

Might check your user accounts as well.
 
  


Reply



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
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
Free Space Partition pighunter Linux - Newbie 6 06-21-2009 06:59 PM
can't partition free space from shrunken partition john_b Linux - Newbie 7 01-14-2006 04:43 AM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration