zoukankan      html  css  js  c++  java
  • 在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
    

     

  • 相关阅读:
    04 类与对象
    03 方法
    02-JAVA语法基础
    大道至简第二章 读后感
    leetcode 65 有效数字
    leetcode 670 最大交换
    leetcode 49 字母异位词分组
    leetcode 71 简化路径
    leetcode 2 两数相加
    java compareTo 与 equals 区别
  • 原文地址:https://www.cnblogs.com/ada-zheng/p/3139800.html
Copyright © 2011-2022 走看看