bash - 在 Redhat 中升级 rsync 的问题

标签 bash centos upgrade rsync

我已经安装了rsync version 3.0.6 protocol version 30,想升级到3.1.1或3.1.2版本。

如果我尝试使用 yum 安装,我会得到已经安装的最新版本

# yum -y install rsync
Package rsync-3.0.6-12.el6.x86_64 already installed and latest version
Nothing to do 

我试过下载rsync-3.1.1.tar 和rsync-3.1.2.tar 版本手动安装发送

./configure
make install

发送上面的两个命令时我没有看到任何可见的错误,但是当我再次检查 rsync --version 时,版本仍然是 3.0.6。

我做错了什么?

下面的linux版本:

# cat /proc/version
Linux version 2.6.32-573.3.1.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Thu Aug 13 22:55:16 UTC 2015
# cat /etc/issue
CentOS release 6.7 (Final)
Kernel \r on an \m

感谢您的帮助

最佳答案

make install

执行 make install 可能会将您的新版本安装到一些不同的路径或部分覆盖您以前的安装。这样做通常不是一个好主意。更好的方法是至少检查 redhat 使用了哪些配置选项。

无论如何,从 make install 日志中,您应该可以看到安装新 rsync 的路径。

关于bash - 在 Redhat 中升级 rsync 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35590716/

相关文章:

xcode - 升级到 Xcode 10 后出现问题 : Build input file cannot be found

python - 使用 bash 在各自的选项卡中启动我的所有服务器

bash - 在 bash 中转义斜杠完成

Mysqlbug : Could not find a text editor.(尝试过 emacs)

php - 为什么网站上不显示 url 我该如何解决这个问题,是因为我使用的是 ip 地址而不是 "myipaddress"/mvc 之类的 url 示例?

linux - 使用 -fPIC 重新编译 makefile

php - 如何将 laravel/laravel 从 5.3 更新到 5.4?

bash - 运行作为参数传递给 bash 脚本的多个命令

perl - 从 bash 脚本获取 perl 脚本的输出并退出

postgresql - 升级 PostgreSQL 数据库。函数会发生什么?