Download the latest Yorick distribution from the yorick
site. Installation is
straighforward (see the README file in the main distribution
directory). I suggest you
install yorick in ~/yorick-version_number
(just put, e.g.
yorick-2.1.05.tgz
in your home directory, gunzip and
untar). If you already have yorick installed you may of course skip
this last point.
Configure, build and install yorick. Out of the many ways to do this, I suggest:
cd ~/yorick-2.1 (or wherever you put it) make Y_HOME=`pwd` ysite make config make make install
I recommend to build yorick and the plugins with "CFLAGS=-O2".
yorick should be in ~/yorick-2.1/bin/
. Remember to add this to your PATH, e.g., if you use bash (put this at the end of you .bashrc -Linux- or .profile -OsX-):
export PATH=${HOME}/yorick-2.1/bin:${PATH}An very convenient addon, that will save you tons of time, is rlwrap. If you runs yorick within rlwrap, it will provide command line editing and recall, command and filenames completion, etc... I have defined an alias (bash) for yorick as follow:
alias yorick='rlwrap -s 2000 -c -f ~/.yorick/yorick.commands yorick'
Y_HOME/contrib
(Y_HOME
is where your yorick is, i.e. ~/yorick-2.1). Create the contrib
directory if it doesn't exist.tar zxvf plugin-version-src.tgz cd plugin-version
yorick -batch make.i
make make installsudo the last comment if yorick is install system-wide.
yorick -i check.i
i
, i0
and lib
, and in some cases also in python
, share
, etc (still under Y_HOME
).
./configure --enable-float --enable-shared make make install
prefix=/some/path
in configure if you don't have root access on your machine.