> Installing Heroku Toolbelt:
$ sudo apt-get install software-properties-common # debian only
$ sudo add-apt-repository "deb https://cli-assets.heroku.com/branches/stable/apt ./"
$ curl -L https://cli-assets.heroku.com/apt/release.key | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install heroku
> Terminal:
mccrazy@Lenovo-N22:~$ subl Documents/crazynotes/MyUbuntuNotes.txt
mccrazy@Lenovo-N22:~$ sudo apt-get install software-properties-common
[sudo] password for mccrazy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python3-software-properties software-properties-gtk
The following packages will be upgraded:
python3-software-properties software-properties-common
software-properties-gtk
3 upgraded, 0 newly installed, 0 to remove and 154 not upgraded.
Need to get 76.7 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ph.archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.6 [9,432 B]
Get:2 http://ph.archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-gtk all 0.96.20.6 [47.1 kB]
Get:3 http://ph.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.6 [20.1 kB]
Fetched 76.7 kB in 0s (134 kB/s)
(Reading database ... 178270 files and directories currently installed.)
Preparing to unpack .../software-properties-common_0.96.20.6_all.deb ...
Unpacking software-properties-common (0.96.20.6) over (0.96.20.5) ...
Preparing to unpack .../software-properties-gtk_0.96.20.6_all.deb ...
Unpacking software-properties-gtk (0.96.20.6) over (0.96.20.5) ...
Preparing to unpack .../python3-software-properties_0.96.20.6_all.deb ...
Unpacking python3-software-properties (0.96.20.6) over (0.96.20.5) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up python3-software-properties (0.96.20.6) ...
Setting up software-properties-common (0.96.20.6) ...
Setting up software-properties-gtk (0.96.20.6) ...
mccrazy@Lenovo-N22:~$ sudo add-apt-repository "deb https://cli-assets.heroku.com/branches/stable/apt ./"
mccrazy@Lenovo-N22:~$ sudo apt-get update
Hit:1 http://ph.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://ph.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://ph.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:4 http://ph.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [527 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:6 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease
Get:7 http://ph.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [513 kB]
Ign:8 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [54.7 kB]
Get:10 http://ph.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [213 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [45.7 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [32.2 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [37.0 kB]
Get:14 https://cli-assets.heroku.com/branches/stable/apt ./ Release [1,237 B]
Get:15 http://ph.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [289 kB]
Get:16 http://ph.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [189 kB]
Get:17 http://ph.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [460 kB]
Get:18 https://cli-assets.heroku.com/branches/stable/apt ./ Release.gpg [473 B]
Ign:18 https://cli-assets.heroku.com/branches/stable/apt ./ Release.gpg
Get:19 http://ph.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [446 kB]
Get:20 https://cli-assets.heroku.com/branches/stable/apt ./ Packages [762 B]
Get:21 http://ph.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [160 kB]
Get:22 http://ph.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [188 kB]
Get:23 http://ph.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2,516 B]
Get:24 http://ph.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Fetched 3,469 kB in 6s (562 kB/s)
Reading package lists... Done
W: GPG error: https://cli-assets.heroku.com/branches/stable/apt ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C927EBE00F1B0520
W: The repository 'https://cli-assets.heroku.com/branches/stable/apt ./ Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
mccrazy@Lenovo-N22:~$ heroku login
heroku: command not found
mccrazy@Lenovo-N22:~$ source ~/.profile
mccrazy@Lenovo-N22:~$ heroku login
heroku: command not found
mccrazy@Lenovo-N22:~$ sudo apt-get update
Hit:1 http://ph.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://ph.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://ph.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:4 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease
Hit:5 https://cli-assets.heroku.com/branches/stable/apt ./ Release
Get:6 https://cli-assets.heroku.com/branches/stable/apt ./ Release.gpg [473 B]
Hit:7 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease
Hit:8 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:6 https://cli-assets.heroku.com/branches/stable/apt ./ Release.gpg
Fetched 473 B in 1s (309 B/s)
Reading package lists... Done
W: GPG error: https://cli-assets.heroku.com/branches/stable/apt ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C927EBE00F1B0520
W: The repository 'https://cli-assets.heroku.com/branches/stable/apt ./ Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
mccrazy@Lenovo-N22:~$ ^C
mccrazy@Lenovo-N22:~$ curl -L https://cli-assets.heroku.com/apt/release.key | sudo apt-key add -
[sudo] password for mccrazy: % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1737 100 1737 0 0 2787 0 --:--:-- --:--:-- --:--:-- 2788
Sorry, try again.
[sudo] password for mccrazy:
OK
mccrazy@Lenovo-N22:~$ sudo apt-get update
Hit:1 http://ph.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://ph.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://ph.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:5 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease
Ign:6 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease
Get:7 https://cli-assets.heroku.com/branches/stable/apt ./ Release [1,237 B]
Get:8 https://cli-assets.heroku.com/branches/stable/apt ./ Release.gpg [473 B]
Hit:9 https://cli-assets.heroku.com/branches/stable/apt ./ Packages
Fetched 308 kB in 4s (62.1 kB/s)
Reading package lists... Done
mccrazy@Lenovo-N22:~$ sudo apt-get install 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 154 not upgraded.
Need to get 15.8 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://cli-assets.heroku.com/branches/stable/apt ./ heroku 5.9.1-1 [15.8 MB]
Fetched 15.8 MB in 27s (585 kB/s)
Selecting previously unselected package heroku.
(Reading database ... 178270 files and directories currently installed.)
Preparing to unpack .../heroku_5.9.1-1_amd64.deb ...
Unpacking heroku (5.9.1-1) ...
Setting up heroku (5.9.1-1) ...
mccrazy@Lenovo-N22:~$ heroku login
Enter your Heroku credentials:
Email: baliwme@gmail.com
Password: ********
Logged in as baliwme@gmail.com
mccrazy@Lenovo-N22:~$
Comments
Post a Comment