Beijing AGI Summer School USB Installation for Ubuntu

From OpenCog



This page describes how to install the OpenCogLive based Ubuntu natively on your system, but does not give details about hard disk partitioning issues. Installing this way is of course your own risk, if you overwrite the wrong partition it's your own fault!


This page has the following prerequisites:

  • A computer with a spare partition. If you do not have this, you can also clone the USB drive and run Ubuntu live from that. It will be slow, but it should work.
  • The USB drive with the Ubuntu installation files, based on OpenCogLive, which can be obtained from Lake.


Installing Ubuntu

To start the installation, just boot your computer with the USB drive plugged in. You should see a startup menu that allows you to choose 'Install Ubuntu'.

Follow the steps on screen to install Ubuntu to a new / separate partition.

Moving and Building OpenCog

Because you used the OpenCogLive.iso file, you already have a recent version of the OpenCog source code. However, it's in the wrong place, so we have to move it.

Open a terminal window, and go to your desktop:

cd ~/Desktop

Just to be sure, check if the "OpenCog Source Code" folder is there.


Then we need to move it:

mv "OpenCog Source Code" ~/opencog

Now it's in your home directory, so let's go there:

cd ~/opencog

Let's also make sure git knows where to get new versions of the source code:

git remote add upstream

Make a build folder:

mkdir build

Go into it:

cd build

Run cmake:

cmake ..

And build it with make. You can change the 1 to another number if you assigned more cores to your virtual machine, but you don't want to make it higher than that!

make -j1

Building should take a while, but after that you can return to the original tutorial to set up embodiment. You can now continue here:

Beijing AGI Summer School Tutorial for Windows#Setting up Embodiment on the OpenCog side


Any questions?

Then please leave them here.