Skip to main content
replaced http://askubuntu.com/ with https://askubuntu.com/
Source Link
  1. $ cd QGIS
  2. $ mkdir build-master
  3. $ cd build-master
  4. $ ccmake ..
  5. In the wizard set CMAKE_INSTALL_PREFIX to /home/user/bin/qgis. Make sure to append qgis here!
  6. In the wizard set PYTHON_INCLUDE_PATH to /usr/include/python2.7. Should be already set.
  7. In the wizard set PYTHON_LIBRARY to /usr/lib/x86_64-linux-gnu/libpython2.7.so.
  8. Press c
  9. Press g
  10. $ make -j2 The number should correspond to the number of processors in your machine.
  11. $ make install
  12. Add export LD_LIBRARY_PATH=$HOME/bin/qgis/lib to your ~/.bashrc or ~/.zshrc and re-source the shell.
  13. Start QGIS from ~/bin/qgis/bin/qgis.
  14. You can also create a .desktop file as described herehere.
  1. $ cd QGIS
  2. $ mkdir build-master
  3. $ cd build-master
  4. $ ccmake ..
  5. In the wizard set CMAKE_INSTALL_PREFIX to /home/user/bin/qgis. Make sure to append qgis here!
  6. In the wizard set PYTHON_INCLUDE_PATH to /usr/include/python2.7. Should be already set.
  7. In the wizard set PYTHON_LIBRARY to /usr/lib/x86_64-linux-gnu/libpython2.7.so.
  8. Press c
  9. Press g
  10. $ make -j2 The number should correspond to the number of processors in your machine.
  11. $ make install
  12. Add export LD_LIBRARY_PATH=$HOME/bin/qgis/lib to your ~/.bashrc or ~/.zshrc and re-source the shell.
  13. Start QGIS from ~/bin/qgis/bin/qgis.
  14. You can also create a .desktop file as described here.
  1. $ cd QGIS
  2. $ mkdir build-master
  3. $ cd build-master
  4. $ ccmake ..
  5. In the wizard set CMAKE_INSTALL_PREFIX to /home/user/bin/qgis. Make sure to append qgis here!
  6. In the wizard set PYTHON_INCLUDE_PATH to /usr/include/python2.7. Should be already set.
  7. In the wizard set PYTHON_LIBRARY to /usr/lib/x86_64-linux-gnu/libpython2.7.so.
  8. Press c
  9. Press g
  10. $ make -j2 The number should correspond to the number of processors in your machine.
  11. $ make install
  12. Add export LD_LIBRARY_PATH=$HOME/bin/qgis/lib to your ~/.bashrc or ~/.zshrc and re-source the shell.
  13. Start QGIS from ~/bin/qgis/bin/qgis.
  14. You can also create a .desktop file as described here.
Link instructions to create a .desktop file.
Source Link
JJD
  • 587
  • 3
  • 10
  • 27
  1. $ cd QGIS
  2. $ mkdir build-master
  3. $ cd build-master
  4. $ ccmake ..
  5. In the wizard set CMAKE_INSTALL_PREFIX to /home/user/bin/qgis. Make sure to append qgis here!
  6. In the wizard set PYTHON_INCLUDE_PATH to /usr/include/python2.7. Should be already set.
  7. In the wizard set PYTHON_LIBRARY to /usr/lib/x86_64-linux-gnu/libpython2.7.so.
  8. Press c
  9. Press g
  10. $ make -j2 The number should correspond to the number of processors in your machine.
  11. $ make install
  12. Add export LD_LIBRARY_PATH=$HOME/bin/qgis/lib to your ~/.bashrc or ~/.zshrc and re-source the shell.
  13. Start QGIS from ~/bin/qgis/bin/qgis.
  14. You can also create a .desktop file as described here.
  1. $ cd QGIS
  2. $ mkdir build-master
  3. $ cd build-master
  4. $ ccmake ..
  5. In the wizard set CMAKE_INSTALL_PREFIX to /home/user/bin/qgis. Make sure to append qgis here!
  6. In the wizard set PYTHON_INCLUDE_PATH to /usr/include/python2.7. Should be already set.
  7. In the wizard set PYTHON_LIBRARY to /usr/lib/x86_64-linux-gnu/libpython2.7.so.
  8. Press c
  9. Press g
  10. $ make -j2 The number should correspond to the number of processors in your machine.
  11. $ make install
  12. Add export LD_LIBRARY_PATH=$HOME/bin/qgis/lib to your ~/.bashrc or ~/.zshrc and re-source the shell.
  13. Start QGIS from ~/bin/qgis/bin/qgis.
  1. $ cd QGIS
  2. $ mkdir build-master
  3. $ cd build-master
  4. $ ccmake ..
  5. In the wizard set CMAKE_INSTALL_PREFIX to /home/user/bin/qgis. Make sure to append qgis here!
  6. In the wizard set PYTHON_INCLUDE_PATH to /usr/include/python2.7. Should be already set.
  7. In the wizard set PYTHON_LIBRARY to /usr/lib/x86_64-linux-gnu/libpython2.7.so.
  8. Press c
  9. Press g
  10. $ make -j2 The number should correspond to the number of processors in your machine.
  11. $ make install
  12. Add export LD_LIBRARY_PATH=$HOME/bin/qgis/lib to your ~/.bashrc or ~/.zshrc and re-source the shell.
  13. Start QGIS from ~/bin/qgis/bin/qgis.
  14. You can also create a .desktop file as described here.
