Fortunately I have local copy of this script. I like to execute these 
commands one by one and provide immediate reaction is something goes wrong.

The Script:

#!/bin/bash

# Assuming Ubuntu 16.04 LTS

# https://github.com/opencog/cogutils

# OpenCog Utils (cogutils), Atomspace and OpenCog Server

# v0.1- R. Hornbeck

echo "Updating Ubuntu packages..."

sudo apt-get -y update && apt-get upgrade

echo "Installing OpenCog depencencies..."

sudo apt-get -y install libboost-all-dev cmake cxxtest binutils-dev 
libiberty-dev doxygen git guile-2.0-dev cython postgresql postgresql-client 
unixodbc-dev libzmq3-dev libprotobuf-dev libsdl-gfx1.2-dev libsdl1.2-dev 
libzmq3-dev libtbb-dev libgeos-*

echo "Cloning and building CogUtils..."

cd /opt/ && git clone https://github.com/opencog/cogutils.git

cd cogutils && mkdir build && cd build && cmake .. && make && make test

echo "CogUtils build test successful..."

sudo make install

echo "OpenCog build and install successful."

echo "Cloning and building Atomspace..."

cd /opt/ && git clone https://github.com/opencog/atomspace.git

cd atomspace && mkdir build && cd build && cmake .. && make && make test

echo "Atomspace build test successful..."

sudo make install

echo "Atomspace build and install successful."

echo "Cloning and building MOSES..."

cd /opt/ && git clone https://github.com/opencog/moses.git

cd moses && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. 
&& make && make test

echo "MOSES build test successful..."

sudo make install 

echo "MOSES build and install successful."

echo "Cloning and building OpenCog..."

cd /opt/ && git clone https://github.com/opencog/opencog.git

cd opencog && mkdir build && cd build && cmake .. && make && make test

echo "OpenCog built test successful..."

sudo make install

echo "OpenCog successfully built."

-- 
You received this message because you are subscribed to the Google Groups 
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/opencog/3792ecab-0f70-4c4c-9db1-1e6a7e65e8fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to