Install updates and install software on Fedora 22 Linux.

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[root@localhost homer]# dnf update Use the dnf install command to install software. [root@localhost homer]# dnf install vim mc Last metadata … Read more

How to find out which rpm package provides a file that you need.

How to find out what rpm package provides a file that you need. The yum provides command is useful for finding out this information. You may use wildcards to search for a file, this can make finding it easier. [homer@localhost jackhammer]$ yum provides */redhat**.jpg Loaded plugins: langpacks nagios-3.5.1-4.fc20.x86_64 : Nagios monitors hosts and services and … Read more

Some very useful Fedora 19 yum commands for querying the package database and installing software.

This is how you query the package database to see if a package is installed or not. root@neo homer# yum list installed | grep xterm xterm.x86_64 293-1.fc19 @anacondaroot@neo homer# yum list installed | grep xterm xterm.x86_64 293-1.fc19 @anaconda This is a more verbose way of doing this. root@neo homer# yum list installed xterm Loaded plugins: … Read more