1. apt-get 을 통해서 curl 을 설치합니다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | $ sudo apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libcurl3-gnutls The following packages will be upgraded: curl libcurl3-gnutls 2 upgraded, 0 newly installed, 0 to remove and 58 not upgraded. Need to get 323 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 curl amd64 7.47.0-1ubuntu2.4 [139 kB] Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcurl3-gnutls amd64 7.47.0-1ubuntu2.4 [184 kB] Fetched 323 kB in 27s (11.9 kB/s) (Reading database ... 65475 files and directories currently installed.) Preparing to unpack .../curl_7.47.0-1ubuntu2.4_amd64.deb ... Unpacking curl (7.47.0-1ubuntu2.4) over (7.47.0-1ubuntu2.2) ... Preparing to unpack .../libcurl3-gnutls_7.47.0-1ubuntu2.4_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.4) over (7.47.0-1ubuntu2.2) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for libc-bin (2.23-0ubuntu9) ... Setting up libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.4) ... Setting up curl (7.47.0-1ubuntu2.4) ... Processing triggers for libc-bin (2.23-0ubuntu9) ... | cs |
2. curl 설치 확인
1 2 3 4 5 | $ curl -V curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets | cs |
'Operating System > Linux' 카테고리의 다른 글
파일 내의 문자열 검색 (0) | 2017.11.21 |
---|---|
ubuntu docker 설치 및 계정 권한 부여 (0) | 2017.11.07 |
centos user 추가 (0) | 2017.11.06 |
ubuntu 설치된 패키지 목록 확인 (0) | 2017.11.06 |
centos python pip 설치 (0) | 2017.11.06 |