우분투 jq 설치

Jmnote (토론 | 기여)님의 2019년 11월 19일 (화) 15:25 판
  다른 뜻에 대해서는 우분투 jq 설치 문서를 참조하십시오.
  다른 뜻에 대해서는 CentOS jq 설치 문서를 참조하십시오.
  다른 뜻에 대해서는 리눅스 jq 다운로드 설치 문서를 참조하십시오.
우분투16 jq 설치

1 확인

jmnote@zetawiki:~$ jq --version
-bash: jq: command not found
jmnote@zetawiki:~$ apt list jq
Listing... Done
jq/xenial 1.5+dfsg-1 amd64

2 설치

jmnote@zetawiki:~$ sudo apt install jq
... (생략)
The following additional packages will be installed:
  libonig2
The following NEW packages will be installed:
  jq libonig2
0 upgraded, 2 newly installed, 0 to remove and 42 not upgraded.
Need to get 232 kB of archives.
After this operation, 829 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 libonig2 amd64 5.9.6-1 [88.1 kB]
Get:2 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 jq amd64 1.5+dfsg-1 [144 kB]
Fetched 232 kB in 0s (298 kB/s)
Selecting previously unselected package libonig2:amd64.
(Reading database ... 211774 files and directories currently installed.)
Preparing to unpack .../libonig2_5.9.6-1_amd64.deb ...
Unpacking libonig2:amd64 (5.9.6-1) ......................................................] 
Selecting previously unselected package jq...............................................] 
Preparing to unpack .../jq_1.5+dfsg-1_amd64.deb ...
Unpacking jq (1.5+dfsg-1) ...###############.............................................] 
Processing triggers for man-db (2.7.5-1) ...#############................................] 
Setting up libonig2:amd64 (5.9.6-1) ...
Setting up jq (1.5+dfsg-1) ...########################################...................] 
Processing triggers for libc-bin (2.23-0ubuntu9) ...###############################......]

3 확인 2

jmnote@zetawiki:~$ apt list jq
Listing... Done
jq/xenial,now 1.5+dfsg-1 amd64 [installed]
jmnote@zetawiki:~$ jq --version
jq-1.5-1-a5b5cbe

4 같이 보기

5 참고

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