在ubuntu 10.04 上QGIS的安装步骤

本文详细介绍了如何在Ubuntu系统中安装QGIS地理信息系统软件,包括添加软件源、更新包列表、安装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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值