Copy code
rpm -i package_name.rpm
You may need to use sudo to run the rpm command with the necessary privileges to install the package.
Alternatively, you can use the yum command to install an RPM package. This is the default package manager for Red Hat-based systems, and it can automatically resolve dependencies for you. To install a package using yum, use the following command:
Copy code
yum install package_name
Keep in mind that you will need to have root privileges to install packages using either rpm or yum.
最佳回答 2023-01-29