How to install myro-cpp on Ubuntu Linux

Created by John Hoare
Keywords:
ubuntu linux install
Last updated by:
John Hoare

Installing myro-cpp on linux is very straightforward. There are two ways you could do this:

1.) (Easiest) Install from the ppa
From the terminal do the following:
- sudo add-apt-repository ppa:myro-cpp-dev/myro-cpp
- sudo aptitude update
- sudo aptitude install myro-cpp

To use the library (writing client code) you also should install the following:
- sudo aptitude install libboost-thread-dev libmagick++-dev build-essential

All done!

2.) (Harder) Install From Source

- Make sure you have all the dependencies:
   - sudo aptitude install build-essential cmake libmagick++-dev libfltk1.1-dev libboost-thread-dev
- Download the source from http://launchpad.net/myro-cpp
- Extract the file: tar zxf myro-cpp-X.X.X.tar.gz
- Go into the source directory: cd myro-cpp-X.X.X
- Create a build directory: "mkdir build"
- Go into the build directory: "cd build"
- Run Cmake: "cmake .."
- Compile: "make"
- Install: "sudo make install"
- Have your system search for the new libraries: "sudo ldconfig"

All Done!