LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   help me reduce my OS size =/ (https://www.linuxquestions.org/questions/slackware-14/help-me-reduce-my-os-size-%3D-259635/)

xushi 11-26-2004 05:21 PM

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


rotvogel 11-26-2004 05:37 PM

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 :D

xushi 11-26-2004 05:40 PM

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 =))

egag 11-26-2004 05:46 PM

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

xushi 11-26-2004 05:49 PM

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?

egag 11-26-2004 06:04 PM

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

xushi 11-26-2004 06:27 PM

What about 90% of the files located in /dev ?

egag 11-26-2004 06:42 PM

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

xushi 11-26-2004 06:58 PM

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.

Linux.tar.gz 11-27-2004 12:25 AM

"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.

xushi 11-27-2004 03:17 AM

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.

gbonvehi 11-27-2004 07:12 AM

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 ).

Cedrik 11-27-2004 08:38 AM

Also make sure to empty /var/swaret if it is not already done

gnashley 11-27-2004 11:51 PM

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.

xushi 11-28-2004 04:21 AM

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.


All times are GMT -5. The time now is 08:26 PM.