If you use CentOS and want to add some extra packages you can use EPEL.

Extra Packages for Enterprise Linux is project created by Fedora.

In order to use repositories on CentOS first download and install RPM appropriate for your version of CentOS from here:

Method 1

http://dl.fedoraproject.org/pub/epel/

Then install it and enjoy more packages from new repo.

 

Method 2

[root@localhost ~]# yum install epel-release

Here is example from CenOS 7 how to add EPEL repositories:

[root@localhost ~]# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
--2015-05-24 08:52:36--  http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 209.132.181.24, 209.132.181.25, 209.132.181.26, ...
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14524 (14K) [application/x-rpm]
Saving to: ‘epel-release-7-5.noarch.rpm’

100%[====================================================================================================================>] 14,524      94.2KB/s   in 0.2s

2015-05-24 08:52:36 (94.2 KB/s) - ‘epel-release-7-5.noarch.rpm’ saved [14524/14524]

[root@localhost ~]# rpm -ivh epel-release-7-5.noarch.rpm
warning: epel-release-7-5.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
1:epel-release-7-5                 ################################# [100%]
[root@localhost ~]# yum update
Loaded plugins: fastestmirror
base                                                                                                                                   | 3.6 kB  00:00:00
epel/x86_64/metalink                                                                                                                   |  25 kB  00:00:00
epel                                                                                                                                   | 4.4 kB  00:00:00
extras                                                                                                                                 | 3.4 kB  00:00:00
updates                                                                                                                                | 3.4 kB  00:00:00
vz-base                                                                                                                                |  951 B  00:00:00
vz-updates                                                                                                                             |  951 B  00:00:00
(1/2): epel/x86_64/group_gz                                                                                                            | 169 kB  00:00:00
(2/2): epel/x86_64/primary_db                                                                                                          | 3.5 MB  00:00:00
(1/2): epel/x86_64/updateinfo                                                                                                          | 373 kB  00:00:00
(2/2): epel/x86_64/pkgtags                                                                                                             | 1.5 MB  00:00:00
Loading mirror speeds from cached hostfile
* base: mirror1.babylon.network
* epel: epel.mirrors.ovh.net
* extras: mirror1.babylon.network
* updates: mirror1.babylon.network
No packages marked for update
[root@localhost ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirrors.ovh.net
* epel: epel.mirrors.ovh.net
* extras: centos.mirrors.ovh.net
* updates: centos.mirrors.ovh.net
repo id                                                      repo name                                                                                  status
base/7/x86_64                                                CentOS-7 - Base                                                                            8,652
epel/x86_64                                                  Extra Packages for Enterprise Linux 7 - x86_64                                             7,950
extras/7/x86_64                                              CentOS-7 - Extras                                                                            128
updates/7/x86_64                                             CentOS-7 - Updates                                                                           601
vz-base                                                      vz-base                                                                                        1
vz-updates                                                   vz-updates                                                                                     0
repolist: 17,332
[root@localhost ~]# yum upgrade