标签:x86 ota package for 配置 pca cal --nodeps update
#下载yumdownloadonly插件 yum install yum-plugin-downloadonly # yum 下载rpm包到指定目录,只下载不安装 yum install --downloadonly --downloaddir=路径 安装包名 实例:yum install --downloadonly --downloaddir=/usr/local libXScrnSaver # 安装 rpm -Uvh --force --nodeps *.rpm 实例:rpm -Uvh --force --nodeps libXScrnSaver-1.2.2-6.1.el7.x86_64.rpm
# 修改配置文件,修改下面两行内容 cat /etc/yum.conf cachedir=/usr/local/cache keepcache=1 # 做测试 yum install nss -y #看效果 [root@localhost packages]# cd /usr/local/cache/ [root@localhost cache]# ll total 8 drwxr-xr-x. 4 root root 278 Jun 16 21:59 base drwxr-xr-x. 4 root root 183 Jun 16 21:59 extras -rw-r--r--. 1 root root 76 Jun 16 22:00 timedhosts -rw-r--r--. 1 root root 490 Jun 16 22:00 timedhosts.txt drwxr-xr-x. 4 root root 183 Jun 16 21:59 updates
标签:x86 ota package for 配置 pca cal --nodeps update
原文地址:https://www.cnblogs.com/daofaziran/p/13149579.html