Add step by step guide.
Source Link
JJD
  • 587
  • 3
  • 10
  • 27

Actually, the message "BINDINGS_GLOBAL_INSTALL: Install bindings to global python directory? (might need root)" shown at the bottom is not an error but a help message. So after supplying the include and library paths I could continue by pressing g in the ccmake wizard to start the generate task.
Here are the steps (customize the paths for your system!):

  1. $ cd QGIS
  2. $ mkdir build-master
  3. $ cd build-master
  4. $ ccmake ..
  5. In the wizard set CMAKE_INSTALL_PREFIX to /home/user/bin/qgis. Make sure to append qgis here!
  6. In the wizard set PYTHON_INCLUDE_PATH to /usr/include/python2.7. Should be already set.
  7. In the wizard set PYTHON_LIBRARY to /usr/lib/x86_64-linux-gnu/libpython2.7.so.
  8. Press c
  9. Press g
  10. $ make -j2 The number should correspond to the number of processors in your machine.
  11. $ make install
  12. Add export LD_LIBRARY_PATH=$HOME/bin/qgis/lib to your ~/.bashrc or ~/.zshrc and re-source the shell.
  13. Start QGIS from ~/bin/qgis/bin/qgis.

Actually, the message "BINDINGS_GLOBAL_INSTALL: Install bindings to global python directory? (might need root)" shown at the bottom is not an error but a help message. So after supplying the include and library paths I could continue by pressing g in the ccmake wizard to start the generate task.

Actually, the message "BINDINGS_GLOBAL_INSTALL: Install bindings to global python directory? (might need root)" shown at the bottom is not an error but a help message. So after supplying the include and library paths I could continue by pressing g in the ccmake wizard to start the generate task.
Here are the steps (customize the paths for your system!):

  1. $ cd QGIS
  2. $ mkdir build-master
  3. $ cd build-master
  4. $ ccmake ..
  5. In the wizard set CMAKE_INSTALL_PREFIX to /home/user/bin/qgis. Make sure to append qgis here!
  6. In the wizard set PYTHON_INCLUDE_PATH to /usr/include/python2.7. Should be already set.
  7. In the wizard set PYTHON_LIBRARY to /usr/lib/x86_64-linux-gnu/libpython2.7.so.
  8. Press c
  9. Press g
  10. $ make -j2 The number should correspond to the number of processors in your machine.
  11. $ make install
  12. Add export LD_LIBRARY_PATH=$HOME/bin/qgis/lib to your ~/.bashrc or ~/.zshrc and re-source the shell.
  13. Start QGIS from ~/bin/qgis/bin/qgis.
Add solution.
Source Link
JJD
  • 587
  • 3
  • 10
  • 27
Loading
Source Link
JJD
  • 587
  • 3
  • 10
  • 27
Loading