Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why couldn't the latest version of rsync be installed on CentOS 7.2?

I am using CentOS 7.2.

I would like to install the latest version of rsync - rsync-3.1.2,
rsync-3.0.9 is on system, installed when installing mariadb with yum,

# rpm -qa |grep rsync
rsync-3.0.9-17.el7.x86_64

removing rsync-3.0.9 first,

# yum remove rsync

rsync and mariadb were removed together,
then,
installing rsync-3.1.2 from source code,

# wget https://download.samba.org/pub/rsync/src/rsync-3.1.2.tar.gz
# tar -zxvf rsync-3.1.2.tar.gz
# cd rsync-3.1.2
# ./configure
# make
# make install 

then,
installing mariadb with yum again,
but rsync-3.0.9 will still be installed.

How can I solve the problem?

like image 869
zwl1619 Avatar asked Apr 04 '16 15:04

zwl1619


1 Answers

You can install rsync 3.1.2 from the Fedora 24 .rpm package:

wget http://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/x86_64/os/Packages/r/rsync-3.1.2-2.fc24.x86_64.rpm
rpm -Uvh rsync-3.1.2-2.fc24.x86_64.rpm

(but that question doesn't really belong to stackoverflow)

like image 145
mivk Avatar answered Sep 27 '22 19:09

mivk