LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-26-2004, 06:21 PM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
help me reduce my OS size =/


Lo all,

I'm trying to delete as much as i can from this old box to leave enough room for my files..

I've dropped the OS down to 440Mb, but i still need to delete 20 to 50 megs more.. And i have no idea what's safe to kill at this point.. Btw I deleted the man pages, except in /usr/man (it looked funny.. ).

Here's a list of the packages i have left.
Linux-PAM-Kolba are important libraries i need. The box needs to have mysql, an email server (postfix), a web server (apache + php), and .. i guess thats it really..
Pine, i still use for its mail reader, and for pico.

EDIT: The url (when up) will be updated everytime i do remove any packages.. So stick to it whenever possible

http://xushi.co.uk/l

28-11-04: Number of packages installed, 100

Code:
Linux-PAM-kolba
aaa_base-10.0.0-noarch-1
aaa_elflibs-9.2.0-i486-1
acpid-1.0.4-i486-2
apache2-2.0.52-i486-1spi
autoconf-2.59-noarch-1
autofs-3.1.7-i386-1
automake-1.9.2-noarch-1
bash-3.0-i486-2
bc-1.06-i386-2
bin-9.2.0-i486-2
bind-9.3.0-i486-2
binutils-2.15.92.0.2-i486-1
bzip2-1.0.2-i486-5
ccache-2.4-i486-1
checkinstall-1.5.3-i486-2
cpio-2.5-i386-1
cxxlibs-6.0.0-i486-1
db3-3.3.11-i486-4
devs-2.3.1-noarch-21
diffutils-2.8.1-i386-1
e2fsprogs-1.35-i486-1
elflibs-9.1.0-i486-2
etc-5.1-noarch-9
fetchmail-6.2.5-i486-1
fileutils-4.1-i386-2
findutils-4.1.7-i386-1
gawk-3.1.4-i486-1
gcc-3.3.4-i486-1
gcc-g++-3.3.4-i486-1
gd-2.0.23-i486-2rob
glib2-2.4.7-i486-1
glibc-2.3.3-i486-2
glibc-solibs-2.3.3-i486-2
glibc-zoneinfo-2.3.3-noarch-2
gnupg-1.2.6-i486-1
grep-2.5-i386-2
gzip-1.3.3-i386-2
hdparm-5.7-i486-1
hotplug-2004_09_23-noarch-1
imapd-4.61-i486-1
indent-2.2.9-i386-1
iptables-1.2.11-i486-1
iptraf-2.7.0-i386-1
kbd-1.12-i486-2
kernel-headers-2.4.27-i386-1
kernel-ide-2.4.27-i486-1
kernel-modules-2.4.27-i486-1
less-382-i486-1
libtermcap-1.2.3-i486-6
libtool-1.5.10-i486-1
lilo-22.5.9-i486-2
logrotate-3.6.8-i486-1
lsof-4.72-i486-1
m4-1.4.2-i486-1
make-3.80-i386-1
metamail-2.7-i486-2
mhash-0.9.1-i486-1
modutils-2.4.22-i386-1
mysql-4.0.22-i486-1
ncurses-5.4-i486-2
netwatch-1.0a-i386-1
openssh-3.9p1-i486-1
openssl-0.9.7d-i486-1
openssl-solibs-0.9.7d-i486-1
pciutils-2.1.11-i486-5
perl-5.8.5-i486-2
php-apache2-5.0.2-i486-1spi
pidentd-3.0.18-i486-1
pine-4.61-i486-1
pkgconfig-0.15.0-i486-1
pkgtools-10.1.0-i486-1
popa3d-0.6.4-i486-1
popt-1.7-i386-1
portmap-5.0-i486-1
procps-3.2.3-i486-1
readline-4.3-i486-3
sed-4.0.9-i486-2
sh-utils-2.0-i386-1
shadow-4.0.3-i486-11
slocate-2.7-i486-3
strace-4.5.4-i486-1
sudo-1.6.8p1-i486-1
swaret-1.6.2-noarch-1
sysklogd-1.4.1-i486-9
syslinux-2.11-i486-1
sysvinit-2.84-i486-51
tar-1.14-i486-4
tcl-8.4.6-i486-1
tclx-8.3.5-i386-1
tcpdump-3.8.3-i486-2
tcpip-0.17-i486-30
textutils-2.0-i386-1
traceroute-1.4a12-i386-2
util-linux-2.12h-i486-1
wget-1.9.1-i486-1
zlib-1.2.2-i486-1

Last edited by xushi; 11-28-2004 at 05:53 AM.
 
Old 11-26-2004, 06:37 PM   #2
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
There are several non Slackware 10.0 packages on your system. It is hard to tell (if not impossible) what dependencies those packages will have.

You did not mention you wanted to be able to compile on that machine. Removing compilers and the full glibc version (NOT the runtime) could result in a considerate decrease in disk usage. Tcl and tclx are needed for tcl programs, if you don't use that you could remove them as well. You don't need swaret, manually updating is an option too
 
Old 11-26-2004, 06:40 PM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Hmm, i'm afraid eventually i will need to upgrade.. and swaret is just 1 meg or so =)

i just got around 20 megs free by deleting /usr/man. But i need more more more =))
 
Old 11-26-2004, 06:46 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
gcc-3.3.4-i486-1
gcc-g++-3.3.4-i486-1
elflibs-9.1.0-i486-2

i don't think you need them, but i think you need to look at the size of the packages. there's more that you don't need, but some are very small.

