Build and Install PROJ on a new Ubuntu 22.04 LTS system
February 18, 2024
These are the steps I needed to install PROJ on a brand new installation of Ubuntu 22.04 LTS
Install tools #
- Get Git
sudo apt install git
To get GitHub access I just copied the .ssh
folder from another machine.
- Get GCC compiler and related tools
sudo apt install build-essential
- Get CMAKE
sudo apt get cmake
- Get SQLITE
sudo apt install sqlite3
Get the software #
- Get PROJ software
git clone git@github.com:OSGeo/PROJ.git
- Get SQLITE3 headers and link library
sudo apt install libsqlite3-dev
- Get TIFF library
sudo apt install libtiff-dev
- Get CURL library
sudo apt install libcurl4-openssl-dev
Build PROJ #
cd PROJ/
cmake -S . -B build
cmake --build build
sudo cmake --build build --target install