-
Notifications
You must be signed in to change notification settings - Fork 9
Install and Update in Ubuntu
#Install
cd ~
git clone [email protected]:nextgis/nextgismanager.git
apt-get install cmake cmake-qt-gui
apt-get install libcairo-dev libcurl4-openssl-dev
For Unity integration:
apt-get install libdbusmenu-glib-dev
Other tools:
apt-get install dee-tools libgdal1-dev libgeos-dev libgtk2.0-dev libssl-dev libpq-dev libproj-dev libunity-dev libwxgtk3.0-dev
Run CMAKE GUI:
cmake-gui
Make sure the following settings are set (modify the folder where NGM was cloned to, if necessary):
- Browse Source: ~/nextgismanager
- Browse Build: ~/nextgismanager/build
- grouped: check
- advanced: check
Hit Configure
Choose:
- Unix Makefiles
- Use default native compilers
Go to wxGIS group and check the following:
- catalog +
- desktop +
- geoprocessing +
- geoproceddingui +
- translation +
- taskmanager -
- gtk integration +
- unity +
- portable -
- curl +
- email +
- gnm -
- geos +
- openssl +
- postgres +
- proj +
Hit Configure
Some groups (GEOS, OPENSSL, PROJ, POSTGRES) will be red, ignore it.
Put Release in CMAKE_BUILD_TYPE in CMAKE.
Hit Configure
There should be no more red. Unfold all parameters, there should be no NOTFOUND except for GDAL_DEBUG and some parameters under GTK.
Hit Generate
cd nextgismanager/build
make
sudo make install
sudo ldconfig
/usr/local/bin/wxgiscat
or use dash, type in manager
.
#Update
git pull
cd build
cmake ../
make
sudo make install
or use pre-prepared script:
./opt/update.sh
#Config
##Context menus Settings won't get changed after update and make install. Remove or backup config so that NextGIS Manager will create a fresh one on next start with new right-click options.
cd ~/.wxgis/
mv wxGISCatalog.xml wxGISCatalog_old.xml