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

posted @ 2017-11-19 15:17  冬天之歌  阅读(1746)  评论(0编辑  收藏  举报