Skip to content

Instantly share code, notes, and snippets.

@elyase
Last active November 26, 2021 17:52
Show Gist options
  • Save elyase/9419b81c054a5dd3f302a77097b95ce7 to your computer and use it in GitHub Desktop.
Save elyase/9419b81c054a5dd3f302a77097b95ce7 to your computer and use it in GitHub Desktop.
ibsimu installation debian/ubuntu

Tested on debian buster

Install dependencies

sudo apt install libcairo2-dev
sudo apt install libgsl-dev
sudo apt install libgtk-3-dev

Download the code

git clone git://ibsimu.git.sourceforge.net/gitroot/ibsimu/ibsimu

Compile

cd ibsimu
./reconf
./configure --prefix=`pwd`
make -j4
make install

You may need to adjust the prefix path in the ./configure line to the folder where you downloaded the repository.

Enviroment variables

Before you compile any project you have to set some environment variables:

export PKG_CONFIG_PATH=`pwd`
export LD_LIBRARY_PATH=`pwd`

If you want that to run any time you open a new console/terminal you can place those commands in your .bashrc. First find the current path:

cd
nano ~/.bashrc

copy both lines at the end and save:

export PKG_CONFIG_PATH="/PATH/TO/IBSIMU/FOLDER"
export LD_LIBRARY_PATH="/PATH/TO/IBSIMU/FOLDER"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment