To install a package on Fedora via the command line, we use the yum command like so:
yum install [package]
Using tmux as an example:
yum install tmux
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
–> Running transaction check
—> Package tmux.x86_64 0:1.8-3.fc20 will be installed
–> Finished Dependency ResolutionDependencies Resolved
===========================================
Package Arch Version Repository Size
===========================================
Installing:
tmux x86_64 1.8-3.fc20 fedora 243 kTransaction Summary
===========================================
Install 1 PackageTotal download size: 243 k
Installed size: 558 k
Is this ok [y/d/N]:
You can see that the yum command provides some useful information about the package you have asked it to install. If you are happy with the information provided you can install with “y” or cancel with “n”.