Howto easily install stuff in your home directory ( without uid=0, root )

  1. Get the toast:
     eyck@hostname:~$ wget -O- http://toastball.net/toast/toast|perl -x - arm toast
    (actually, you shouldn't do that. You should download the toast script, review it to make sure it realy does what is should, and then you can try running it)
  2. Prepare the environment:
     eyck@hostname:~$ ln -s .toast/armed/bin/ .
     eyck@hostname:~$ ln -s .toast/armed/man/ .
    Now add something like this to your .bash_profile:
    # set PATH so it includes user's private bin if it exists
    if [ -d ~/bin ] ; then
        PATH=~/bin:"${PATH}"
    fi
    
    # do the same with MANPATH
    if [ -d ~/man ]; then
        MANPATH=~/man:"${MANPATH}"
    fi
    
    And then load it:
     eyck@hostname:~$ . .bash_profile
    Your PATH should look roughly like this: PATH=/home/eyck/bin:/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/usr/bin
  3. Try it out:
     eyck@hostname:~$ toast arm openssh
    After few lines of getting the package... and then compiling it... you should see the results:
     eyck@hostname:~$ bin/ssh -V
    OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.6c 21 dec 2001
    

Congratulations! your toast is now ready to eat. You can now go berzerk:

 eyck@hostname:~$ toast arm mplayer
 eyck@hostname:~$ toast arm fluxbox
 eyck@hostname:~$ toast arm screen

| Howto easily install stuff in your home directory ( without uid=0, root ) | | 2004.02.02-21:21.00

 You are scrupulously honest, frank, and straightforward. Therefore you have few friends.