yum -y install 包名(支持*) :自动选择y,全自动 yum install 包名(支持*) :手动选择y or n yum remove 包名(不支持*) rpm -ivh 包名(支持*):安装rpm包 rpm -e 包名(不支持*):卸载rpm包 RPM命令手册 一、安装 命令格式: rpm -i ( or --install) options file1.rpm ... fileN.rpm 参数: file1.rpm ... fileN.rpm 将要安装的RPM包的文件名 详细选项: -h (or --hash) 安装时输出hash记号 (``#'') --test 只对安装进行测试,并不实际安装。 --percent 以百分比的形式输出安装的进度。 --excludedocs 不安装软件包中的文档文件 --includedocs 安装文档 --replacepkgs 强制重新安装已经安装的软件包 --replacefiles 替换属于其它软件包的文件 --force 忽略软件包及文件的冲突 --noscripts 不运行预安装和后安装脚本 --prefix 将软件包安装到由 指定的路径下 --ignorearch 不校验软件包的结构 --ignoreos 不检查软件包运行的操作系统 --nodeps 不检查依赖性关系 --ftpproxy 用 作为 FTP代理 --ftpport 指定FTP的端口号为 通用选项 -v 显示附加信息 -vv 显示调试信息 --root 让RPM将指定的路径做为"根目录",这样预安装程序和后安装程序都会安装到这个目录下 --rcfile 设置rpmrc文件为 --dbpath 设置RPM 资料库存所在的路径为
详细解决方案
yum --installroot= XXX install 指定目录
热度:37 发布时间:2024-01-21 09:15:11.0
相关解决方案
- 安装APACHE出现No install service named apache2解决思路
- maven install 把jar包放到WEB-INFO下头
- myeclipse5.5GA install 注册码,该如何解决
- svn 下载一个maven 项目 为什么先 run as maven clean 然后maven install
- Failed to install Tomcat6 service. Check your settings and permissions Ignore and continue anyway,该如何解决
- Why i can install openjdk-6-jdk in the ubuntu 12.10 ? Help me !该怎么处理
- MyEclipse出现的Unable to install breakpoint in解决办法
- Eclipse:Cannot complete the install because of a conflicting dependency.有关问题解决
- Eclipse Unable to install breakpoint in XXX 解决方法
- Specified VM install not found 错误,Eclipse
- MyEclipse 8.5 Install This Profile 没法使用
- Install EclipseIDE ,Tomcat 六 on Ubuntu11.04
- MyEclipse maven install 时Unable to load the mojo 'war' in the plugin解决方法
- MyEclipse 8.5 Install This Profile 无法使用,该如何解决
- Eclipse 3.4怎么安装插件(eclipseme插件),这个版本如何没有了Help->Software Updates->Find and Install
- You are attempting to install 64-bit Oracle on a 32-bit operating system. This解决方案
- Oracle RAC Install on Windows 2008,该怎么处理
- mac下brew install 出错
- dpkg: error: -i (-install) 跟 -i (-install) 两个操作之间有矛盾
- install shield打包有关问题
- dbms is not supported in you current install.的有关问题
- 没法安装ADT Cannot complete the install because of a conflicting dependency
- 装配ADT时出现:Cannot complete the install because one or more required items could no
- 安卓模拟器运行adb install 1.pak提示设备找不到解决方案
- 安装mysql Install/Remove of the Service Denied!异常的解决方法
- 致命错误:#include
在“ pip install mysql-python”命令后生成 包括stdio.h - Imread 安装错误 (pip install imread):需要 Visual C++
- 黑猴子的家:Minimal Install VS Server with GUI VS GNOME Desktop
- npm install 报错 npm install --save core-js/modules/es6.array
- npm install# MSBUILD : error MSB4132: 无法识别工具版本“2.0”。可用的工具版本为 4.0。