https://superuser.com/questions/393681/how-to-find-out-which-versions-of-a-package-can-i-install-on-apt https://stackoverflow.com/questions/18885820/how-to-check-the-version-before-install-packages-using-apt-get https://askubuntu.com/questions/340530/how-can-i-check-the-available-version-of...
1、apt-get 安装软件包 apt-getinstallPackageName//普通安装apt-getinstallPackageName=VersionName//安装指定包的指定版本apt-get--reinstallinstallPackageName//重新安装apt-getbuild-depPackageName//安装源码包所需要的编译环境apt-get-finstall//修复依赖关系apt-getsourcePackageName//下载软件包的源码 2、apt-ge...
Package: iw Status: install ok installed Priority: optional Section: net Installed-Size: 214 Maintainer: Debian wpasupplicant Maintainerspkg-wpa-devel@lists.alioth.debian.org Architecture: amd64 Multi-Arch: foreign Version: 3.17-1 Replaces: aircrack-ng (<< 1:1.0~rc2-1) Depends: libc6 (>= ...
apt-cache search PackageName // 搜索软件包 apt-cache show PackageName // 获取软件包的相关信息, 如说明、大小、版本等 apt-cache depends PackageName // 查看该软件包需要哪些依赖包 apt-cache rdepends PackageName // 查看该软件包被哪些包依赖 apt-get check // 检查是否有损坏的依赖 5. apt-get -...
apt-cache depends PackageName // 查看该软件包需要哪些依赖包 apt-cache rdepends PackageName // 查看该软件包被哪些包依赖 apt-get check // 检查是否有损坏的依赖 命令:apt-get --help ⽤法:apt-get [选项] 命令 apt-get [选项] install|remove 软件包1 [软件包2 ...]apt-get [选项]...
apt-get install <<package name>>=<<version>> 1. 二、查询指定软件有多少个版本 说明:在Linux用这个查询并不能完全的把所有版本都列举出来,因为每个版本都与系统版本和CPU架构有关,比如一个软件支持Ubuntu系统的16.04的CPU架构为amd64的版本只有1.0和1.2,其余都不支持,所以列举时就只有两款。
check fails-s No-act.Perform ordering simulation-y Assume Yes to all queries and do not prompt-u Show a list of upgraded packages as well1.2 指定版本 apt-get install package=version1.3 修复或者只安装最新版本:#apt-get --reinstall install packagename这里,如果你的软件包被破坏了...
dpkg -l // 列出已安装的所有软件包 apt-cache search PackageName // 搜索软件包 apt-cache show PackageName // 获取软件包的相关信息, 如说明、大小、版本等 apt-cache depends PackageName // 查看该软件包需要哪些依赖包 apt-cache rdepends PackageName // 查看该软件包被哪些包依赖 apt-get check //...
No stable version vim:i386notinstalled (base) shl@zhihui-mint:~$ 2.2.3 使用aptitude show <软件包名> 查看安装软件版本 使用aptitude show查看的信息更详细 (base) shl@zhihui-mint:~$ sudo aptitude show vim Package: vim Version:2:8.0.1453-1ubuntu1.4State: installed (2:8.0.1453-1ubuntu1.3), up...
# apt-get install packagename apt-get的参数 -h This help text. -d Download only - do NOT install or unpack archives -f Attempt to continue if the integrity check fails -s No-act. Perform ordering simulation -y Assume Yes to all queries and do not prompt ...