“Apt常用方法”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
 
第21行: 第21行:
 
[https://www.cnblogs.com/xiangzi888/archive/2012/03/18/2405075.html apt-get 命令(小结)]
 
[https://www.cnblogs.com/xiangzi888/archive/2012/03/18/2405075.html apt-get 命令(小结)]
  
[[category:desktop]] [[category:linux]]
+
[https://www.cnblogs.com/EasonJim/p/7144017.html  Ubuntu通过apt-get安装指定版本和查询指定软件有多少个版本 ]
 +
[[category:desktop]] [[category:linux]] [[category:devops]]

2022年7月7日 (四) 05:46的最新版本

升级单个软件

apt install  package

apt 查看软件版本

root@debian11:~# apt-cache madison kubelet 
   kubelet |  1.24.2-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.24.1-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.24.0-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.23.8-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.23.7-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.23.6-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.23.5-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.23.4-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.23.3-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.23.2-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.23.1-00 | https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
   kubelet |  1.23.0-00 | h

see also

apt-get 命令(小结)

Ubuntu通过apt-get安装指定版本和查询指定软件有多少个版本