LinuxQuestions.org
Review your favorite Linux distribution.
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 01-10-2010, 12:41 PM   #1
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Ubuntu Slackware
Posts: 1,028

Rep: Reputation: 42
What can I remove from a default non-KDE Slackware install to fit a 2gb partition?


I am trying to create a tagfile so that I can install a "more minimal" Slackware install on a 2gb partition on an older laptop. I have installed "full" minus KDE, Emacs, Games on my desktop and have started to remove packages. I have removed what I consider to be the obvious choices eg Fluxbox, Windowmaker etc. (I will use Xfce4) and applications that I recognise and don't need eg Thunderbird but I can't get df -h to show less than 3.5gb used.

Is there something that I can remove that will reduce the install size? I did have Debian doing normal desktop stuff at about 1.8gb. I don't want Debian on this laptop any longer.I understand that you don't know what I want the install for but surely there are libraries or something that I can remove to free up space?

The laptop is for web, office, irc. I am sure it's not the apps I need to remove.

Any ideas?
 
Old 01-10-2010, 12:50 PM   #2
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 102

Rep: Reputation: 19
Quote:
Originally Posted by esteeven View Post
Is there something that I can remove that will reduce the install size?
I`d remove all packages from e/ f/ k/ t/ y/
then remove kernels and kernel-modules for kernels you don`t use
optionally one can remove all from tcl/
then remove samba, mysql, php, sendmail, httpd,
optionally java, qt and d/gcc related stuff if don`t need to compile programs

Anyway in your case I would install Zenwalk or Salix instead of Slackware. You would have minimal usable desktop system you could easily extend.

Good luck.

Last edited by witek; 01-10-2010 at 12:53 PM.
 
Old 01-10-2010, 01:59 PM   #3
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Ubuntu Slackware
Posts: 1,028

Original Poster
Rep: Reputation: 42
Thanks witek - a fair point re. kernels & modules.

I don't want to use Zenwalk or Salix. I want unadulterated Slackware. And I want it smaller Like Salix or Zenwalk.
 
Old 01-10-2010, 02:56 PM   #4
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
Without initially giving any thought to actual packages, you can look at the sizes of compressed packages and see which ones are more likely to impact size. This assumes the ratios of compressed packages is roughly the same as uncompressed packages.

If you remove everything with kde in the package name (includes directory), the following shows the size of packages (compressed) in order (largest to smallest) up to the .8 fraction (80%) point of what's left.

You'll have to go through these and see which ones you don't need as I don't know.

I'd guess you don't need kernel-source since the headers are at /usr/include.
I think I need qt. Not sure if X needs it.
If you don't compile java is gcc-java needed?
Lose functionality-increase security-lose jre (java run env)
If you don't serve to windows machines is samba required?
My guess is both perl and python are needed for the various other programs you will eventually use.
Seamonkey/thunderbird can probably go.
I slightly prefer mplayer to xine but like both.
I don't print with this machine - lose hplip
I don't chat - lose pidgeon
Linux howtos are on web
Lose what you can on i18 stuff
Why is vim so big? Find smaller editor.
Choose kernel (one huge, make one custom) maybe one generic.

Besides the packages listed below there are probably another 600-700 but we hit the first 80%. You get the idea.

Code:
0.06	k	kernel-source-2.6.29.6_smp-noarch-2.txz
0.11	t	tetex-doc-3.0-i486-6.txz
0.16	l	qt-r1008952-i486-1.txz
0.2	t	tetex-3.0-i486-6.txz
0.24	d	gcc-java-4.3.3-i486-3.txz
0.27	e	emacs-22.3-i486-2.txz
0.3	l	jre-6u16-i586-1.txz
0.32	n	samba-3.2.13-i486-1.txz
0.34	a	kernel-modules-smp-2.6.29.6_smp-i686-2.txz
0.36	a	kernel-modules-2.6.29.6-i486-2.txz
0.37	d	perl-5.10.0-i486-1.txz
0.39	xap	xfce-4.6.1-i486-5.txz
0.4	xap	seamonkey-1.1.17-i486-1.txz
0.42	d	python-2.6.2-i486-3.txz
0.43	l	glibc-2.9-i486-3.txz
0.44	ap	ghostscript-8.70-i486-1.txz
0.45	xap	gimp-2.6.6-i486-2.txz
0.46	ap	hplip-3.9.4b-i486-2.txz
0.47	xap	mozilla-thunderbird-2.0.0.23-i686-1.txz
0.48	d	gcc-gnat-4.3.3-i486-3.txz
0.49	xap	mozilla-firefox-3.5.2-i686-1.txz
0.5	xap	MPlayer-r29390-i486-1.txz
0.51	l	PyQt-4.4.4-i486-2.txz
0.52	f	linux-howtos-20090805-noarch-1.txz
0.53	x	sazanami-fonts-ttf-20040629-noarch-1.txz
0.53	d	gcc-4.3.3-i486-3.txz
0.54	xap	pidgin-2.5.9-i486-1.txz
0.55	x	font-adobe-100dpi-1.0.0-noarch-3.txz
0.56	ap	vim-7.2.245-i486-1.txz
0.56	l	glibc-i18n-2.9-i486-3.txz
0.57	l	gtk+2-2.14.7-i486-4.txz
0.58	ap	mysql-5.0.84-i486-1.txz
0.58	x	wqy-zenhei-font-ttf-0.8.38_1-noarch-1.txz
0.59	x	xorg-docs-1.4-noarch-2.txz
0.6	x	font-adobe-75dpi-1.0.0-noarch-3.txz
0.6	a	kernel-huge-smp-2.6.29.6_smp-i686-2.txz
0.61	a	kernel-huge-2.6.29.6-i486-2.txz
0.61	x	anthy-9100e-i486-1.txz
0.62	ap	linuxdoc-tools-0.9.56-i486-5.txz
0.62	l	boost-1.38.0-i486-2.txz
0.63	n	php-5.2.10-i486-2.txz
0.64	xap	imagemagick-6.5.3_3-i486-1.txz
0.64	d	gcc-g++-4.3.3-i486-3.txz
0.64	x	scim-tables-0.5.9-i486-3.txz
0.65	x	font-bh-100dpi-1.0.0-noarch-3.txz
0.65	x	mesa-7.5-i486-1.txz
0.66	xap	xine-lib-1.1.16.3-i686-6.txz
0.66	a	aaa_elflibs-13.0-i486-2.txz
0.67	l	qtscriptgenerator-0.1.0-i486-1.txz
0.67	ap	ghostscript-fonts-std-8.11-noarch-1.txz
0.68	x	font-misc-misc-1.0.0-noarch-4.txz
0.68	d	cmake-2.6.2-i486-1.txz
0.68	x	font-bh-75dpi-1.0.0-noarch-3.txz
0.69	xap	xscreensaver-5.08-i486-2.txz
0.69	d	subversion-1.6.4-i486-1.txz
0.69	l	openexr-1.6.1-i486-1.txz
0.7	t	xfig-3.2.4-i486-4.txz
0.7	d	clisp-2.47-i486-1.txz
0.7	d	gcc-gfortran-4.3.3-i486-3.txz
0.71	l	gnome-icon-theme-2.26.0-i486-1.txz
0.71	a	kernel-generic-smp-2.6.29.6_smp-i686-2.txz
0.71	a	kernel-generic-2.6.29.6-i486-2.txz
0.72	d	binutils-2.18.50.0.9-i486-1.txz
0.72	ap	man-pages-3.22-noarch-2.txz
0.72	n	openssl-0.9.8k-i486-2.txz
0.73	d	doxygen-1.5.8-i486-1.txz
0.73	xap	electricsheep-20090306-i486-2.txz
0.73	d	gcc-objc-4.3.3-i486-3.txz
0.73	d	git-1.6.4-i486-1.txz
0.74	d	ruby-1.8.7_p174-i486-1.txz
0.74	xap	sane-1.0.19-i486-3.txz
0.74	a	glibc-solibs-2.9-i486-3.txz
0.75	d	gettext-tools-0.17-i486-3.txz
0.75	ap	zsh-4.3.10-i486-1.txz
0.75	x	ttf-indic-fonts-0.4.7.4-noarch-1.txz
0.75	x	m17n-lib-1.5.4-i486-1.txz
0.76	x	dejavu-fonts-ttf-2.29-noarch-1.txz
0.76	a	cups-1.3.11-i486-1.txz
0.76	l	soprano-2.2.3-i486-1.txz
0.76	ap	gutenprint-5.2.4-i486-1.txz
0.77	xap	gucharmap-2.26.2-i486-1.txz
0.77	d	swig-1.3.38-i486-1.txz
0.77	x	libhangul-0.0.7-i486-1.txz
0.77	n	net-snmp-5.4.2.1-i486-1.txz
0.77	d	gdb-6.8-i486-1.txz
0.78	n	nmap-5.00-i486-1.txz
0.78	a	coreutils-7.4-i486-1.txz
0.78	n	links-2.2-i486-1.txz
0.78	ap	groff-1.20.1-i486-1.txz
0.78	n	alpine-2.00-i486-1.txz
0.79	l	glib2-2.18.4-i486-1.txz
0.79	xap	windowmaker-20060427cvs-i486-2.txz
0.79	y	bsd-games-2.13-i486-8.txz
0.79	tcl	tcl-8.5.7-i486-1.txz
0.79	x	scim-pinyin-0.5.91-i486-2.txz
0.8	tcl	tk-8.5.7-i486-1.txz
 
Old 01-10-2010, 03:50 PM   #5
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
Just search this forum for minimal slackware, small slackware, tiny slackware, slim line slackware, or any other diminutive that you can think off and you will find many threads with many different solutions to this perennial question.

It is possible it just takes a bit of work, and knowing what your ultimate goal is.

samac
 
Old 01-10-2010, 03:50 PM   #6
gapan
Member
 
Registered: Feb 2007
Posts: 342

Rep: Reputation: 105Reputation: 105
Take a look at the CORE and BASIC lists in Salix svn: http://sourceforge.net/apps/trac/sal...on/trunk/lists

This will give you an idea of what you really need for a basic system with xfce. There are only a few Salix specific packages in those two lists that are not part of Slackware, like gdm, splashy, salixtools... you can do without them.

You'll probably like to remove scim-* and anthy from those lists too. And remove all the xf86-video-* and xf86-input-* drivers you don't need.

EDIT: and of course add the kernel packages you use to that lists.

Last edited by gapan; 01-10-2010 at 04:00 PM.
 
1 members found this post helpful.
Old 01-10-2010, 03:53 PM   #7
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
Quote:
Take a look at the CORE and BASIC lists in Salix svn: http://sourceforge.net/apps/trac/sal...on/trunk/lists
I was looking for those, but didn't find them, because the basic install of salix is pretty good, and I was going to suggest the same starting point.

samac
 
Old 01-10-2010, 10:07 PM   #8
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
TeTeX takes up two of the top 5 largest packages. Sounds like it is a typesetting language. The wiki makes it look interesting but its huge.

What other programs in slackware depend on it? Does it give us great fonts or something?
 
Old 01-11-2010, 10:22 AM   #9
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
Quote:
TeTeX takes up two of the top 5 largest packages. Sounds like it is a typesetting language. The wiki makes it look interesting but its huge.

What other programs in slackware depend on it? Does it give us great fonts or something?
I don't even bother downloading it. Nothing has broken so far.

samac
 
Old 01-11-2010, 10:24 AM   #10
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Ubuntu Slackware
Posts: 1,028

Original Poster
Rep: Reputation: 42
Quote:
Originally Posted by gapan View Post
Take a look at the CORE and BASIC lists in Salix svn: http://sourceforge.net/apps/trac/sal...on/trunk/lists
Ace! That's what I was looking for earlier but couldn't find. I will try this later. Thanks!!
 
  


Reply


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
Need a distro to fit in 2gb of space compgenius999 Linux - Newbie 10 09-15-2009 04:08 AM
LXer: Ubuntu Sees No Reason To Remove Mono from Default Install LXer Syndicated Linux News 0 07-02-2009 05:11 PM
Unable to Add/Remove SW after upgrading to 2GB RAM on Dell Inspiron 6000 split141 Linux - Hardware 2 02-12-2008 08:52 PM
Will Ubuntu 5.1 fit on a 3.5 GB partition? vulpeso Linux - Software 2 11-18-2005 11:28 PM
Using GRUB to trick Windows to fit on a different partition? fyhuang Linux - General 4 07-12-2005 04:31 PM


All times are GMT -5. The time now is 04:48 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