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
    

     

  • 相关阅读:
    SDUT-2131_数据结构实验之栈与队列一:进制转换
    HDU-6290_奢侈的旅行(Dijstra+堆优化)
    SDUT-2054_数据结构实验之链表九:双向链表
    SDUT-3331_数据结构实验之链表八:Farey序列
    Ubuntu安装redis
    magento2站点迁移
    JS 代码中到底加不加分号
    magento2常见的命令
    ngx_pagespeed-nginx前端优化模块介绍
    搜索引擎网站收录地址大全
  • 原文地址:https://www.cnblogs.com/ada-zheng/p/3139800.html
Copyright © 2011-2022 走看看