-   Slackware (
-   -   reduce slackware 13.37 installation to 3gb? (

michaelinux 09-28-2011 12:25 PM

reduce slackware 13.37 installation to 3gb?
I want to install slackware on a virtual machine and reduce its size to 3gb since i want to be able to carry it on my usb drive, i want to use it as a web server and have a simple DE like xfce or maybe a small WM like fluxbox, what packages should i discard from the installation to achieve this?

andrewthomas 09-28-2011 12:32 PM


michaelinux 09-28-2011 12:41 PM


Originally Posted by andrewthomas (Post 4484574)

uh.. yeah i kinda had that figured out, what else?? :(

andrewthomas 09-28-2011 12:55 PM

That's plenty. Much less than 3GB without KDE.

ruario 09-28-2011 12:58 PM

One option might be the 415Mb (installed size) kernel-source package. 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.

ruario 09-28-2011 01:05 PM

Also just a tip, remember it is the package's install size you care about. kernel-source is only 62Mb compressed, so you might not have considered it if you were only looking at the size of the compressed package.

audriusk 09-28-2011 01:06 PM

You'll probably won't need teTeX, so discarding t/ series will save some space.

wargus 09-28-2011 01:40 PM

I remove the language packages and also the koffice things. This saves a lot of space.


ottavio 09-28-2011 01:40 PM

Just selecting a,ap,l,n,x will take around 750 MB and then install additional packages with slackpkg.

ruario 09-28-2011 02:14 PM

@michaelinux: If you aren't using KDE as you say and have no other apps that rely on it, then removing Qt will save another 129Mb.

Some other big packages you might consider removing:

All of the t series for a 250Mb saving
Samba for a 125Mb saving
Either kernel-modules or kernel-modules-smp as you probably don't need both. The are just over 70Mb each.
Emacs 90Mb or Vim 26Mb (or both!)
Seamonkey 66Mb or Firefox 32Mb (or both and install Opera at 34Mb, which could also replace the 30Mb Thunderbird)
Gimp 54Mb

Try switching to the /var/log/packages directory on a machine with a full install and issuing the following to browse through and get some ideas:

grep "^U.*M$" * | awk -F: '{print $3 "\t" $1}' | sort -rn | less

Martinus2u 09-28-2011 02:20 PM

most definitively emacs. vi is all you need. ;)

ruario 09-28-2011 02:29 PM

Of course the other option (or an additional option) is to get a bigger USB drive. You can buy a 16Gb one for just over $10 (USD). Why bother to save space when space is so cheap these days.

michaelinux 09-28-2011 03:56 PM


Originally Posted by ruario (Post 4484654)
Of course the other option (or an additional option) is to get a bigger USB drive. You can buy a 16Gb one for just over $10 (USD). Why bother to save space when space is so cheap these days.

maaan, that sounds so good a 16gb usb drive for only $10 usd, unfortunately i don't live in the US and usb drives aren't that cheap here (third world countries suck!!).
I'll try all the suggestions above and see what results i get. thanks.

ruario 09-28-2011 04:21 PM

I just quoted dollars because I figured more people could relate to it and is so well known. I should however have looked at your location.

In case you are interested, from an equivalent type store in Norway (where I live) a 16Gb USB stick would be a little more than $30 (USD) or I could pick up an 8Gb for around half that. It is a lot but if it was me personally, I'd probably still get at least the 8Gb. Still you make a fair point, the price can vary greatly from country to country and everyone has a different idea of what they feel is expensive.

P.S. Good luck, though I think you will get under 3Gb with ease. ;)

ruario 10-03-2011 07:12 AM

So did you easily get under 3Gb as predicted? Also what did you end up removing in the end?

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