導航:首頁 > 版本升級 > curl安裝新版本

curl安裝新版本

發布時間:2023-08-16 16:27:27

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 | 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

㈡ 如何在 Linux 中安裝最新的 Python 3.6 版本

#下載源碼包安裝,先裝wget,或curl。
yuminstallwget
#再安裝解壓縮和編譯環境:
yuminstallzlib-develbzip2-developenssl-develncurses-develsqlite-develreadline-develtk-devel
#下載源碼包:
cd/usr/local/src
wgethttps://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz
#解壓:
tar-zxf/usr/local/src/Python-3.6.0.tgz&&cdPython-3.6.0
mkdir/usr/local/python3
#編譯安裝:
./configure--prefix=/usr/local/python3
make&&makealtinstall
#建立鏈接
ln-s/usr/local/python3/bin/python3.6/usr/bin/python3
#可直接使用
"python3"
ln-s/usr/local/python3/bin/pip3.6/usr/bin/pip3

-------------------我-是-分-割-線----------------------------------

把分割線以上的內容保存為install_python3.sh,然後加上運行許可權:

chmoda+xinstall_python3.sh

用root許可權運行

./install_python3.sh

結束後就安裝成功了。

#可直接使用"pip3"

#最後測試下

python3

pip3

㈢ linux curl 命令怎麼在windows上實現

可以在windows里安裝curl命令,去官網下載下來,然後照裡面的安裝說明安裝就可以了。。。

閱讀全文

與curl安裝新版本相關的資料

熱點內容
在剪映app中怎麼查看視頻尺寸 瀏覽:9
linux文件成分包括 瀏覽:886
文件轉換免費的軟體 瀏覽:644
linuxwpsxlsx 瀏覽:482
小米手機怎麼上移動網路連接失敗怎麼辦 瀏覽:598
win10系統打開java 瀏覽:479
全日制編程什麼意思 瀏覽:447
筆記本創建區域網怎麼傳文件 瀏覽:871
怎樣查看id密碼 瀏覽:647
贛州極客晨星少兒編程怎麼樣 瀏覽:690
覺醒年代哪個app可以免費觀看 瀏覽:830
如何關閉win10觸摸屏幕 瀏覽:761
蘋果142不能傳文件 瀏覽:128
如何看歷史底部數據 瀏覽:230
怎麼在電腦上下軟體或安裝app 瀏覽:798
qq頭像電影截圖情侶 瀏覽:87
安卓的網路位置設置在哪 瀏覽:973
編程俠官網如何登錄 瀏覽:484
借貸王app怎麼樣 瀏覽:552
qq黑鑽手機怎麼開通 瀏覽:465

友情鏈接