curl paigaldamine [Debian]

Collapse
X
 
  • Aeg
  • Show
Puhasta kõik
uued postitused
  • root
    Huviline
    • Oct 2021
    • 318

    curl paigaldamine [Debian]

    Kui saate sellise veateate bash: curl: command not found
    Kuidas seda parandada?

    curl käsk on tööriist failide/andmete allalaadimiseks või ülekandmiseks serverist või serverisse, kasutades FTP, HTTP, HTTPS, SCP, SFTP, SMB ja muid toetatud protokolle Linuxi või Unixi sarnases süsteemis.

    Debianis curli paigaldamiseks kasutage järgmist käsku:
    Kood:
    sudo apt install curl
    või

    Kood:
    sudo apt-get install curl
    Kuvatakse:
    PHP Code:
    [sudo] password for vivek:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    libcurl3
    The following NEW packages will be installed:
    curl libcurl3
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 518 kB of archives.
    After this operation, 989 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://mirrors.kernel.org/debian stretch/main amd64 libcurl3 amd64 7.52.1-5 [291 kB]
    Get:2 http://mirrors.kernel.org/debian stretch/main amd64 curl amd64 7.52.1-5 [227 kB]
    Fetched 518 kB in 4s (116 kB/s)
    Selecting previously unselected package libcurl3:amd64.
    (Reading database ... 240584 files and directories currently installed.)
    Preparing to unpack .../libcurl3_7.52.1-5_amd64.deb ...
    Unpacking libcurl3:amd64 (7.52.1-5) ...
    Selecting previously unselected package curl.
    Preparing to unpack .../curl_7.52.1-5_amd64.deb ...
    Unpacking curl (7.52.1-5) ...
    Setting up libcurl3:amd64 (7.52.1-5) ...
    Processing triggers for libc-bin (2.24-11+deb9u1) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    Setting up curl (7.52.1-5) ... 
    
    Versiooni kontrollimiseks kirjutage:
    Kood:
    curl --version








Töötlen...