clone the git repository
git clone https://ceres-solver.googlesource.com/ceres-solver
or:
http://ceres-solver.org/ceres-solver-1.13.0.tar.gz
Start by installing all the dependencies:
sudo apt-get install cmake
sudo apt-get install libgoogle-glog-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install libeigen3-dev
sudo apt-get install libsuitesparse-dev
We are now ready to build, test, and install Ceres.
tar zxf ceres-solver-1.13.0.tar.gz
mkdir ceres-bin
cd ceres-bin
cmake ../ceres-solver-1.13.0
make -j3
make test
make install