1@chapter Installation 2 3@section Installation from source with the configure script 4To build and install Xnee do the following: 5Download the following source files into a directory (version numbers given here are just examples) 6@itemize @bullet 7@item xnee-3.02.tar.gz 8@end itemize 9@* 10Unzip the source file 11@example 12@code{gunzip xnee-3.02.tar.gz} 13@end example 14 15@* 16Untar the source file 17@example 18@code{tar xvf xnee-3.02.tar} 19@end example 20 21@* 22Enter the Xnee directory 23@example 24@code{cd xnee-3.02} 25@end example 26 27@* 28Generate the makefiles 29@example 30@code{./configure} 31@end example 32@* 33or if you want to specify which directory to install xnee to 34@example 35@code{./configure --prefix=<PATH TO INSTALLATION DIR>} 36@end example 37 38@* 39Build Xnee 40@example 41@code{make clean all} 42@end example 43 44@* 45Install (as root) if you want libxnee to be installed. If not, skip the following command. Installation of libxnee is not needed to build cnee and gnee. 46@example 47@code{make install} 48@end example 49 50 51@section Installation from source with default Makefile 52To unpack, build and install Xnee from the sourcefiles do the following: 53@* 54Download the source files into a directory 55 56Unzip the source file 57@example 58@code{gunzip xnee-3.02.tar.gz} 59@end example 60 61Untar the source file 62@example 63@code{tar xvf xnee-3.02.tar} 64@end example 65 66Enter the Xnee directory 67@example 68@code{cd xnee-3.02} 69@end example 70 71Build Xnee 72@example 73@code{make -f Makefile.xnee clean all} 74@end example 75 76Copy the Xnee binary (xnee/src/xnee) to a directory 77@example 78@code{cp xnee/src/xnee /usr/local/bin} 79@end example 80 81 82 83 84 85@section Installation from CVS 86@* 87Download the xnee source code from the CVS repository at 88@url{http://savannah.gnu.org}. Instructions on how to do 89this can be found there as well. 90 91@* 92 93Build Xnee 94@example 95@code{cd xnee} 96@code{make -f Makefile.cvs} 97@code{./configure --enable-doc} 98@code{make} 99@code{make install} (optional) 100@end example 101 102 103Build Xnee Documentation 104@example 105@code{cd doc} 106@code{make manual} 107@code{make install} (as root) 108@code{cd ..} 109@end example 110 111 112