우분투 httpie 설치

우분투 httpie 설치

1 확인[ | ]

root@zetawiki:~# http
The program 'http' is currently not installed. You can install it by typing:
apt-get install httpie

2 설치[ | ]

root@zetawiki:~# apt-get install httpie
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python-pygments
Suggested packages:
  ttf-bitstream-vera
The following NEW packages will be installed:
  httpie python-pygments
0 upgraded, 2 newly installed, 0 to remove and 94 not upgraded.
Need to get 585 kB of archives.
After this operation, 3,096 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main python-pygments all 1.6+dfsg-1ubuntu1.1 [530 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/universe httpie amd64 0.8.0-1 [55.5 kB]
Fetched 585 kB in 2s (271 kB/s)
Selecting previously unselected package python-pygments.
(Reading database ... 89112 files and directories currently installed.)
Preparing to unpack .../python-pygments_1.6+dfsg-1ubuntu1.1_all.deb ...
Unpacking python-pygments (1.6+dfsg-1ubuntu1.1) ...
Selecting previously unselected package httpie.
Preparing to unpack .../httpie_0.8.0-1_amd64.deb ...
Unpacking httpie (0.8.0-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up python-pygments (1.6+dfsg-1ubuntu1.1) ...
Setting up httpie (0.8.0-1) ...

3 확인 2[ | ]

root@zetawiki:~# http
usage: http [--json] [--form] [--pretty {all,colors,format,none}]
            [--style STYLE] [--print WHAT] [--verbose] [--headers] [--body]
            [--stream] [--output FILE] [--download] [--continue]
            [--session SESSION_NAME_OR_PATH | --session-read-only SESSION_NAME_OR_PATH]
            [--auth USER[:PASS]] [--auth-type {basic,digest}]
            [--proxy PROTOCOL:PROXY_URL] [--follow] [--verify VERIFY]
            [--timeout SECONDS] [--check-status] [--ignore-stdin] [--help]
            [--version] [--traceback] [--debug]
            [METHOD] URL [REQUEST_ITEM [REQUEST_ITEM ...]]
http: error: too few arguments

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}