Install updates and install software on Fedora 22 Linux.

Posted: July 7, 2015. At: 5:15 PM. This was 3 years ago. Post ID: 8255
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

The new dnf command for Fedora 22 replaces the old yum command. But this new utility is still easy to use. To install all pending updates for Fedora 22, use this command.

[root@localhost homer]# dnf update

Use the dnf install command to install software.

[root@localhost homer]# dnf install vim mc
Last metadata expiration check performed 2:49:19 ago on Mon Jul  6 13:21:26 2015.
Dependencies resolved.
 Package                         Arch                    Version                              Repository               Size
 gpm-libs                        x86_64                  1.20.7-6.fc22                        fedora                   36 k
 mc                              x86_64                  1:4.8.13-1.fc22                      fedora                  1.8 M
 vim-common                      x86_64                  2:7.4.640-4.fc22                     fedora                  6.0 M
 vim-enhanced                    x86_64                  2:7.4.640-4.fc22                     fedora                  1.1 M
 vim-filesystem                  x86_64                  2:7.4.640-4.fc22                     fedora                   19 k
Transaction Summary
Install  5 Packages
Total download size: 8.9 M
Installed size: 30 M
Is this ok [y/N]:

Use the dnf distro-sync command to sync all installed packages with the updated versions.

[root@localhost homer]# dnf distro-sync

To find a certain package or packages, use this command.

[root@localhost homer]# dnf search prboom
Last metadata expiration check performed 3:07:16 ago on Mon Jul  6 13:21:26 2015.
================================================================== N/S Matched: prboom ==================================================================
prboom.x86_64 : Open source port of the DOOM game engine
prboom-plus.x86_64 : Free enhanced DOOM engine

With these simple commands the Linux user will be able to install software and updates easily. So get started now.

No comments have been made. Use this form to start the conversation :)

Leave a Reply