Dariush Debian Diary

Diariusz Dariusza

, 02, 2004

Permanent URL 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

Last modified on

powered by blosxom  Creative Commons License

Copyright ©1995-2004 Dariush Pietrzak. All content on this website, unless otherwise noted, is licensed under a Creative Commons License.
Using desktop theme, version 0.5. Check the Blosxom site for the latest copy.

Calendar

September 2007
Sun Mon Tue Wed Thu Fri Sat
           
           

Archives

Categories

Subscribe

Subscribe to a syndicated feed of this weblog, brought to you by the power of RSS.

XML