Skip to content
ddannun1 edited this page Jan 24, 2012 · 35 revisions

The DARwIn-OP Robot comes with Ubuntu 9.10 preinstalled. However, we recommend a newer version of Ubuntu for performance and feature extension purposes. Follow Installing Ubuntu 10.10 on DARwIn OP for our recommendation.

Install Packages and Dependencies

  1. Install packages through aptitude.
    sudo apt-get install wget build-essential subversion git-core libreadline6-dev

  2. This will be a problem with Ubuntu 9.10. To correct this problem, edit the sources.list file

vi /etc/apt/sources.list

  1. Then replace every .us. with .old-releases. In VI you can use this command

:%s/.something.us./.old-releases

  1. This needs to be updated

Installing Lua from source

  1. Download lua. http://www.lua.org/versions.html#5.2

  2. Install Lua 5.1

     `wget http://www.lua.org/ftp/lua-5.1.4.tar.gz`
    
     `tar xvvf lua-5.1.4.tar.gz`
    
     `cd lua-5.1.4`
    
     `make linux`
    
     `sudo make install`		
    

Downloading and Installing the Boost headers

  1. Download the latest version of boost from www.boost.org.
    wget http://downloads.sourceforge.net/project/boost/boost/1.48.0/boost_1_48_0.tar.bz2

  2. Extract boost on the darwin.
    tar -xvf boost_1_48_0.tar.bz2

  3. Move the boost folder to the /usr/local/ directory
    sudo mv boost_1_48_0 /usr/local/

  4. Change to the /usr/local/include directory and make a symbolic link to the boost files.
    cd /usr/local/include
    sudo ln -s /usr/local/boost_1_48_0/boost boost

  5. After this, feel free to delete the tarball.
    rm boost_1_48_0.tar.gz

Clone this wiki locally