LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-22-2007, 04:35 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Remove unwated packages


Hi,

I just installed a debian minimum system and I am trying to reduce my installation size further. Right now I am at 284 MB and I would like to reduce it by atleast 40-50MBs. Here is the output of dpkg--get-selections:

Code:
adduser						install
apt						install
apt-utils					install
aptitude					install
at						install
autofs						install
base-config					deinstall
base-files					install
base-passwd					install
bash						install
bc						install
belocs-locales-bin				deinstall
belocs-locales-data				deinstall
binutils					install
bison						install
bsdmainutils					install
bsdutils					install
bzip2						install
console-common					install
console-data					install
console-tools					install
coreutils					install
cpio						install
cpp						install
cpp-3.3						install
cpp-4.1						install
cramfsprogs					install
cron						install
dash						install
dc						install
debconf						install
debconf-i18n					install
debfoster					install
debian-archive-keyring				install
debianutils					install
deborphan					install
dhcp-client					install
dialog						install
diff						install
discover					install
discover-data					install
dmidecode					install
dpkg						install
dselect						install
e2fslibs					install
e2fsprogs					install
ed						install
eject						install
exim4-base					install
exim4-config					install
exim4-daemon-light				install
fdutils						install
file						install
findutils					install
flex						install
ftp						install
gcc						install
gcc-3.3						install
gcc-3.3-base					install
gcc-4.1						install
gcc-4.1-base					install
gettext-base					install
gnupg						install
gpgv						install
grep						install
groff-base					install
grub						install
gzip						install
hal						deinstall
hdparm						install
hostname					install
hotplug						deinstall
hwinfo						install
ifupdown					install
info						install
initrd-tools					install
initscripts					install
iptables					install
iputils-ping					install
klogd						install
laptop-detect					install
less						install
libacl1						install
libattr1					install
libblkid1					install
libbz2-1.0					install
libc6						install
libc6-dev					install
libcap1						install
libcomerr2					install
libconsole					install
libdb4.2					install
libdb4.3					install
libdb4.4					install
libdbus-1-3					install
libdevmapper1.02				install
libdiscover2					install
libedit2					install
libexpat1					install
libgcc1						install
libgcrypt11					install
libgdbm3					install
libglib2.0-0					deinstall
libgnutls13					install
libgpg-error0					install
libgpmg1					install
libhal-storage1					install
libhal0						deinstall
libhal1						install
libhd13						install
libiw28						install
libkrb53					install
libldap2					install
liblocale-gettext-perl				install
liblockfile1					install
liblzo1						install
libmagic1					install
libncurses5					install
libncursesw5					install
libnewt0.51					deinstall
libnewt0.52					install
libopencdk8					install
libpam-modules					install
libpam-runtime					install
libpam0g					install
libpci2						install
libpcre3					install
libpopt0					install
libreadline5					install
libsasl2-2					install
libselinux1					install
libsepol1					install
libsigc++-2.0-0c2a				install
libslang2					install
libss2						install
libssl0.9.8					install
libssp0						install
libstdc++6					install
libsysfs2					install
libtasn1-2					deinstall
libtasn1-3					install
libtext-charwidth-perl				install
libtext-iconv-perl				install
libtext-wrapi18n-perl				install
libusb-0.1-4					install
libuuid1					install
libvolume-id0					install
libwrap0					install
libx11-6					deinstall
libxau6						deinstall
libxdmcp6					deinstall
links						install
linux-image-2.6.18-4-686		        install
linux-kernel-headers				install
localeconf					install
localepurge					install
locales						install
lockfile-progs					install
login						install
logrotate					install
lsb-base					install
lsof						install
m4						install
mailx						install
make						install
makedev						install
man-db						install
manpages					install
mawk						install
mdetect						install
mktemp						install
module-init-tools				install
modutils					install
mount						install
nano						install
ncurses-base					install
ncurses-bin					install
net-tools					install
netbase						install
netkit-inetd					deinstall
nvi						install
openbsd-inetd					install
openssh-client					install
openssh-server					install
passwd						install
pciutils					install
pcmcia-cs					install
pcmciautils					install
perl-base					install
pmount						install
procps						install
psmisc						install
readline-common					install
sed						install
sharutils					install
splashy						install
ssh						install
sysklogd					install
sysv-rc						install
sysvinit					install
sysvinit-utils					install
tar						install
tasksel						install
tasksel-data					install
tcpd						install
telnet						install
tzdata						install
ucf						install
udev						install
update-inetd					install
usbmount					install
usbutils					install
util-linux					install
wget						install
whiptail					install
wireless-tools					install
zlib1g						install
Please note that I have already used localepurge, deborphan, debfoster, remove docs folder,etc.

