Minimal Etch netinst with X

Share your own howto's etc. Not for support questions!

Minimal Etch netinst with X

Postby mzilikazi » 2007-04-11 18:21

This is not a 'How to install Etch' guide.
If you need help on installing Debian read the Installation Manual or use google or read another howto with screens.

Maybe you have a spare partition of only 2 or 3G or, like myself you prefer an extremely minimal installation w/ a lightweight "just works" desktop like the fabulous fluxbox window manager and wdm as login manager. Of course you can choose any window manager or log in manager.

Some of the lightweight window managers could be:
Code: Select all
fluxbox
blackbox
icewm
wmaker
ratpoison


Log in managers:
Code: Select all
xdm
wdm
gdm
kdm


Minimal Etch installation.
1) Download the iso
2) Burn the iso
3) Install Etch
4) Reboot
5) Install Xwindows & a window manager.

Uh oh - get ready to type something!
Loathe it or love it you cannot deny the power of the command line.

Browse the available images:
http://www.us.debian.org/CD/netinst/

Code: Select all
wget http://cdimage.debian.org/debian-cd/4.0_r0/i386/iso-cd/debian-40r0-i386-netinst.iso
wodim dev=/dev/hda speed=8 -v debian-40r0-i386-netinst.iso && eject /dev/hda

Boot installtion cd.
Code: Select all
installgui

At the Debian Software Selection menu
Code: Select all
Desktop Environment - NO
Standard system - YES

*NOTE* You can choose to select NO for Standard system for approximately 408M installed size.
Complete the installation.
Reboot
Log in as root
Code: Select all
apt-get install xorg bzip2 unp zip unzip wdm sux mrxvt iceweasel leafpad rox-filer gpm mc alsa-base alsa-utils synaptic menu
fluxbox

If your login manager of choice does not automatically start choose 1:
Code: Select all
/etc/init.d/wdm start
/etc/init.d/gdm start
/etc/init.d/kdm start


Slim & trim, looking sexy, less filling, tastes great and all that and you can actually get something done.

Edit:
menu added to applications list as suggested.
Also left "Standard system - YES" as originally written to annoy thamarok
Last edited by mzilikazi on 2007-09-23 17:04, edited 5 times in total.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby Lou » 2007-04-11 18:44

It seems to me if you're doing a minimal install, the display managers are not needed; startx will do, if you want to switch wm, just use the debian menu:

Programs > Window managers

OR

# update-alternatives --config x-window-manager

Also in the apps installation you are missing the app 'menu'.

Good howto!

Edit: nowadays you don't need x-window-system-core, 'xorg' will suffice; it was used to smooth the transition from Sarge to Etch.

luigi@debian:~$ apt-cache show x-window-system-core
Package: x-window-system-core
Priority: optional
Section: x11
Installed-Size: 44
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Architecture: all
Source: xorg
Version: 1:7.1.0-18
Depends: xorg
Filename: pool/main/x/xorg/x-window-system-core_7.1.0-18_all.deb
Size: 18468
MD5sum: 46cbbd8e6e0a4a1e035689237e9e803d
SHA1: aa3bdd1b45066349d8ccf3ac425f67a4f0987a5e
SHA256: be9d0d312486916270c78263df1ffa88895af0b366d003e80c527108b17bda1f
Description: transitional package for Debian etch
This package is provided to smooth upgrades from Debian 3.1 ("sarge") to
Debian etch. It may be safely removed from your system. It depends on the
xorg package which is the new metapackage for installing the X Window
System in Debian.
Tag: interface::x11, role::metapackage, special::meta, x11::xserver
Last edited by Lou on 2007-04-12 00:34, edited 2 times in total.
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid
Lou
 
Posts: 1775
Joined: 2006-05-08 02:15

Postby thamarok » 2007-04-11 19:14

For a minimal installation, I would recommend:
Standard system - NO NO NO!

Because it installs 170+ packages, from which only a few would qualify to a real minimal installation. (My opinion)
I have always installed without the Standard system selected, and my Debian works fine just like it should (!).
thamarok
 

Postby garrincha » 2007-04-11 21:11

thamarok wrote:For a minimal installation, I would recommend:
Standard system - NO NO NO!

Because it installs 170+ packages, from which only a few would qualify to a real minimal installation. (My opinion)
I have always installed without the Standard system selected, and my Debian works fine just like it should (!).


170+ packages with just standard base install?

I don't recall it was that much, I think that it was around 80+ packages. Or was an extra 90+ packages been added recently?

