Installing Heroku cli on any debian/ubuntu based linux distribution

in #heroku5 years ago

1_oRWDq-aupHGn_qku3auPUA.jpeg

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

Done!

Enjoy.

1_oRWDq-aupHGn_qku3auPUA.jpeg

Sort:  

Congratulations @j4c0b1! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published your First Post

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!