First of all you should have root access.
You can run as root or using sudo.
If you are using the Windows Subsystem for Linux you can issue the commands with sudo.
For this recipe we will need :
- wget
- curl
- apt-get
- sudo
- ca-certificates
Lets start.
$ sudo apt-get install ca-certificates
$ sudo apt-get install curl
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libcurl3
The following NEW packages will be installed:
curl libcurl3
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 519 kB of archives.
After this operation, 989 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian stretch/main amd64 libcurl3 amd64 7.52.1–5+deb9u9 [292 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 curl amd64 7.52.1–5+deb9u9 [227 kB]
Fetched 519 kB in 0s (718 kB/s)
Selecting previously unselected package libcurl3:amd64.
(Reading database … 30957 files and directories currently installed.)
Preparing to unpack …/libcurl3_7.52.1–5+deb9u9_amd64.deb …
Unpacking libcurl3:amd64 (7.52.1–5+deb9u9) …
Selecting previously unselected package curl.
Preparing to unpack …/curl_7.52.1–5+deb9u9_amd64.deb …
Unpacking curl (7.52.1–5+deb9u9) …
Setting up libcurl3:amd64 (7.52.1–5+deb9u9) …
Processing triggers for libc-bin (2.24–11+deb9u4) …
Setting up curl (7.52.1–5+deb9u9) …
$ sudo wget -q — https://toolbelt.heroku.com/install-ubuntu.sh
$ chmod +x install-ubuntu.sh
$ sudo ./install-ubuntu.sh
dpkg -s apt-transport-https
- echo deb https://cli-assets.heroku.com/apt ./
- dpkg -s heroku-toolbelt
- true
- curl https://cli-assets.heroku.com/apt/release.key
- apt-key add -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1737 100 1737 0 0 10110 0 — : — : — — : — : — — : — : — 10098
OK - apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.debian.org/debian stretch-backports InRelease
Hit:5 http://deb.debian.org/debian stretch Release
Get:6 https://cli-assets.heroku.com/apt ./ InRelease [2,533 B]
Get:8 https://cli-assets.heroku.com/apt ./ Packages [616 B]
Fetched 3,149 B in 4s (757 B/s)
Reading package lists… Done - apt-get install -y heroku
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
heroku
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.5 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://cli-assets.heroku.com/apt ./ heroku 7.22.7–1 [17.5 MB]
Fetched 17.5 MB in 3s (5,203 kB/s)
Selecting previously unselected package heroku.
(Reading database … 30974 files and directories currently installed.)
Preparing to unpack …/heroku_7.22.7–1_amd64.deb …
Unpacking heroku (7.22.7–1) …
Setting up heroku (7.22.7–1) …
heroku installed to /usr/bin/heroku
heroku/7.22.7 linux-x64 node-v11.10.1
Done!
Enjoy.
Congratulations @j4c0b1! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Vote for @Steemitboard as a witness to get one more award and increased upvotes!