Yeah, I have one HDD of only 4G so for fresh install I don't do standard install, just boot into console, edit my sources.list, update and dist-upgrade.
Maurice Green on Usain Bolt's 9.58: "The Earth stopped for a second, and he went to Mars."
User avatar
garrincha
 
Posts: 2340
Joined: 2006-06-02 16:38

Postby Jackiebrown » 2007-04-11 22:51

thamarok wrote:For a minimal installation, I would recommend:
Standard system - NO NO NO!

Because it installs 170+ packages, from which only a few would qualify to a real minimal installation. (My opinion)
I have always installed without the Standard system selected, and my Debian works fine just like it should (!).


I go for a trim system but not really a minimal. That said, I also never say yes to standard system. For me (and for other it is useful) it is mainly junk.
User avatar
Jackiebrown
 
Posts: 1276
Joined: 2007-01-02 04:46
Location: San Antonio, TX

Postby esaym » 2007-04-12 12:04

garrincha wrote:
thamarok wrote:For a minimal installation, I would recommend:
Standard system - NO NO NO!

Because it installs 170+ packages, from which only a few would qualify to a real minimal installation. (My opinion)
I have always installed without the Standard system selected, and my Debian works fine just like it should (!).


170+ packages with just standard base install?

I don't recall it was that much, I think that it was around 80+ packages. Or was an extra 90+ packages been added recently?

Yeah, I have one HDD of only 4G so for fresh install I don't do standard install, just boot into console, edit my sources.list, update and dist-upgrade.


Is there a list anywhere of what it installs?
esaym
 
Posts: 190
Joined: 2007-04-05 03:59

Postby esters » 2007-04-12 13:57

Debian Netinstall image (RC1) installs 152 packages, you can check it out by typing : dpkg -l | grep ^ii | wc -l

I would recommend not to use ANY of display managers, instead add :
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
startx
fi

to your ~.bash_profile. It will automaticly execute the wm/de session from ~.xinitrc after loging your username and typing your password. And i don't think it is a good choise to select "Standart System" , just untick all of them and install the packages you need.

Edit :

I have almost completed configuring my Debian box , currently i have 1,5GB of used space with Xfce4 and all kinds of apps , Xchat, Iceweasel, Mplayer, Avidemux, Abiword, DC++ , Transmission, GIMP, EOG, etc...
esters
 
Posts: 70
Joined: 2006-09-05 14:35

Postby garrincha » 2007-04-12 17:22

esaym wrote:Is there a list anywhere of what it installs?


Use the similar command as esters posted:
Code: Select all
$dpkg -l


To save a copy:
Code: Select all
$dpkg -l > /home/user/package.txt
Maurice Green on Usain Bolt's 9.58: "The Earth stopped for a second, and he went to Mars."
User avatar
garrincha
 
Posts: 2340
Joined: 2006-06-02 16:38

Postby AgenT » 2007-04-12 22:27

esters wrote:I would recommend not to use ANY of display managers, instead add :
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
startx
fi

to your ~.bash_profile.
That is pretty clever!

Also note that there are plenty of terminal login managers, most of which use framebuffer and use themes.
User avatar
AgenT
 
Posts: 500
Joined: 2007-01-21 01:25

Postby rickh » 2007-04-12 23:05

dpkg -i will list all the packages installed on the computer, but I think the request was, "What programs are installed by the Standard System task."
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
User avatar
rickh
 
Posts: 3473
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

Postby garrincha » 2007-04-12 23:37

