#!/bin/bash
set -e  # exit on first error

sudo apt-get update

sudo apt-get install cmake \
                    libgoogle-glog-dev \
                    libatlas-base-dev \
                    libeigen3-dev \
                    libsuitesparse-dev \
                    libceres \
                    libceres-dev

sudo add-apt-repository ppa:bzindovic/suitesparse-bugfix-1319687
sudo apt-get update
sudo apt-get install libsuitesparse-dev

#!/bin/bash
set -e  # exit on first error

sudo apt-get update

sudo apt-get install cmake \
                    libgoogle-glog-dev \
                    libatlas-base-dev \
                    libeigen3-dev \
                    libsuitesparse-dev \
                    libceres \
                    libceres-dev

sudo add-apt-repository ppa:bzindovic/suitesparse-bugfix-1319687 -y
sudo apt-get update
sudo apt-get install libsuitesparse-dev

Add flag to install suitspare-bugfix without confirmation
Add flag to install suitspare-bugfix without confirmation
