![]() You can also query a file and find to which RPM package it belongs. If this rpm has any dependency over other rpm then that must be manually handled by downloading that rpm and installing them both together or else the installation will fail with dependency error.ĪLSO READ: 10 groupadd command examples in Linux 15. In the following example, we are installing single rpm. The RPM package must be available in your workstation. You can use -i or -install option to install an RPM package on your system. In this article, we will learn how to use rpm commands to manage the RPM packages on the system. You can find our detailed article on dnf at 25+ DNF command practical examples in Linux. ![]() $ sudo dnf install package_name -downloadonly -downloaddir=DIR_PATH rpm files, you can download them from here. You can also use the dnf command to download the rpm package using this command. Import an RPM GPG key with rpm commandĪLSO READ: 15+ scp command examples in Linux rpm command to check signatures in an RPM package List only recently installed RPM packages with rpm command List all installed RPM packages with rpm command Remove an RPM package without dependencies using rpm command rpm command to list all files of an installed RPM package Install an RPM package without dependencies with rpm command rpm command to get information of an installed package rpm command to print the information of an RPM package Check dependencies of an RPM package using rpm command Check an installed RPM package with rpm command
0 Comments
Leave a Reply. |