導航:首頁 > 版本升級 > 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安裝新版本相關的資料

熱點內容
cad繪圖簡易入門教程 瀏覽:628
qq影音在win10閃退 瀏覽:642
去哪裡練習編程 瀏覽:818
wifl密碼速查器下載 瀏覽:759
光釺貓怎麼連接網路 瀏覽:10
動漫喵app下載 瀏覽:204
ios開發獲取程序版本號 瀏覽:34
百度搜索怎麼關閉APP下載 瀏覽:243
安卓手機開發的信息 瀏覽:555
怎麼把字幕文件和視頻 瀏覽:78
外國人都在看什麼app 瀏覽:463
編程舞台中x是什麼 瀏覽:903
得物app中簽後賣什麼價格 瀏覽:952
proe如何另存格式文件格式 瀏覽:278
如何快速有效的翻譯英文網站 瀏覽:362
醫療文件在哪裡下載 瀏覽:65
南方傳媒網是什麼類型的網站 瀏覽:981
dos里編的匯編文件存在哪裡 瀏覽:799
學習網站二次開發 瀏覽:1000
java登錄鏈接資料庫代碼 瀏覽:450

友情鏈接