Welcome to docker.ru hosting provider linux mirror located at Moscow, Russian Federation.
Server configuration: Linux with OpenZFS, 2 x E5-2670v2, 128 GB ECC memory, 12 x 4 TB raidz2 + 1 TB SSD for L2ARC.
Network: 20 gbps uplink, IPv4 (185.253.23.31), IPv6 (2a04:8580:ffff:fffe::2).
My hostname is mirror.docker.ru
Red Hat Enterprise Linux 4: Red Hat Enterprise Linux Step By Step Guide | ||
---|---|---|
Prev | Chapter 14. Frequently Asked Questions | Next |
How do I install an RPM from a CD or the Internet? I keep getting an error message when I use RPM.
If you are getting an error message similar to failed to open /var/lib/rpm/packages.rpm, it is because you do not have proper permission to install RPM files.
When you install software, you are often required to make system-wide changes which only root can make, such as creating new directories outside of your home directory or making changes to your system configuration. If you are using your normal user account, you do not have permission to make such changes by default.
You need to be the root user to install RPM files. At a shell prompt, switch to the root user by running the following command:
su - |
After entering the root password when prompted, you should then be able to install the RPM file without further errors. For more information about using RPM and Package Management Tool, refer to the Red Hat Enterprise Linux System Administration Guide on the Red Hat Enterprise Linux Documentation CD or online at http://www.redhat.com/docs/.