-
Notifications
You must be signed in to change notification settings - Fork 65
BuildUbuntu22 04
wthaem edited this page May 20, 2022
·
1 revision
Prev (Ubuntu version < 22.04) | Home | Manual | Index | (Linux Mint 20.1) Next
Table of contents
(contributed by Karl Karsten and Wout van Vucht)
sudo apt update
sudo apt upgrade
sudo reboot
sudo apt install build-essential subversion git cmake qtbase5-dev \
qtchooser qt5-qmake qtbase5-dev-tools qttools5-dev libqt5webkit5-dev \
qtscript5-dev qttools5-dev-tools libqt5sql5-mysql qtwebengine5-dev \
libqt5sql5-mysql default-libmysqlclient-dev sqlite3 libsqlite3-dev \
libcurl4-nss-dev libtiff-dev libghc-bzlib-dev
mkdir ~/GPS
cd ~/GPS
wget https://download.osgeo.org/proj/proj-9.0.0.tar.gz
tar xzvf proj-9.0.0.tar.gz
cd proj-9.0.0
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
sudo cmake --build . -j$(nproc) --target install
cd ~/GPS
wget https://github.com/OSGeo/gdal/releases/download/v3.5.0/gdal-3.5.0.tar.gz
tar xvzf gdal-3.5.0.tar.gz
cd gdal-3.5.0
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
sudo cmake --build . -j$(nproc) --target install
cd ~/GPS
wget https://github.com/stachenov/quazip/archive/refs/tags/v1.3.tar.gz
tar xvzf v1.3.tar.gz
cd quazip-1.3
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -D QUAZIP_QT_MAJOR_VERSION=5
sudo cmake --build . -j$(nproc) --target install
cd ~/GPS
svn co http://routino.org/svn/trunk routino
cd routino
Edit Makefile.conf
:
Set line 48 to prefix=/usr
make -j$(nproc)
sudo make install
cd ~/GPS
git clone https://github.com/Maproom/qmapshack.git QMapShack
mkdir build_QMapShack
cd build_QMapShack
cmake ../QMapShack -DCMAKE_INSTALL_PREFIX=/usr
make -j$(nproc)
sudo make install
qmapshack
sudo chmod 777 /usr/share/doc/HTML
sudo chmod 777 /usr/share/doc/HTML/QM[S,T]Help.q[c,h][c,h]
sudo apt install qtcreator qt5-doc
Prev (Ubuntu version < 22.04) | Home | Manual | Index | Top | (Linux Mint 20.1) Next