I would now further like to reduce the installation size by removing packages that are unecessary. All I need is to reduce to a basic text base system from which I can connect to Internt and use apt-get to install/remove packages and perform some basic admin functions.

Thanks
 
Old 06-22-2007, 04:40 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
you could just use debian net install, and only install packages form the disk
 
Old 06-22-2007, 04:46 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by AceofSpades19
you could just use debian net install, and only install packages form the disk

Majority of these packages are from netinstall only.

Thanks
 
Old 06-22-2007, 04:52 PM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
I don't quite see a question in your post. Anyway, this will list the installed packages by size:
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n

You could probably remove bison, openbsd-inetd, splashy, telnet, pcmcia-cs and pcmciautils if you don't have a laptop and replace exim with something lighter. Also you might not need both 3.3 and 4.1 gcc versions. Set up your hardware manually and get rid of discover. Do a "apt-get clean". It's a bit difficult really to say what you might not need.
 
Old 06-22-2007, 10:14 PM   #5
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by makuyl
I don't quite see a question in your post. Anyway, this will list the installed packages by size:
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n

You could probably remove bison, openbsd-inetd, splashy, telnet, pcmcia-cs and pcmciautils if you don't have a laptop and replace exim with something lighter. Also you might not need both 3.3 and 4.1 gcc versions. Set up your hardware manually and get rid of discover. Do a "apt-get clean". It's a bit difficult really to say what you might not need.
Thanks Makuyl...I will try your suggestions...Basically what I need is a minimal debian system which can fit on a 256 MB Compact Flash device.

Thanks
 
Old 06-22-2007, 11:32 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Have you looked at the Debian-Live project ?

http://debian-live.alioth.debian.org/
http://wiki.debian.org/DebianLive

the Debian-Live Etch image appears to be around 85 MB

Last edited by farslayer; 06-22-2007 at 11:33 PM.
 
Old 06-23-2007, 03:11 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Debian minimal install is around 100MB using debbootstrap (at least sarge was around 110Mb if I remember, dunno for etch)
Going under is another level of tweaking, you can't remove packages like this, they have to be recompiled or replaced by alternatives. There is embedian project also.
 
Old 06-25-2007, 02:33 PM   #8
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by nx5000
Debian minimal install is around 100MB using debbootstrap (at least sarge was around 110Mb if I remember, dunno for etch)
Going under is another level of tweaking, you can't remove packages like this, they have to be recompiled or replaced by alternatives. There is embedian project also.
Thanks nx5000. I guess that's what I have been looking for. Do you any pointer/tutorials which explains how to minimally install Debian using debbootstrab as you mentioned in your last post?

Thanks a lot buddy...
 
  


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
upgrade packages, remove old? pyre Linux - Newbie 6 11-10-2006 10:27 AM
remove packages acrors Fedora 3 09-25-2004 07:08 AM
how to remove packages Longinus Linux - Newbie 6 04-25-2004 06:53 PM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM
Cannot Remove Packages!! sbb Linux - Newbie 1 08-22-2003 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:33 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
Open Source Consulting | Domain Registration