How to Install a Package on Rocky Linux 9

5

Rocky Linux 9 is a free and open-source enterprise working system that’s entirely error-free when mixed with Red Hat Enterprise Linux. Initially, Rocky Linux 9 was constructed to provide a substitute for CentOS. This Linux distro helps each of the instructions of CentOS. If you’re a Linux newbie, you don’t know deploy a particular package deal from the command line. In this brief tutorial, we’ll clarify the instructions to deploy a package deal on Rocky Linux 9.

How to Install a Package on Rocky Linux 9

Let’s begin with the dnf command to deploy the particular package deal on Rocky Linux 9. For instance, let’s deploy the nano editor because of the dnf utility:

Similarly, you may run the yum command inside the terminal to comfortably deploy a package deal:

sudo yum deploy <package_name>

If you wish to replace the latest package deal, you may run the subsequent command:

sudo dnf replace <package_name>

or

sudo yum replace <package_name>

Finally, if you wish to put off a package deal, use the “remove” possibility inside the command to do it:

sudo dnf put off <package_name>

or

sudo yum replace <package_name>

Conclusion

This is all you considered necessary to know to deploy a package deal on Rocky Linux 9. We additionally included further tips, comparable to updating or doing away with the packages, so that you don’t locate whatever else over the net. Although we used the yum package deal utility for the setting up, you may additionally use the dnf package deal utility.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More