egag
 
Old 11-26-2004, 06:49 PM   #5
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
egag: are you sure about this?

And what are the others you're thinking of?

Also, are there any files lying about that i might not need other than packages? like the linux manual as one example?
 
Old 11-26-2004, 07:04 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
you need the gcc-stuff only for compiling, and i named them because they take a lot of space.
the elflibs i'm not sure about. ( on second thought, as it's a lib. )
and from the rest: a lot of them are so small they won't make a big difference. ( like sysvinit, make, gzip......)
( i don't know sizes from memory...)

egag
 
Old 11-26-2004, 07:27 PM   #7
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
What about 90% of the files located in /dev ?
 
Old 11-26-2004, 07:42 PM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
nothing to win there. most of them you don't need, but they hardly take disk-space.
but /usr/doc might be on the transfer-list ( to /dev/null...). i guess you have another Slack-sys to read doc's. and you've already removed /usr/src and /usr/info.

egag
 
Old 11-26-2004, 07:58 PM   #9
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Sweet, Didn't notice /usr/doc and /usr/info.

70 Megs free =)

Any more folders like that? Otherwise I guess this should be enough for now..

Thanks.
 
Old 11-27-2004, 01:25 AM   #10
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
"help me reduce my OS size =/"
You have to use a hard drive with less capacity.
bind-9.3.0-i486-2 Only useful for DHCP server i think.
floppy-5.4-i386-3
lynx-2.8.5rel.1-i486-2 Personnaly i won't remove^^. Too wonderful.
svgalib-1.4.3-i386-2 Should not be a problem.
sysvinit-2.84-i486-51 Don't remove this one .
wget-1.9.1-i486-1 Should not be a problem.
At this point i think we missed again some removable stuff.

Last edited by Linux.tar.gz; 11-27-2004 at 01:41 AM.
 
Old 11-27-2004, 04:17 AM   #11
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by Linux.tar.gz
floppy-5.4-i386-3
Would the floppy disk still work?

Quote:
svgalib-1.4.3-i386-2 Should not be a problem.
Would the onboard graphics still work? =)

Quote:
wget-1.9.1-i486-1 Should not be a problem.
I would, but wget is one of these programs i really need =) I had to choose between links and lynx, but i might just get rid of both, since anything i want to download, i find on my machine, and then use wget to download it.
 
Old 11-27-2004, 08:12 AM   #12
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
svgalib is for doing "graphics" without X, it's not very used and I guess you won't ever use it.
sysvinit could be removed because it only checks if there are system V init scripts that usually you never have in slackware (I only needed this when installing/using VMWare)
rsync, slocate and quota can be removed too.

You can find good examples of Slackware minimal installations in AmigoLinux's homepage ( www.amigolinux.org ).

Last edited by gbonvehi; 11-27-2004 at 08:17 AM.
 
Old 11-27-2004, 09:38 AM   #13
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Also make sure to empty /var/swaret if it is not already done
 
Old 11-28-2004, 12:51 AM   #14
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Since you have no GUI you don't need svgalibs, libxml2, libxslt, pango or t1lib, pcre, expat or glib2.
If all you want is to compile kernels and C, then you only need:
gcc, glibc, make, binutils, kernel headers and perl (plus sed, gawk, findutils). For compiling some C progs you'll need:
autoconf, automake, m4, libtool, pkgconfig.
Out: flex, bin86, bison, byacc.
If you are not using C++ progs you don't need gcc++ or cxxlibs.
Shouldn't need devfsd, gettext, gettextttols, glibczoneinfo or guile. Are you using quota? floppy is only if you need mtools or to format floppies with as DOS floppies.
 
Old 11-28-2004, 05:21 AM   #15
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by gnashley
Since you have no GUI you don't need svgalibs, libxml2, libxslt, pango or t1lib, pcre, expat or glib2.
Excellent. Done and Done.

Quote:
If all you want is to compile kernels and C, then you only need:
gcc, glibc, make, binutils, kernel headers and perl (plus sed, gawk, findutils). For compiling some C progs you'll need:
autoconf, automake, m4, libtool, pkgconfig.

If you are not using C++ progs you don't need gcc++ or cxxlibs.
Well, i will be using C and C++, so i'll keep the packages (as well as glibczoneinfo) for now.

Quote:
Out: flex, bin86, bison, byacc. Shouldn't need devfsd, gettext, gettextttols, glibczoneinfo or guile. Are you using quota? floppy is only if you need mtools or to format floppies with as DOS floppies.
Out: done. No i'm not using quote, and i also removed it, as well as floppies.

Thanks alot, OS dropped down to ~370Mb, with 65Mb free space now.

NOTE: The list on the first thread will be updated now.

EDIT: libxslt, t1lib-502, and libxml are needed for apache to work. Reinstalled them.

Last edited by xushi; 11-28-2004 at 05:53 AM.
 
  


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
How to reduce the size of root / alexf Suse/Novell 5 10-10-2005 05:53 PM
how i can reduce the squid log size.. shahg_shahg Linux - Networking 2 06-16-2005 03:23 PM
how to reduce /proc size provkitir Debian 1 10-14-2004 11:56 PM
reduce the kernel image size further abirami Linux - Networking 1 10-05-2004 11:06 AM
How to reduce the size of bzImage hemk76 Linux - Networking 2 10-05-2004 07:32 AM


All times are GMT -5. The time now is 11:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration