bboy@LE7450:~$ curl
Command 'curl' not found, but can be installed with:
sudo apt install curl
bboy@LE7450:~$ sudo apt install curl
[sudo] password for bboy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libfprint-2-tod1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libcurl4
The following NEW packages will be installed:
curl libcurl4
0 upgraded, 2 newly installed, 0 to remove and 33 not upgraded.
Need to get 394 kB of archives.
After this operation, 1,115 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ph.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4 amd64 7.68.0-1ubuntu2.2 [233 kB]
Get:2 http://ph.archive.ubuntu.com/ubuntu focal-updates/main amd64 curl amd64 7.68.0-1ubuntu2.2 [161 kB]
Fetched 394 kB in 4s (108 kB/s)
Selecting previously unselected package libcurl4:amd64.
(Reading database ... 129298 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.68.0-1ubuntu2.2_amd64.deb ...
Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.2) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.68.0-1ubuntu2.2_amd64.deb ...
Unpacking curl (7.68.0-1ubuntu2.2) ...
Setting up libcurl4:amd64 (7.68.0-1ubuntu2.2) ...
Setting up curl (7.68.0-1ubuntu2.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
bboy@LE7450:~$ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
OK
bboy@LE7450:~$ echo "deb https://dl.yarnpkg.com/debian/ stable main" |
> sudo tee /etc/apt/sources.list.d/yarn.list
deb https://dl.yarnpkg.com/debian/ stable main
bboy@LE7450:~$ sudo apt update && sudo apt install yarn
Hit:1 http://ph.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ph.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ph.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Get:6 https://dl.yarnpkg.com/debian stable/main all Packages [10.1 kB]
Get:7 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.1 kB]
Get:8 https://dl.yarnpkg.com/debian stable/main i386 Packages [10.1 kB]
Fetched 47.2 kB in 2s (28.6 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libfprint-2-tod1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libc-ares2 libnode64 nodejs nodejs-doc
Suggested packages:
npm
The following NEW packages will be installed:
libc-ares2 libnode64 nodejs nodejs-doc yarn
0 upgraded, 5 newly installed, 0 to remove and 33 not upgraded.
Need to get 7,698 kB of archives.
After this operation, 36.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ph.archive.ubuntu.com/ubuntu focal/main amd64 libc-ares2 amd64 1.15.0-1build1 [37.8 kB]
Get:2 https://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.22.5-1 [891 kB]
Get:3 http://ph.archive.ubuntu.com/ubuntu focal/universe amd64 libnode64 amd64 10.19.0~dfsg-3ubuntu1 [5,765 kB]
Get:4 http://ph.archive.ubuntu.com/ubuntu focal/universe amd64 nodejs-doc all 10.19.0~dfsg-3ubuntu1 [942 kB]
Get:5 http://ph.archive.ubuntu.com/ubuntu focal/universe amd64 nodejs amd64 10.19.0~dfsg-3ubuntu1 [61.1 kB]
Fetched 7,698 kB in 18s (424 kB/s)
Selecting previously unselected package libc-ares2:amd64.
(Reading database ... 129311 files and directories currently installed.)
Preparing to unpack .../libc-ares2_1.15.0-1build1_amd64.deb ...
Unpacking libc-ares2:amd64 (1.15.0-1build1) ...
Selecting previously unselected package libnode64:amd64.
Preparing to unpack .../libnode64_10.19.0~dfsg-3ubuntu1_amd64.deb ...
Unpacking libnode64:amd64 (10.19.0~dfsg-3ubuntu1) ...
Selecting previously unselected package nodejs-doc.
Preparing to unpack .../nodejs-doc_10.19.0~dfsg-3ubuntu1_all.deb ...
Unpacking nodejs-doc (10.19.0~dfsg-3ubuntu1) ...
Selecting previously unselected package yarn.
Preparing to unpack .../archives/yarn_1.22.5-1_all.deb ...
Unpacking yarn (1.22.5-1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_10.19.0~dfsg-3ubuntu1_amd64.deb ...
Unpacking nodejs (10.19.0~dfsg-3ubuntu1) ...
Setting up libc-ares2:amd64 (1.15.0-1build1) ...
Setting up libnode64:amd64 (10.19.0~dfsg-3ubuntu1) ...
Setting up nodejs-doc (10.19.0~dfsg-3ubuntu1) ...
Setting up yarn (1.22.5-1) ...
Setting up nodejs (10.19.0~dfsg-3ubuntu1) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto m
ode
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
bboy@LE7450:~$ yarn --version
1.22.5
bboy@LE7450:~$
Command 'curl' not found, but can be installed with:
sudo apt install curl
bboy@LE7450:~$ sudo apt install curl
[sudo] password for bboy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libfprint-2-tod1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libcurl4
The following NEW packages will be installed:
curl libcurl4
0 upgraded, 2 newly installed, 0 to remove and 33 not upgraded.
Need to get 394 kB of archives.
After this operation, 1,115 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ph.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4 amd64 7.68.0-1ubuntu2.2 [233 kB]
Get:2 http://ph.archive.ubuntu.com/ubuntu focal-updates/main amd64 curl amd64 7.68.0-1ubuntu2.2 [161 kB]
Fetched 394 kB in 4s (108 kB/s)
Selecting previously unselected package libcurl4:amd64.
(Reading database ... 129298 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.68.0-1ubuntu2.2_amd64.deb ...
Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.2) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.68.0-1ubuntu2.2_amd64.deb ...
Unpacking curl (7.68.0-1ubuntu2.2) ...
Setting up libcurl4:amd64 (7.68.0-1ubuntu2.2) ...
Setting up curl (7.68.0-1ubuntu2.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
bboy@LE7450:~$ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
OK
bboy@LE7450:~$ echo "deb https://dl.yarnpkg.com/debian/ stable main" |
> sudo tee /etc/apt/sources.list.d/yarn.list
deb https://dl.yarnpkg.com/debian/ stable main
bboy@LE7450:~$ sudo apt update && sudo apt install yarn
Hit:1 http://ph.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ph.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ph.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Get:6 https://dl.yarnpkg.com/debian stable/main all Packages [10.1 kB]
Get:7 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.1 kB]
Get:8 https://dl.yarnpkg.com/debian stable/main i386 Packages [10.1 kB]
Fetched 47.2 kB in 2s (28.6 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libfprint-2-tod1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libc-ares2 libnode64 nodejs nodejs-doc
Suggested packages:
npm
The following NEW packages will be installed:
libc-ares2 libnode64 nodejs nodejs-doc yarn
0 upgraded, 5 newly installed, 0 to remove and 33 not upgraded.
Need to get 7,698 kB of archives.
After this operation, 36.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ph.archive.ubuntu.com/ubuntu focal/main amd64 libc-ares2 amd64 1.15.0-1build1 [37.8 kB]
Get:2 https://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.22.5-1 [891 kB]
Get:3 http://ph.archive.ubuntu.com/ubuntu focal/universe amd64 libnode64 amd64 10.19.0~dfsg-3ubuntu1 [5,765 kB]
Get:4 http://ph.archive.ubuntu.com/ubuntu focal/universe amd64 nodejs-doc all 10.19.0~dfsg-3ubuntu1 [942 kB]
Get:5 http://ph.archive.ubuntu.com/ubuntu focal/universe amd64 nodejs amd64 10.19.0~dfsg-3ubuntu1 [61.1 kB]
Fetched 7,698 kB in 18s (424 kB/s)
Selecting previously unselected package libc-ares2:amd64.
(Reading database ... 129311 files and directories currently installed.)
Preparing to unpack .../libc-ares2_1.15.0-1build1_amd64.deb ...
Unpacking libc-ares2:amd64 (1.15.0-1build1) ...
Selecting previously unselected package libnode64:amd64.
Preparing to unpack .../libnode64_10.19.0~dfsg-3ubuntu1_amd64.deb ...
Unpacking libnode64:amd64 (10.19.0~dfsg-3ubuntu1) ...
Selecting previously unselected package nodejs-doc.
Preparing to unpack .../nodejs-doc_10.19.0~dfsg-3ubuntu1_all.deb ...
Unpacking nodejs-doc (10.19.0~dfsg-3ubuntu1) ...
Selecting previously unselected package yarn.
Preparing to unpack .../archives/yarn_1.22.5-1_all.deb ...
Unpacking yarn (1.22.5-1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_10.19.0~dfsg-3ubuntu1_amd64.deb ...
Unpacking nodejs (10.19.0~dfsg-3ubuntu1) ...
Setting up libc-ares2:amd64 (1.15.0-1build1) ...
Setting up libnode64:amd64 (10.19.0~dfsg-3ubuntu1) ...
Setting up nodejs-doc (10.19.0~dfsg-3ubuntu1) ...
Setting up yarn (1.22.5-1) ...
Setting up nodejs (10.19.0~dfsg-3ubuntu1) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto m
ode
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
bboy@LE7450:~$ yarn --version
1.22.5
bboy@LE7450:~$
Comments
Post a Comment