Installing from Repo
-
1. Searching Packages on Repo
First, to Search Software on Repository
Using a Keyword like:dnf search [MYKEYWORD]
Course, Replace “[MYKEYWORD]” with that of your choice in the above.
So for instance:dnf search program
Last, to shows All your Results one by one by a Command Pipe:
dnf search [MYKEYWORD] | less
In a “|” Pipe the Output of the first Instruction is stremed to the Next one.
The less Utility that can be used to read the contents one Page (one screen) at a Time.
Navigate with the Up/Down Arrows, “q” to Quit the List.
As in:dnf search program | less
For more insight then you can use the CentOS Repository Search Webpage.
-
2. Installing Packages from Repo
Then to Install Software from Repository
Simply use dnf Package Manager like:sudo dnf install [MYAPP]
Or also with the legacy alternative yum:
sudo yum install [MYAPP]
For example to Install Krita Scketching and Painting Program:
sudo dnf install krita
Use the “-y” Flag to Skip confirmation Prompt.
Last, to get more insight about the dnf functionality:
dnf --help
Contents