zoukankan      html  css  js  c++  java
  • Kali更新deb源

    vim /etc/apt/sources.list

    #中科大
    deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
    deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
    #阿里云
    deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
    deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
    #清华大学
    deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
    deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
    #浙大
    deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
    deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
    #东软大学
    deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
    deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
    #官方源
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib

    apt-get update

    apt-get upgrade

    apt-get dist-upgrade 

    apt-get clean

    Syntax Description Example(s)
    apt-get install {package} Install the new package. If package is installed then try to upgrade to latest version apt-get install zip
    apt-get install lsof samba mysql-client
    apt-get remove {package} Remove/Delete an installed package except configuration files apt-get remove zip
    apt-get --purge remove {package} Remove/Delete everything including configuration files apt-get --purge remove mysql-server
    apt-get update
    apt-get upgrade
    Resynchronize the package index files and Upgrade the Debian Linux system including security update (Internet access required) apt-get update
    apt-get upgrade
    apt-get update
    apt-get dist-upgrade
    Usually use to upgrade to Debian distribution. For example Woody to Sarge upgrade. 'dist-upgrade' in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. apt-get update
    apt-get dist-upgrade
  • 相关阅读:
    Bootstrap(2)整体架构
    介绍 Microservice
    Websocket实例
    MYSQL-用户权限的验证过程(转)
    don't touch your phone in any unfamiliar way(转)
    你真的会玩SQL吗?Case的用法(转)
    android模拟器与PC的端口映射(转)
    Java Main如何被执行?(转)
    Linux crontab 命令格式与具体样例
    分享一个3D球面标签云
  • 原文地址:https://www.cnblogs.com/guanghe/p/10118368.html
Copyright © 2011-2022 走看看