收藏文章 楼主

centos7指定yum安装软件路径目录

版块:linux   类型:普通   作者:小绿叶技术博客   查看:669   回复:0   获赞:0   时间:2021-05-27 10:55:50


yum -c /etc/yum.conf --installroot=/opt/test/ --releasever=/ install lrzsz

# yum -c /etc/yum.conf  指定要使用的yum 源配置文件,

# yum -h | grep -w c      # 通过 yum 帮助和筛选 grep -w 绝对匹配单词c 后得到:

#   -c [config file], --config=[config file]  


#  --installroot=/usr/local        # 自定义的安装目录

提供企业建站服务,免费网防系统,提交信息登录 http://yundun.ddoss.cn 邮箱: proposal@ddoss.cn 
回复列表
默认   热门   正序   倒序

回复:centos7指定yum安装软件路径目录

头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息