How to Install Rsync in Linux – Easy Steps
Rsync is a fast file copying tool used for both remote and local file system. Rsync is widely used as Backup Sync tool to copy from remote or local machines and vice versa.
Lets see about installation of Rsync using yum As a root, provide the below command,
# yum install rsync Loaded plugins: priorities, update-motd, upgrade-helper Resolving Dependencies --> Running transaction check ---> Package rsync.x86_64 0:3.0.6-12.13.amzn1 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: rsync x86_64 3.0.6-12.13.amzn1 amzn-main 358 k Transaction Summary ================================================================================ Install 1 Package Total download size: 358 k Installed size: 677 k Is this ok [y/d/N]: y Downloading packages: rsync-3.0.6-12.13.amzn1.x86_64.rpm | 358 kB 00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : rsync-3.0.6-12.13.amzn1.x86_64 1/1 Verifying : rsync-3.0.6-12.13.amzn1.x86_64 1/1 Installed: rsync.x86_64 0:3.0.6-12.13.amzn1 Complete!
To check Rsync command Installation or verify, Type in
# rsync --help rsync version 3.0.6 protocol version 30 Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, ----
Next lets see about installation of Rsync package from Binary source file,
Installation of Rsync using Binary File:-
Sometimes, Rsync doesn’t comes with yum repo, in that case, We can install using binary package. Download the latest Rsync file from this below url to the server.,
1. Downloading the File from the Samba.org
# wget https://www.samba.org/ftp/rsync/src/rsync-3.1.2.tar.gz
2. Configure
Next get into the rsync folder by untaring the file, By issuing the following command
# tar -xvzf rsync-3.1.2.tar.gz # rm -f rsync-3.1.2.tar.gz # cd rsync-3.1.2.tar.gz # ./configure
3. Make the Installation File
Run the below command to make Installation file ready
# make
4. Make Install
Below command is to complete the Installations
# make Install
Yes, That’s all about install rsync. We have done with the Installation of Rsync Package. We can start playing with the Rsync command for file transfer, copy & backups between local & remote machines,
Next Read about 9 practical linux Rsync command
Please do Share the article & support us in social media.
Leave a Reply
Be the First to Comment!