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
  • 相关阅读:
    sendmail 出现 My unqualified host name的解决办法
    激活密钥许可证VMware Workstation Pro 15 激活许可证
    Cent OS 7 VNC 安装
    java插件提示安全设定高,不能加载解决方法
    红帽订阅注册注意事项
    微信小程序设计总结
    npm包开发(whale-makelink)
    Sketch网页截屏插件设计开发
    轻量级服务器部署方案 -(阿里云CenOS+宝塔)
    Sketch webView方式插件开发技术总结
  • 原文地址:https://www.cnblogs.com/guanghe/p/10118368.html
Copyright © 2011-2022 走看看