在ubuntu 10.04 上QGIS的安装步骤

  1. 进入管理员账户后,打开/etc/apt/sources.list。
  2. 添 加 deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu karmic main                                                                                                                deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu karmic main(这是ubuntu10.04版本的源,可以去qgis官方网上找最新的源)
  3. 在终端上输入sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable/ppa-name

  4.sudo apt-get update

  5.sudo apt-get install qgis

  安装完毕,终端输入qgis启动,如果添加的版本不对是无法安装,也可以通过

 

 

You can use ubuntugis ppa, which contains everything you need:

 $ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable

 $ sudo apt-get update

 $ sudo apt-get install qgis

The system will take after the necessary dependencies

Your problem also suggests that you have broken dependencies for qgis. One way to fix this is to clean your cache by running in terminal (you can open the terminal with alt + ctrl + T)

$ sudo apt-get clean

or

$ sudo apt-get autoclean

and then ask apt to try and correct any broken dependencies:

$ sudo apt-get -f install 

if the output is similar to :

$ 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

it means that you need some extra packages that you weren't informed about. To install them run:

$ sudo apt-get dist-upgrade

 

你可能感兴趣的:(ubuntu)