- 9
- 0
- 约1.44万字
- 约 22页
- 2017-06-05 发布于河南
- 举报
rpm包的安装(国外英文资料)
rpm包的安装
How to install the RPM package
The installation of the RPM package can be done using the program RPM. Execute the following command
The RPM -i your - package. The RPM
Where your - package.rpm is the filename of the RPM package you want to install, usually in the current directory.
The following warning or hints may appear in the installation process:
... Conflict with... It may be that there are some files in the package that you want to install that might overwrite existing ones
Files, by default, cannot be properly installed
RPM - force I mandatory installation
... Is needed by...
... Is not installed... Some of the software you need for this package you dont have to install
RPM - nodeps-i ignores this information
In other words, RPM - I - force - nodeps can ignore all dependencies and file issues, what package
Both can be installed, but this mandatory package does not guarantee full functionality
How to install the.src. RPM package
Some software packages end with the.src. RPM, which is the RPM package that contains the source code, at the time of installation
You need to compile. There are two ways to install this package,
Method one:
Execute RPMS - I your - packages.rpm
CD/usr/SRC/redhat/SPECS
Rpmbuild-bp your - package.specs file with the same name as your software package
CD/usr/SRC/redhat/BUILD/your - package/a directory of the same name as your software package
The step 5. / configure this step is the same as compiling common source software, and you can add parameters
6. Make
7. Make install
Method 2:
Execute RPM - I you-package.src. RPM
CD/usr/SRC/redhat/SPECS
The first two steps are the same as the method
Rpmbuild-bb your-package.specs file with the same name as your package
At this time, at/usr/SRC/redhat/RPM/i386 / (depending on the package, also may be i686, noarch, etc.)
In this directory, there is a new RPM package, which is a compiled binary.
Execute RPM - I new - package.rpm can be installed.
How to uninstall RPM packages
Using the command
原创力文档

文档评论(0)