Debian9 安装软件汇总

dpkg

dpkg -i 安装本地安装包

echo 'pkgname newstat' | dpkg --set-selections 修改软件包安装状态

newstat install,deinstall,hold

dpkg --get-selections 查看软件包状态

apt-get install dpkg[=version]

apt-cache

apt-cache madison 显示所有软件包及各个版本

apt-cache search 搜索软件包

apt-cache show/showpkg pkgname

原文地址:https://www.cnblogs.com/li1234yun/p/7859852.html