linux yum -凯发k8网页登录

linux yum

列出某个软件的所有版本号:
yum module list nginx

red hat enterprise linux 8 for x86_64 - appstream (rpms)
name                                         stream                                         profiles                                         summary
nginx                                        1.14 [d]                                       common [d]                                       nginx webserver
nginx                                        1.16                                           common [d]                                       nginx webserver
nginx                                        1.18                                           common [d]                                       nginx webserver
nginx                                        1.20 [e]                                       common [d]                                       nginx webserver

hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled


设定某个版本为默认版本
yum module enable nginx:1.20


安装默认版本
yum install nginx



posted on 2022-06-23 17:21 paulwong 阅读(111) 评论(0)  编辑  收藏 所属分类: linuxlinux-shell


只有注册用户后才能发表评论。


网站导航:
              
 
网站地图