add ubuntu package to INSTALL
[snark14.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index cfc0c316271fc9d5f9cf450c8b45dfed712a6495..4c1bd17c54dd9096a58be46d8a1bdb08a6d8870b 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,12 +1,32 @@
-BUILDING SNARK14
+Installing SNARK14
+==================
 
-To build snark14 run the command:
+Install Prerequisites
+---------------------
+
+1. Install prerequisite packages. Note this version of SNARK14 has
+been ported to Xerces 3. For Debian or Ubuntu, the required packages
+can be installed with the following
+
+$ sudo apt install wget build-essential libx11-dev libxerces-c-dev libxext-dev
+
+2. Run the following command
+
+$ doc/install-qt3.sh
+
+to download and install QT3 into the /usr/local/qt directory which is
+required to build the graphical tools.
 
-$ make
 
-_________________
+Building SNARK14
+----------------
 
-The software will create the directories
+Run the commands
+
+$ make
+$ make install
+
+which will create and populate the directories of
 
 bin
 build
@@ -16,13 +36,10 @@ and it will install the SNARK14 in the following directory
 
 bin/snark14
 
-with the following libraries
+and install the binary in /usr/local/bin and the following shared
+libraries in /usr/local/lib:
 
 lib/libDIGFile.so
 lib/libDIGFileSnark.so
 lib/libDIGRand.so
-
-The building process assumes an installation of the original
-SNARK14 and XERCES 2.6.1 in the directory
-
-/usr/local/snark14
+lib/libsnark14.so