LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2010, 10:18 PM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
How to install CentOS with lesser RPMs?


I have been challenged to install CentOS occupying just 200 MB.
As for now, I installed the OS with only first CD.

Just put :

@core

under %package directive in ks.cfg.
I can see the space as of now is:
Code:
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              13G  740M   12G  9% /
/dev/sda1              99M   12M   83M  12% /boot
tmpfs                 125M     0  125M   0% /dev/shm
I need to make it to atleast 300MB.
I can see those RPM lying in Linux Box:

Code:
df -hyum remove 389*df -hyum remove *ldap*df -hrpm -qa --qf '%11{SIZE} %{NAME}\n' | sort -k1n
          0 basesystem
          0 filesystem
          0 gpg-pubkey
          0 gpg-pubkey
        441 java-1.4.2-gcj-compat
        620 rootfiles
       1004 crontabs
       1322 xorg-x11-filesystem
       5257 fipscheck-lib
       5545 htmlview
       6764 dmraid-events
       7067 setarch
       7334 mkbootdisk
       8048 rdate
       8512 libXinerama
       8951 svrcore-devel
       9062 symlinks
      11636 libtermcap
      12556 perl-String-CRC32
      13488 mktemp
      13741 sgpio
      14296 libattr
      15413 unix2dos
      16625 tmpwatch
      17161 time
      17315 hicolor-icon-theme
      17442 svrcore
      17914 libXrandr
      18295 mailcap
      19474 libXres
      19672 libXfixes
      19914 libXxf86vm
      20015 hesiod
      20725 libXtst
      20892 ntsysv
      20915 mcstrans
      21879 fipscheck
      22091 epel-release
      22740 device-mapper-event
      24460 libacl
      25670 finger
      25771 rng-utils
      25936 talk
      26448 irqbalance
      27429 cyrus-sasl-gssapi
      28412 libdrm
      29084 libXau
      29596 mingetty
      29674 setserial
      30696 libvolume_id
      30946 libXdmcp
      31084 ibmasm
      31312 cyrus-sasl-plain
      31385 which
      31624 avahi-compat-libdns_sd
      31918 libaio
      32069 libevent
      32142 dos2unix
      32616 pam_ccreds
      32836 keyutils-libs
      35428 pcsc-lite-libs
      35485 centos-release
      35574 libgssapi
      36452 libutempter
      37181 acpid
      40636 libselinux-utils
      41700 tree
      43437 libXi
      43673 ifd-egate
      43762 libcap
      46464 amtu
      46478 gdbm
      46969 libXrender
      47013 libSM
      48068 yum-fastestmirror
      48123 iptstate
      48984 libdaemon
      50660 centos-release-notes
      50893 libtool-ltdl
      52092 libusb
      52094 pam_passwdqc
      53031 cpuspeed
      53778 logrotate
      53811 yum-metadata-parser
      53939 ypbind
      54334 libXcursor
      55024 anacron
      55882 yum-updatesd
      57535 paps
      58245 portmap
      58248 fbset
      58585 pcmciautils
      59806 traceroute
      60955 keyutils
      63638 ed
      63928 rsh
      65767 cyrus-sasl-md5
      67164 pam_smb
      68161 startup-notification
      70404 bzip2-libs
      72968 libgcc
      75351 libXext
      75769 hdparm
      75867 bzip2
      78943 at
      79276 zlib
      79890 hmaccalc
      80248 libXft
      80489 libhugetlbfs
      80836 giflib
      86109 ftp
      87089 mlocate
      87508 elfutils-libelf
      87839 oddjob-libs
      88420 mailx
      88843 numactl
      89008 usbutils
      89616 mtr
      91892 libselinux
      98504 telnet
     100156 psacct
     107328 patch
     108941 libICE
     109233 pkgconfig
     109711 nc
     111613 sysfsutils
     114755 pax
     117240 nscd
     117252 python-sqlite
     118245 bluez-libs
     119579 attr
     119616 desktop-file-utils
     119831 oddjob
     120336 sysklogd
     120464 rpm-python
     120853 dosfstools
     125500 irda-utils
     127466 popt
     129765 eject
     130992 libselinux-python
     134565 python-iniparse
     139226 libsysfs
     143009 cracklib
     149350 acl
     152052 dmidecode
     152381 psmisc
     156546 libart_lgpl
     157759 yp-tools
     158955 audit-libs
     160286 pciutils
     161370 expat
     163737 ethtool
     165792 rdist
     167005 jpackage-utils
     167898 udftools
     169647 less
     177422 gzip
     180704 wireless-tools
     180749 vconfig
     187904 bc
     190090 gamin-python
     191863 libgpg-error
     194173 SysVinit
     196689 libpcap
     203136 libIDL
     206318 coolkey
     210244 e2fsprogs-libs
     223885 pcre
     225306 stunnel
     229533 rp-pppoe
     242714 newt
     243928 libsepol
     246865 tcp_wrappers
     247043 m4
     249844 audit-libs-python
     250432 nspr
     251880 dbus-libs
     259728 pam_krb5
     260631 jwhois
     261987 readahead
     264919 apr
     268504 dhcpv6-client
     268613 iputils
     273619 info
     273677 libjpeg
     276137 pygobject2
     285867 bind-utils
     287167 cpio
     291135 conman
     291621 unzip
     293789 pinfo
     296095 cyrus-sasl-lib
     302492 zip
     306681 python-elementtree
     307337 db4-utils
     313822 gpm
     316964 procmail
     324608 cups-libs
     326859 mtools
     328527 sed
     343616 pcsc-lite
     344669 readline
     346427 gnu-efi
     350802 dnsmasq
     351780 man
     361007 iptables-ipv6
     366472 gamin
     368223 libXt
     369845 fontconfig
     372025 procps
     381609 setup
     387373 ccid
     389429 libsemanage
     393131 ecryptfs-utils
     401189 rsync
     402103 php-common
     423266 sqlite
     438019 grep
     473678 dbus-glib
     473845 curl
     478241 python-urlgrabber
     486040 rmt
     486627 openssh-server
     505593 postgresql-libs
     506972 dbus
     523997 libgcrypt
     524854 nspr-devel
     529442 libwnck
     538801 checkpolicy
     544150 dhclient
     544974 sos
     555448 diffutils
     565736 iptables
     580350 libpng
     581523 chkconfig
     592758 bitstream-vera-fonts
     594693 vim-minimal
     600183 libidn
     606077 wpa_supplicant
     608648 pkinit-nss
     614715 dbus-python
     626801 freetype
     633357 vixie-cron
     657299 MAKEDEV
     677512 findutils
     722618 avahi
     740857 libtiff
     743770 ORBit2
     744114 openssh
     748385 redhat-menus
     756643 smartmontools
     764183 net-tools
     775973 pam_pkcs11
     799783 quota
     801563 pango
     801756 module-init-tools
     807103 termcap
     811968 trousers
     830544 ppp
     832005 slang
     832741 gnutls
     850358 lsof
     867182 openssh-clients
     875959 atk
     883169 ipsec-tools
     887950 kpartx
     904278 audit
     925520 libstdc++
     925980 mgetty
     927398 jss
     935797 rhpl
     937137 mkinitrd
     964438 tcpdump
    1011055 logwatch
    1018090 nss-devel
    1045080 make
    1057819 grub
    1069605 system-config-securitylevel-tui
    1104238 tcsh
    1118786 cairo
    1153127 alsa-lib
    1249699 microcode_ctl
    1311536 syslinux
    1325996 cryptsetup-luks
    1336079 nano
    1337444 hwdata
    1386546 parted
    1429279 krb5-libs
    1476820 wget
    1546362 device-mapper
    1590241 libxml2
    1629140 dmraid
    1649886 krb5-workstation
    1666385 file
    1669541 tar
    1706910 nss_db
    1737710 prelink
    1774211 m2crypto
    1788404 gjdoc
    1835164 unixODBC
    1855860 tzdata
    1862048 lm_sensors
    2049092 bind-libs
    2057044 rpm-libs
    2120504 policycoreutils
    2125026 db4
    2145519 iproute
    2206220 lftp
    2209547 e2fsprogs
    2332888 pdns
    2335235 dump
    2378298 libxml2-python
    2400549 nash
    2420929 glib2
    2541468 pam
    2573406 antlr
    2719079 shadow-utils
    2725624 nss
    2742849 libicu-devel
    2828797 tcl
    2828939 ncurses
    2865482 libX11
    2869921 aspell
    2925462 ksh
    2988540 setools
    3051960 nss-tools
    3317248 net-snmp-libs
    3394569 yum
    3488863 openssl
    3551911 aspell-en
    3703742 rpm
    3733304 cyrus-sasl-devel
    3840417 crash
    3957159 gettext
    3982741 man-pages
    4348327 gawk
    4706644 util-linux
    4956514 words
    5202728 udev
    5303717 groff
    5349546 bash
    5471372 initscripts
    6133149 lvm2
    6376032 device-mapper-multipath
    7176284 binutils
    7613948 selinux-policy
    8043753 cracklib-dicts
    9054044 coreutils
   12629247 glibc
   13109644 libicu
   19549922 gtk2
   20474820 specspo
   21614489 python
   26982540 mesa-libGL
   27805586 redhat-logos
   29734022 perl
   29887897 selinux-policy-targeted
   41768271 libgcj
   43435228 kernel
   66653127 glibc-common
   78673005 java-1.6.0-openjdk
I will remove java, selinux-* but what other package I can remove.

Note: I dont need any application to run but just bare OS.

Pls Suggest !!!
 
Old 01-31-2010, 12:34 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
This has been asked before. Please search the forums.

Evo2.
 
1 members found this post helpful.
  


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
Custom CentOS 5 Install with ks.cfg file and centOS all in one linux_newb Linux - Server 1 01-14-2010 07:13 PM
LXer: How To Build Red Hat Enterprise IPA RPMs For CentOS 5 LXer Syndicated Linux News 0 09-24-2008 09:41 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM
Advantage of lesser RPM on the server? sp149 Linux - General 5 06-14-2007 09:41 PM
10.1 vs 10.2 lesser of 2 evils? crazibri SUSE / openSUSE 3 01-12-2007 06:12 AM


All times are GMT -5. The time now is 05:01 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration