yutils is a nice utility toolbox for yorick. If none of these words mean anythig for you, you may want to have a look to this webpage before proceeding.

I offer here a simple installation shell script which should enable you to install it easily. You will need an Internet connexion for this installation, as it retrieves packages from the Internet.

Installation instructions :

You need first to download it on your computer, following the link.

To run it, type in a terminal :

chmod +x installYutils.sh
./installYutils.sh

You just then need to answer the following questions.

The code of the script is there:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#! /bin/bash
#*******************************************************************************
# Install script for amdlib, MIRA, imutils, etc.
#
# (c) 2010 F. Millour
#
# */
 
# Print usage 
function printUsage () {
    echo -e "Usage: `basename $0` [-h] [-y] [-C <dir>] [-F <dir>]"; 
    echo -e "\t-h\tprint this help.";
    exit 0;
}
 
# Parse command-line parameters
installOpts=""
while getopts "hyC:F:" option
do
    case $option in
	h ) # Help option
            printUsage;
            exit 0;;
	y ) # Assume yes option
            installOpts="$installOpts -$option";;
	* ) # Unknown option
            echo "Invalid option -- $option"
            printUsage;
            exit 1;;
    esac
done    
 
# Get kernel-name and hardware-platform
kernel=`uname -s`
if [ "$kernel" == "Darwin" ];
then
    platform=`uname -p`
else
    platform=`uname -m`
fi
 
 
# Get root directory
currDir=$PWD
 
####################################################
package_name=yutils
package_version=1.5.0
download_URL=http://ubuntu.mirror.server4you.net/ubuntu/pool/universe/y/yorick-${package_name}/
 
# Set log file
logFile=$PWD/${package_name}-install.log
rm -f $logFile
touch $logFile
if [ $? != 0 ]
then
    echo "ERROR - could not access log file $logFile"
    exit 1
fi
 
echo -e "Installing the ${package_name} software on $kernel/$platform...\n"
 
####################################################
echo -e "Downloading ${package_name}, version $package_version..."
curl -O ${download_URL}yorick-${package_name}_${package_version}.orig.tar.gz > $logFile 2>&1
if [ $? != 0 ]
then
    echo -e "\nERROR: See log file '$logFile' for details."
    exit 1;
fi
 
####################################################
echo -e "Uncompressing package..."
gunzip yorick-${package_name}_${package_version}.orig.tar.gz > $logFile 2>&1
if [ $? != 0 ]
then
    echo -e "\nERROR: See log file '$logFile' for details."
    exit 1;
fi
tar xf yorick-${package_name}_${package_version}.orig.tar > $logFile 2>&1
if [ $? != 0 ]
then
    echo -e "\nERROR: See log file '$logFile' for details."
    exit 1;
fi
rm -f yorick-${package_name}_${package_version}.orig.tar > $logFile 2>&1
if [ $? != 0 ]
then
    echo -e "\nERROR: See log file '$logFile' for details."
    exit 1;
fi
 
####################################################
echo -e "Installing package..."
cd yorick-${package_name}-${package_version}
yorick -batch make.i > $logFile 2>&1
if [ $? != 0 ]
then
    echo -e "\nERROR: See log file '$logFile' for details."
    exit 1;
fi
make > $logFile 2>&1
if [ $? != 0 ]
then
    echo -e "\nERROR: See log file '$logFile' for details."
    exit 1;
fi
make install > $logFile 2>&1
if [ $? != 0 ]
then
    echo -e "\nERROR: See log file '$logFile' for details."
    exit 1;
fi
cd ..
echo -e "\nDone!."