yum 升级curl_linux 怎么升级替换旧版本的CURL

展开全部

|# curl -V

curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2

Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp

Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

[root@iZ259r7h4pfZ ~]# yum install -y curl

Loaded plugins: security

base |62616964757a686964616fe59b9ee7ad9431333363393038 3.7 kB 00:00

epel | 4.3 kB 00:00

epel/primary_db | 5.9 MB 00:00

extras | 3.4 kB 00:00

extras/primary_db | 29 kB 00:00

updates | 3.4 kB 00:00

updates/primary_db | 4.7 MB 00:00

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package curl.x86_64 0:7.19.7-46.el6 will be updated

---> Package curl.x86_64 0:7.19.7-53.el6_9 will be an update

--> Processing Dependency: libcurl = 7.19.7-53.el6_9 for package: curl-7.19.7-53.el6_9.x86_64

--> Running transaction check

---> Package libcurl.x86_64 0:7.19.7-46.el6 will be updated

--> Processing Dependency: libcurl = 7.19.7-46.el6 for package: libcurl-devel-7.19.7-46.el6.x86_64

---> Package libcurl.x86_64 0:7.19.7-53.el6_9 will be an update

--> Running transaction check

---> Package libcurl-devel.x86_64 0:7.19.7-46.el6 will be updated

---> Package libcurl-devel.x86_64 0:7.19.7-53.el6_9 will be an update

--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================

Package Arch Version Repository Size

============================================================================================================================================================================================================

Updating:

curl x86_64 7.19.7-53.el6_9 updates 197 k

Updating for dependencies:

libcurl x86_64 7.19.7-53.el6_9 updates 169 k

libcurl-devel x86_64 7.19.7-53.el6_9 updates 247 k

Transaction Summary

============================================================================================================================================================================================================

Upgrade 3 Package(s)

Total download size: 614 k

Downloading Packages:

(1/3): curl-7.19.7-53.el6_9.x86_64.rpm | 197 kB 00:00

(2/3): libcurl-7.19.7-53.el6_9.x86_64.rpm | 169 kB 00:00

(3/3): libcurl-devel-7.19.7-53.el6_9.x86_64.rpm | 247 kB 00:00

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Total 5.3 MB/s | 614 kB 00:00

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Updating : libcurl-7.19.7-53.el6_9.x86_64 1/6

Updating : libcurl-devel-7.19.7-53.el6_9.x86_64 2/6

Updating : curl-7.19.7-53.el6_9.x86_64 3/6

Cleanup : libcurl-devel-7.19.7-46.el6.x86_64 4/6

Cleanup : curl-7.19.7-46.el6.x86_64 5/6

Cleanup : libcurl-7.19.7-46.el6.x86_64 6/6

Verifying : libcurl-devel-7.19.7-53.el6_9.x86_64 1/6

Verifying : libcurl-7.19.7-53.el6_9.x86_64 2/6

Verifying : curl-7.19.7-53.el6_9.x86_64 3/6

Verifying : libcurl-devel-7.19.7-46.el6.x86_64 4/6

Verifying : curl-7.19.7-46.el6.x86_64 5/6

Verifying : libcurl-7.19.7-46.el6.x86_64 6/6

Updated:

curl.x86_64 0:7.19.7-53.el6_9

Dependency Updated:

libcurl.x86_64 0:7.19.7-53.el6_9 libcurl-devel.x86_64 0:7.19.7-53.el6_9

Complete!

[root@iZ259r7h4pfZ ~]# curl -V

curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2

Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp

Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

已赞过

已踩过<

你对这个回答的评价是?

评论

收起

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值