Ah...I'm not sure about getting list of packages in the standard system. I did saved an old copy of file showing which packages installed on my base debian/unstable system after I did update and dist-upgrade from testing:
Code: Select all
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                     Version                         Description
+++-========================-====================
ii  acpid                    1.0.4-7.1                       Utilities for using ACPI power management
ii  adduser                  3.102                           Add and remove users and groups
ii  apt                      0.6.46.4-0.1                    Advanced front-end for dpkg
ii  apt-utils                0.6.46.4-0.1                    APT utility programs
ii  aptitude                 0.4.4-4                         terminal-based apt frontend
ii  base-files               4.0                             Debian base system miscellaneous files
ii  base-passwd              3.5.11                          Debian base system master password and group
ii  bash                     3.1dfsg-8                       The GNU Bourne Again SHell
ii  bsdmainutils             6.1.6                           collection of more utilities from FreeBSD
ii  bsdutils                 2.12r-19                        Basic utilities from 4.4BSD-Lite
ii  busybox                  1.1.3-4                         Tiny utilities for small and embedded system
ii  console-common           0.7.69                          Basic infrastructure for text console config
ii  console-data             1.01-7                          Keymaps, fonts, charset maps, fallback table
ii  console-tools            0.2.3dbs-65                     Linux console and font utilities
ii  coreutils                5.97-5.3                        The GNU core utilities
ii  cpio                     2.7-1                           GNU cpio -- a program to manage archives of
ii  cron                     3.0pl1-100                      management of regular background processing
ii  cyrus-sasl2-doc          2.1.22.dfsg1-8                  Documentation for Cyrus SASL library and uti
ii  debconf                  1.5.13                          Debian configuration management system
ii  debconf-i18n             1.5.13                          full internationalization support for debcon
ii  debian-archive-keyring   2007.02.19                      GnuPG archive keys of the Debian archive
ii  debianutils              2.18                            Miscellaneous utilities specific to Debian
ii  dhcp3-client             3.0.4-14                        DHCP Client
ii  dhcp3-common             3.0.4-14                        Common files used by all the dhcp3* packages
ii  dictionaries-common      0.70.12                         Common utilities for spelling dictionary too
ii  diff                     2.8.1-11                        File comparison utilities
ii  dmidecode                2.8-4                           Dump Desktop Management Interface data
ii  dpkg                     1.13.25                         package maintenance system for Debian
ii  dselect                  1.13.25                         user tool to manage Debian packages
ii  e2fslibs                 1.39+1.40-WIP-2006.11.14+dfsg-2 ext2 filesystem libraries
ii  e2fsprogs                1.39+1.40-WIP-2006.11.14+dfsg-2 ext2 file system utilities and libraries
ii  ed                       0.2-20                          The classic unix line editor
ii  eject                    2.1.4-3                         ejects CDs and operates CD-Changers under Li
ii  findutils                4.2.28-2                        utilities for finding files--find, xargs, an
ii  gcc-4.1-base             4.1.1-21                        The GNU Compiler Collection (base package)
ii  gnupg                    1.4.6-2                         GNU privacy guard - a free PGP replacement
ii  gpgv                     1.4.6-2                         GNU privacy guard - signature verification t
ii  grep                     2.5.1.ds2-6                     GNU grep, egrep and fgrep
ii  groff-base               1.18.1.1-12                     GNU troff text-formatting system (base syste
ii  grub                     0.97-27                         GRand Unified Bootloader
ii  gzip                     1.3.9-2                         The GNU compression utility
ii  hostname                 2.93                            utility to set/show the host name or domain
ii  ibritish                 3.1.20.0-4.3                    A British English dictionary for ispell
ii  ifupdown                 0.6.8                           high level tools to configure network interf
ii  info                     4.8.dfsg.1-4                    Standalone GNU Info documentation browser
ii  initramfs-tools          0.86                            tools for generating an initramfs
ii  initscripts              2.86.ds1-38                     Scripts for initializing and shutting down t
ii  installation-report      2.30                            system installation report
ii  iptables                 1.3.6.0debian1-5                administration tools for packet filtering an
ii  iputils-ping             20020927-6                      Tools to test the reachability of network ho
ii  ispell                   3.1.20.0-4.3                    International Ispell (an interactive spellin
ii  klibc-utils              1.5-2                           small statically-linked utilities built with
ii  klogd                    1.4.1-20                        Kernel Logging Daemon
ii  laptop-detect            0.12.1-0.1                      attempt to detect a laptop
ii  libacl1                  2.2.42-1                        Access control list shared library
ii  libattr1                 2.4.32-1.1                      Extended attribute shared library
ii  libblkid1                1.39+1.40-WIP-2006.11.14+dfsg-2 block device id library
ii  libbz2-1.0               1.0.3-6                         high-quality block-sorting file compressor l
ii  libc6                    2.3.6.ds1-13                    GNU C Library: Shared libraries
ii  libc6-i686               2.3.6.ds1-13                    GNU C Library: Shared libraries [i686 optimi
ii  libcap1                  1.10-14                         support for getting/setting POSIX.1e capabil
ii  libcomerr2               1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii  libconsole               0.2.3dbs-65                     Shared libraries for Linux console and font
ii  libdb4.2                 4.2.52+dfsg-2                   Berkeley v4.2 Database Libraries [runtime]
ii  libdb4.3                 4.3.29-8                        Berkeley v4.3 Database Libraries [runtime]
ii  libdb4.4                 4.4.20-8                        Berkeley v4.4 Database Libraries [runtime]
ii  libdevmapper1.02         1.02.12-1                       The Linux Kernel Device Mapper userspace lib
ii  libgcc1                  4.1.1-21                        GCC support library
ii  libgcrypt11              1.2.4-2                         LGPL Crypto library - runtime library
ii  libgdbm3                 1.8.3-3                         GNU dbm database routines (runtime version)
ii  libgnutls13              1.4.4-3                         the GNU TLS library - runtime library
ii  libgpg-error0            1.4-2                           library for common error values and messages
ii  libklibc                 1.5-2                           minimal libc subset for use with initramfs
ii  libldap2                 2.1.30-13.4                     OpenLDAP libraries
ii  liblocale-gettext-perl   1.05-1                          Using libc functions for internationalizatio
ii  liblzo1                  1.08-3                          data compression library (old version)
ii  libncurses5              5.5-5                           Shared libraries for terminal handling
ii  libncursesw5             5.5-5                           Shared libraries for terminal handling (wide
ii  libnewt0.52              0.52.2-10                       Not Erik's Windowing Toolkit - text mode win
ii  libopencdk8              0.5.13-2                        Open Crypto Development Kit (OpenCDK) (runti
ii  libpam-modules           0.79-4                          Pluggable Authentication Modules for PAM
ii  libpam-runtime           0.79-4                          Runtime support for the PAM library
ii  libpam0g                 0.79-4                          Pluggable Authentication Modules library
ii  libpopt0                 1.10-3                          lib for parsing cmdline parameters
ii  libreadline5             5.2-2                           GNU readline and history libraries, run-time
ii  libsasl2                 2.1.22.dfsg1-8                  Authentication abstraction library
ii  libsasl2-2               2.1.22.dfsg1-8                  Authentication abstraction library
ii  libselinux1              1.32-3                          SELinux shared libraries
ii  libsepol1                1.14-3                          Security Enhanced Linux policy library for c
ii  libsigc++-2.0-0c2a       2.0.17-2                        type-safe Signal Framework for C++ - runtime
ii  libslang2                2.0.6-4                         The S-Lang programming library - runtime ver
ii  libss2                   1.39+1.40-WIP-2006.11.14+dfsg-2 command-line interface parsing library
ii  libssl0.9.8              0.9.8e-4                        SSL shared libraries
ii  libstdc++6               4.1.1-21                        The GNU Standard C++ Library v3
ii  libtasn1-3               0.3.9-1                         Manage ASN.1 structures (runtime)
ii  libtext-charwidth-perl   0.04-4                          get display widths of characters on the term
ii  libtext-iconv-perl       1.4-3                           converts between character sets in Perl
ii  libtext-wrapi18n-perl    0.06-5                          internationalized substitute of Text::Wrap
ii  libusb-0.1-4             0.1.12-6                        userspace USB programming library
ii  libuuid1                 1.39+1.40-WIP-2006.11.14+dfsg-2 universally unique id library
ii  libvolume-id0            0.105-4                         libvolume_id shared library
ii  libwrap0                 7.6.dbs-13                      Wietse Venema's TCP wrappers library
ii  linux-image-2.6-686      2.6.18+6                        Linux kernel 2.6 image on PPro/Celeron/PII/P
ii  linux-image-2.6.18-4-686 2.6.18.dfsg.1-12                Linux 2.6.18 image on PPro/Celeron/PII/PIII/
ii  locales                  2.3.6.ds1-13                    GNU C Library: National Language (locale) da
ii  login                    4.0.18.1-7                      system login tools
ii  logrotate                3.7.1-3                         Log rotation utility
ii  lsb-base                 3.1-23.1                        Linux Standard Base 3.1 init script function
ii  makedev                  2.3.1-83                        creates device files in /dev
ii  man-db                   2.4.4-2                         The on-line manual pager
ii  manpages                 2.43-0                          Manual pages about using a GNU/Linux system
ii  mawk                     1.3.3-11                        a pattern scanning and text processing langu
ii  mktemp                   1.5-2                           Makes unique filenames for temporary files
ii  module-init-tools        3.3-pre4-2                      tools for managing Linux kernel modules
ii  mount                    2.12r-19                        Tools for mounting and manipulating filesyst
ii  myspell-en-gb            2.0.4~rc1-3                     English_british dictionary for myspell
ii  nano                     2.0.3-1                         free Pico clone with some new features
ii  ncurses-base             5.5-5                           Descriptions of common terminal types
ii  ncurses-bin              5.5-5                           Terminal-related programs and man pages
ii  net-tools                1.60-17                         The NET-3 networking toolkit
ii  netbase                  4.29                            Basic TCP/IP networking system
ii  netcat                   1.10-33                         TCP/IP swiss army knife
ii  openbsd-inetd            0.20050402-6                    The OpenBSD Internet Superserver
ii  passwd                   4.0.18.1-7                      change and administer password and group dat
ii  perl-base                5.8.8-7                         The Pathologically Eclectic Rubbish Lister
ii  procps                   3.2.7-3                         /proc file system utilities
ii  readline-common          5.2-2                           GNU readline and history libraries, common f
ii  sed                      4.1.5-1                         The GNU sed stream editor
ii  sysklogd                 1.4.1-20                        System Logging Daemon
ii  sysv-rc                  2.86.ds1-38                     System-V-like runlevel change mechanism
ii  sysvinit                 2.86.ds1-38                     System-V-like init utilities
ii  sysvinit-utils           2.86.ds1-38                     System-V-like utilities
ii  tar                      1.16.1-1                        GNU tar
ii  tasksel                  2.66                            Tool for selecting tasks for installation on
ii  tasksel-data             2.66                            Official tasks used for installation of Debi
ii  tcpd                     7.6.dbs-13                      Wietse Venema's TCP wrapper utilities
ii  traceroute               1.4a12-21                       traces the route taken by packets over a TCP
ii  tzdata                   2007e-1                         Time Zone and Daylight Saving Time Data
ii  udev                     0.105-4                         /dev/ and hotplug management daemon
ii  update-inetd             4.27-0.5                        inetd.conf updater
ii  usbutils                 0.72-7                          USB console utilities
ii  util-linux               2.12r-19                        Miscellaneous system utilities
ii  util-linux-locales       2.12r-19                        Locales files for util-linux
ii  vim-common               7.0-219+1                       Vi IMproved - Common files
ii  vim-tiny                 7.0-219+1                       Vi IMproved - enhanced vi editor - compact v
ii  wbritish                 6-2                             British English dictionary words for /usr/sh
ii  wget                     1.10.2-2                        retrieves files from the web
ii  whiptail                 0.52.2-10                       Displays user-friendly dialog boxes from she
ii  zlib1g                   1.2.3-13                        compression library - runtime
Maurice Green on Usain Bolt's 9.58: "The Earth stopped for a second, and he went to Mars."
User avatar
garrincha
 
Posts: 2340
Joined: 2006-06-02 16:38

Postby mzilikazi » 2007-04-13 14:50

esaym wrote:Is there a list anywhere of what it installs?

Minimal Installion installed size:
408M
Standard Installation installed size:
561M
81 additional packages totaling 153M

Code: Select all
at
bc
bind9-host
dc
dictionaries-common
dnsutils
doc-debian
doc-linux-text
exim4
exim4-base
exim4-config
exim4-daemon-light
file
finger
ftp
gettext-base
iamerican
ibritish
ispell
less
libbind9-0
libdns22
libedit2
libevent1
libgc1c2
libgpmg1
libgssapi2
libidn11
libisc11
libisccc0
libisccfg1
libkrb53
liblockfile1
liblwres9
libmagic1
libnfsidmap2
libpci2
libpcre3
librpcsecgss3
libsemanage1
libtasn1-3-bin
lsof
m4
mailx
mime-support
mpack
mtools
mtr-tiny
mutt
ncurses-term
nfs-common
openssh-client
patch
pciutils
perl
perl-modules
pidentd
policycoreutils
portmap
procmail
python
python-central
python-minimal
python-newt
python-selinux
python-semanage
python-support
python2.4
python2.4-minimal
reportbug
selinux-policy-refpolicy-targeted
sharutils
strace
tcsh
telnet
texinfo
time
ucf
w3m
wamerican
whois
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby DeanLinkous » 2007-04-13 15:15

thx for the info
now I know what I do NOT get when I do NOT checkmark standard system :)
User avatar
DeanLinkous
 
Posts: 1611
Joined: 2006-06-04 15:28

Postby Blyiss » 2007-05-16 04:38

Nice howto. How to set up lpr?
Blyiss
 
Posts: 585
Joined: 2007-02-10 19:47
Location: Yakutia

Postby diego1116 » 2007-06-19 01:24

I was using Google to find out what packages are installed by the "Standard System" task and ended up here :)

That's why I love these forums... Thanks for all the tips!
User avatar
diego1116
 
Posts: 361
Joined: 2007-03-28 17:49
Location: Santa Maria, RS, Brazil

Next

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable