"우분투 jq 설치"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
5번째 줄: 5번째 줄:


==확인==
==확인==
<source lang='console'>
<syntaxhighlight lang='console'>
jmnote@zetawiki:~$ jq --version
jmnote@zetawiki:~$ jq --version
-bash: jq: command not found
-bash: jq: command not found
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
jmnote@zetawiki:~$ apt list jq
jmnote@zetawiki:~$ apt list jq
Listing... Done
Listing... Done
jq/xenial 1.5+dfsg-1 amd64
jq/xenial 1.5+dfsg-1 amd64
</source>
</syntaxhighlight>


==설치==
==설치==
<source lang='console'>
<syntaxhighlight lang='console'>
jmnote@zetawiki:~$ sudo apt install jq
jmnote@zetawiki:~$ sudo apt install jq
... (생략)
... (생략)
27번째 줄: 27번째 줄:
After this operation, 829 kB of additional disk space will be used.
After this operation, 829 kB of additional disk space will be used.
Do you want to continue? [Y/n]  
Do you want to continue? [Y/n]  
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 libonig2 amd64 5.9.6-1 [88.1 kB]
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]
Get:2 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 jq amd64 1.5+dfsg-1 [144 kB]
43번째 줄: 43번째 줄:
Setting up jq (1.5+dfsg-1) ...########################################...................]  
Setting up jq (1.5+dfsg-1) ...########################################...................]  
Processing triggers for libc-bin (2.23-0ubuntu9) ...###############################......]  
Processing triggers for libc-bin (2.23-0ubuntu9) ...###############################......]  
</source>
</syntaxhighlight>


==확인 2==
==확인 2==
<source lang='console'>
<syntaxhighlight lang='console'>
jmnote@zetawiki:~$ apt list jq
jmnote@zetawiki:~$ apt list jq
Listing... Done
Listing... Done
jq/xenial,now 1.5+dfsg-1 amd64 [installed]
jq/xenial,now 1.5+dfsg-1 amd64 [installed]
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
jmnote@zetawiki:~$ jq --version
jmnote@zetawiki:~$ jq --version
jq-1.5-1-a5b5cbe
jq-1.5-1-a5b5cbe
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 02:54 기준 최신판

  다른 뜻에 대해서는 우분투 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 }}