zoukankan      html  css  js  c++  java
  • ubuntu package manager(ubuntu 包管理器)


    title: ubuntu package manager(ubuntu 包管理器)
    author: susu
    date: 2021-01-01
    site:
    - cnblogs.com

    ubuntu 包管理器

    apt-get

    # update repo info
    apt-get update
    
    # search package
    apt-cache search package
    
    # fetch package information, metadata...
    apt-cache show package
    
    # download & install
    apt-get install package
    
    # erase or remove
    apt-get remove package
    apt-get remove package --purge
    
    
    # reinstall package
    apt-get install package --reinstall
    
    # repair abnormal installation
    apt-get -f install
    
    # 安装相关的编译环境
    apt-get build-dep package
    
    # upgrade instaled packages
    apt-get upgrade
    
    # upgrade the whole system opertating system
    apt-get dist-upgrade
    
    # query package's dependency
    apt-cache depends package
    
    # query what depends this package
    apt-cache rdepends package
    
    # download package's source code
    apt-get source package
    
    # clean useless packages
    apt-get clean && apt-get autoclean
    
    # check broken dependency
    apt-get check
    
    
    WARNING: No any other purpose,keeping reminded! So sorry to offended,if necessary, contact me and I do change what I had done to protect your privileges!
  • 相关阅读:
    02-05 flutter provider的使用
    02-04 flutter 构造函数总结
    02-03 flutter异步
    02-02dart语法
    02-01dart语法
    01-01 iOS内存对齐、内存对齐算法
    01-02 iOS kvo、kvc
    01-03 category 原理概述
    多线程编程 (2) -NSOperation
    IOS基本控件属性
  • 原文地址:https://www.cnblogs.com/MimiSnowing/p/14905868.html
Copyright © 2011-2022 走看看