NOTE: this page is for a from-source install (useful if you want to contribute to CasADi). If you just want to evaluate CasADi quickly, use a binary install.
- To get started quickly, start off by grabbing as many dependencies as possible from repositories.
- Ubuntu:
sudo apt-get install gcc g++ gfortran git cmake liblapack-dev pkg-config --install-recommends
- Fedora:
sudo yum install gcc gcc-c++ gcc-gfortran git cmake lapack-devel
- To compile the Python interface, you also need SWIG and a decent Python installation:
- Ubuntu:
sudo apt-get install swig ipython python-dev python-numpy python-scipy python-matplotlib --install-recommends
- Fedora:
sudo yum install swig ipython python-devel numpy scipy python-matplotlib