next up previous
Next: Other Documents and Formats Up: Installing cAos with Cinch Previous: First Boot

Installing Additional Packages

After login, you can install additional packages with 'yum', but you will have to reconfigure it first because the CD cinch install sets the yum software package repository to the CDROM drive. If you have networking set up, and an internet connection, edit '/etc/yum.conf' so that it contains this:

  [main]
  cachedir=/var/cache/yum
  debuglevel=2
  logfile=/var/log/yum.log
  pkgpolicy=newest
  distroverpkg=caos-release
  installonlypkgs=linux linux-smp kernel kernel-smp

  #[core]
  #name=cAos CDROM - core
  #baseurl=file:///mnt/cdrom/cAos-1//i386

  [net_certified]
  name=cAos certified
  baseurl=http://mirror.caosity.org/cAos-1/certified/i386

  #[net_crazy]
  #name=cAos crazy
  #baseurl=http://mirror.caosity.org/cAos-1/crazy/i386

and save the file. Uncomment the "crazy" stanza if you want to have access to new and untested packages via 'yum'. Then try a few 'yum' commands:

  $ yum update 
  $ yum install gnome
  $ yum install openssh-server
  $ yum install warewulf
  $ yum --installroot /vnfs/warewulf install warewulf-node

and use it to keep your cAos Linux system updated with the latest versions of software packages (and other fun things):

  $ yum check-update 
  $ yum -y update 
  $ yum update 'openssh*'
  $ yum search 'openssh*'
  $ yum info 'openssh*'

NOTE: yum is capable of using wildcard characters when searching for packages, but the patterns should be protected from the shell: put single quotes (') around them. Also make note that the example about uses 'update', not 'upgrade' (because 'upgrade' is deprecated).

NOTE: To finish the gnome (and XFree86) installation in the example above you will have to execute some configuration commands for X (for now):

  $ xf86config

or you can try this (but it may fail):

  $ X -configure
  $ mv /root/XF86Config.new /etc/X11/XF86Config

and then start up X windows:

  $ startx

and hopefully you will have a functional (if sparse) gnome desktop environment.

For more information about 'yum', use the 'man yum' command and look at these articles:

http://www.phy.duke.edu/~rgb/General/yum_article/yum_article/

http://www.phy.duke.edu/~rgb/General/yum_HOWTO/yum_HOWTO/


next up previous
Next: Other Documents and Formats Up: Installing cAos with Cinch Previous: First Boot
Troy Johnson 2004-05-21