우분투 yarn 설치

우분투 yarn 설치

1 확인[ | ]

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

2 저장소 등록[ | ]

root@zetawiki:~# curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
OK
root@zetawiki:~# echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
deb http://dl.yarnpkg.com/debian/ stable main

3 apt-get update[ | ]

root@zetawiki:~# apt-get update
... (생략)
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
100% [Working]                                                     21.5 MB/s 0                                                                              Fetched 4,974 kB in 21s (233 kB/s)

Fetched 4,974 kB in 21s (233 kB/s)
Reading package lists... Done

4 설치[ | ]

root@zetawiki:~# apt-get install yarn
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  yarn
0 upgraded, 1 newly installed, 0 to remove and 171 not upgraded.
Need to get 1,813 kB of archives.
After this operation, 28.1 MB of additional disk space will be used.
Get:1 http://dl.yarnpkg.com/debian/ stable/main yarn all 0.17.10-1 [1,813 kB]
Fetched 1,813 kB in 4s (395 kB/s) 
Selecting previously unselected package yarn.
(Reading database ... 95675 files and directories currently installed.)
Preparing to unpack .../yarn_0.17.10-1_all.deb ...
Unpacking yarn (0.17.10-1) ...
Setting up yarn (0.17.10-1) ...

5 확인 2[ | ]

root@zetawiki:~# yarn --version
0.17.10

6 같이 보기[ | ]

7 참고[ | ]

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