Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a newbie here.

I am running ubuntu 12.04 64bit, and build after the instruction, but i don't know why can not launch qgis. Seem i successfully build $ install it.

below is the linux shell:

jack@jack:~/apps/bin$ sudo su
root@jack:/home/jack/apps/bin# qgis
The program 'qgis' can be found in the following packages:
 * qgis
 * qgis-plugin-grass
Try: apt-get install <selected package>
root@jack:/home/jack/apps/bin# ls
qbrowser  qgis  qgis_bench
share|improve this question

The output from ls indicates that you have a executable file in current directory, it can be run by typing ./qgis.

When you run qgis, it is assumed that qgis is not in your $PATH.

share|improve this answer
add repo son source.list  
deb precise main  
deb-src precise main


gpg --keyserver --recv 997D3880  
gpg --export --armor 997D3880 | sudo apt-key add -

apt-get update

apt-get install qgis
share|improve this answer

According to qgis site if you want to install the latest release (recommended) :

  1. $ sudo apt-get install python-software-properties
  2. $ sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
  3. $ sudo apt-get update
  4. $ sudo apt-get install qgis

If you're a newbie to the linux world you better avoid sudo as hell untill you know your way around.

If you've build qgis from source and you cant start it because it cant find its libraries follow the following:

Open the terminal and set LD_LIBRARY_PATH to /path/to/qgis/output/lib (ubuntu 12.04 doesn't use LD_LIBRARY_PATH by default, so it should be empty so you shouldn't be able to break anything - if you do just restart the shell), then start qgis by navigating to /path/to/qgis/output/bin and ./qgis

Here's a List with the steps.

  1. $ cd ~/path/to/output/bin
  2. $ LD_LIBRARY_PATH="~/path/to/output/lib"
  3. $ ./qgis

You can even create a script if you want:

  1. $ touch
  2. $ chmod +x
  3. enter in the first line #!/bin/bash
  4. insert the above steps from the previous list
  5. run the script! (./
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.