When using dnf in RHEL 8, the process for choosing which version to install is as follows:
Run the following command to search for packages:
$ dnf search <package_name>
Identify the package that you want to install.
List the available versions of the package by running the following command:
$ dnf --showduplicates list <package_name>
Choose the version that you want to install, and run the following command:
$ sudo dnf install <package_name>-<version>
Replace <package_name>
with the package name and <version>
with the version number that you want to install.
Alternatively, you can use the following command to install the latest version of a package:
$ sudo dnf install <package_name>
This will automatically install the latest version of the package with all its dependencies. However, if you need to install an older version, you will need to use the process outlined above.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-01-27 11:00:00 +0000
Seen: 11 times
Last updated: Sep 02 '22
How to specify a particular version of NuGet during the publishing process?
Why does the WiX4 Bundle fail to install?
How can I install OmniSharp for Visual Studio Code without an internet connection?
When trying to install composer, why is Ubuntu unable to find the openssl package?
Why am I unable to install plugins on WP due to Error 403?
Is the library `Msys2` already installed on Chocolatey?
How can one install packages globally in a virtual environment?
If I am unable to install an app from Google Play, how can I detect any errors?
What is meant by the term "Install" in a Chocolatey package?