Fedora 20: Installing packages


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 Resolution

Dependencies Resolved

Package        Arch             Version                 Repository        Size
tmux           x86_64           1.8-3.fc20              fedora           243 k

Transaction Summary
Install  1 Package

Total 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”.