How to Install Software on Fedora Command Line

September 7, 2023 | By the+gnu+linux+evangelist.

Installing from Repo

  1. 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
    Command line dnf searching pipe

    For more insight then you can use the Fedora Repository Search Webpage.

  2. 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.

    Installing Krita

    Last, to get more insight about the dnf functionality:

    dnf --help

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress