zoukankan      html  css  js  c++  java
  • linux 自学系列:debian更新软件列表、更改源

    apt-get update 获取最新软件列表

    apt-get install packageName 安装一个包

    apt-cache search package_name 搜索软件包

    更改源:

    修改/etc/apt/sources.list

    如更改163源:

    在sources.list文件最顶加入下面信息

    deb http://mirrors.163.com/debian wheezy main non-free contrib
    deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
    deb-src http://mirrors.163.com/debian wheezy main non-free contrib
    deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free

    deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
    deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free

    deb http://http.us.debian.org/debian wheezy main contrib non-free
    deb http://non-us.debian.org/debian-non-US wheezy/non-US main contrib non-free
    deb http://security.debian.org wheezy/updates main contrib non-free

  • 相关阅读:
    站立会议(二)
    站立会议(一)
    电梯演讲 作业派
    《你的灯亮着么》三四篇
    《你的灯亮着么》一二篇
    找一
    水王2
    搜狗输入法使用评价
    找水王问题
    典型用户及用户场景分析
  • 原文地址:https://www.cnblogs.com/bjdxy/p/3092217.html
Copyright © 2011-2022 走看看