Install and upgrade the rsync

To increase the download speed via rsync its always better to use the latest rsync version.Refer to the following steps to install and upgrade the rsync

Loghin in to the server as a root user

root@linux7802 [~]# cd /usr/src/

Now download the latest rsync version source from the url https://rsync.samba.org/ftp/rsync/src/

root@linux7802 [/usr/src]#wget https://rsync.samba.org/ftp/rsync/src/rsync-3.0.9.tar.gz

root@linux7802 [/usr/src]#tar -xzvf  rsync-3.0.9.tar.gz

root@linux7802 [/usr/src]#cd rsync-3.0.9/

root@linux7802 [/usr/src/rsync-3.0.9]# ./configure

root@linux7802 [/usr/src/rsync-3.0.9]# make

root@linux7802 [/usr/src/rsync-3.0.9]# make test

root@linux7802 [/usr/src/rsync-3.0.9]# make install

root@linux7802 [/usr/src/rsync-3.0.9]# rm -f /usr/bin/rsync

root@linux7802 [/usr/src/rsync-3.0.9]# ln -s /usr/local/bin/rsync /usr/bin/rsync

Now check the new rsync version

root@linux7802 [/usr/src/rsync-3.0.9]# rsync  –version
rsync  version 3.0.9  protocol version 30

Its 3.0.9 now 🙂

About Anant 373 Articles
Senior technical writer