LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-28-2011, 11:25 AM   #1
michaelinux
Member
 
Registered: Apr 2009
Location: El Salvador
Distribution: Slackware -current
Posts: 166

Rep: Reputation: 17
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?

Last edited by michaelinux; 10-04-2011 at 02:10 PM.
 
Old 09-28-2011, 11:32 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
KDE
 
Old 09-28-2011, 11:41 AM   #3
michaelinux
Member
 
Registered: Apr 2009
Location: El Salvador
Distribution: Slackware -current
Posts: 166

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by andrewthomas View Post
KDE
uh.. yeah i kinda had that figured out, what else??
 
Old 09-28-2011, 11:55 AM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
That's plenty. Much less than 3GB without KDE.
 
Old 09-28-2011, 11:58 AM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,842

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
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.
 
Old 09-28-2011, 12:05 PM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,842

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
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.
 
Old 09-28-2011, 12:06 PM   #7
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 248

Rep: Reputation: 107Reputation: 107
You'll probably won't need teTeX, so discarding t/ series will save some space.
 
Old 09-28-2011, 12:40 PM   #8
wargus
Member
 
Registered: Mar 2010
Location: Switzerland
Distribution: Slackware
Posts: 97

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

 
Old 09-28-2011, 12:40 PM   #9
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Just selecting a,ap,l,n,x will take around 750 MB and then install additional packages with slackpkg.
 
Old 09-28-2011, 01:14 PM   #10
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,842

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
@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:
Code:
grep "^U.*M$" * | awk -F: '{print $3 "\t" $1}' | sort -rn | less

Last edited by ruario; 09-29-2011 at 04:18 AM. Reason: Improved the example command
 
1 members found this post helpful.
Old 09-28-2011, 01:20 PM   #11
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 345

Rep: Reputation: 56
most definitively emacs. vi is all you need.
 
Old 09-28-2011, 01:29 PM   #12
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,842

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
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.
 
1 members found this post helpful.
Old 09-28-2011, 02:56 PM   #13
michaelinux
Member
 
Registered: Apr 2009
Location: El Salvador
Distribution: Slackware -current
Posts: 166

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by ruario View Post
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.
 
Old 09-28-2011, 03:21 PM   #14
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,842

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
I just quoted dollars because I figured more people could relate to it and amazon.com 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.
 
Old 10-03-2011, 06:12 AM   #15
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,842

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


Reply

Tags
server, slackware 13.37, virtual machine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware can not detect 3GB memory. Wilson_Lee Slackware 10 07-17-2008 07:50 AM
Swap space for 3GB? ElricM Linux - Newbie 2 01-18-2006 12:10 AM
Need a distro for use on a 3GB drive thorney Linux - Newbie 5 11-22-2005 10:02 PM
[Slackware 10] Cannot reduce sound volume. asklepios Slackware 5 10-10-2004 01:39 PM
Knoppix Hdd installation -I want to reduce the size on Disk!! rayesteq Linux - General 2 09-13-2004 05:02 AM


All times are GMT -5. The time now is 06:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration