Linux - Installare i file .tar.gz su Centos

Per installare i file .tar.gz su Centos ecco la procedura da seguire (In questo caso utilizzando Clamav)

1) wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/checkinstall-1.6.0-3.el5.rf.i386.rpm

2) rpm -Uvh checkinstall-1.6.0-3.el5.rf.i386.rpm

3)  wget http://ovh.dl.sourceforge.net/project/clamav/clamav/0.97/clamav-0.97.tar.gz

4) tar zxvf clamav-0.97.tar.gz

5) cd clamav-0.97.tar.gz

6) ./configure

7) make

8) checkinstall

       # create RPM
       checkinstall 1.6.0, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
       This software is released under the GNU GPL.

9) Dopo aver risposto a varie domande apparirà la seguente schermata
       Done. The new package has been saved to
       /usr/src/redhat/RPMS/i386/clamav-0.97.tar.gz
       You can install it in your system anytime using:
        rpm -i clamav-0.97.tar.gz

10) cd /usr/src/redhat/RPMS/i386

11)  rpm -Uvh clamav-0.97.tar.gz


12)  rpm -q clamav

      clamav-0.97