ubuntu package manager(ubuntu 包管理器)

Posted susu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于ubuntu package manager(ubuntu 包管理器)的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu 16.04安装Synaptic Package Manager图形化APT管理工具

安装EFCodeFirst 出错 调试Library Package Manager → Package Manager Console 出现的框 是不可写入 不

[Package Manager Window] Error searching for packages.

markdown 安装Synaptic Package Manager

pip: The ultimate package manager for Python

[Yarn] A JavaScript Package Manager