How to Install the IBM Cloud Functions on Linux Mint

Attempting to install the IBM Cloud Developer Tools on Linux Mint 19.2 (Tina) will throw an error. Here is how to fix it by making a small change to the installer.

How to Install the IBM Cloud Functions on Linux Mint

Attempting to install the IBM Cloud Developer Tools on Linux Mint 19.2 (Tina) will throw an error like the one below.

[main] --==[ IBM Cloud Developer Tools for Linux/MacOS - Installer, v1.2.3 ]==--
[main] WARN: Linux has only been tested on Ubuntu, RedHat, Centos, Debian and Fedora distrubutions please let us know if you use this utility on other Distros
[install] Starting Installation...
[install] Note: You may be prompted for your 'sudo' password during install.
[install_deps] ERROR: This script has not been updated for use with your linux distribution (Linux Mint 19.2 Tina) 

In any case none of this is making sense as Linux Mint is actually based on Ubuntu. Therefore anything that works on Ubuntu should pretty much automatically work on Linux Mint.

Solution. Do a Small Change to the IBM Cloud Developer Tools Installer

  1. Download the installer
wget https://ibm.biz/idt-installer
  1. Edit the installer and replace the line below to include Linux Mint.
if [[ "${DISTRO}" == *Ubuntu* || "${DISTRO}" == *Debian*]]; then
if [[ "${DISTRO}" == *Ubuntu* || "${DISTRO}" == *Debian*  || "${DISTRO}" == *Mint* ]]; then

Execute the installer to complete the installation.

bash idt-installer

Execute the following commands to complete the setup of the IBM Cloud Developer Tools.

ibmcloud dev help
ibmcloud login
ibmcloud login -o ORGANISATION -s SPACE
ibmcloud wsk property get --auth

Hooray, you have successfully installed IBM Cloud Developer Tools on your Linux Mint OS.

Previous
Laravel. Error-prone Logging
Next
Linux Mint. Checking Battery Status

Keep Reading

Explore more articles and insights

Back to Golang: Why I Switched From Static to Dynamic Again

Back to Golang: Why I Switched From Static to Dynamic Again

Read Article
Associations and Eager Loading in Go — Without GORM

Associations and Eager Loading in Go — Without GORM

Read Article
Soft Deletes Done Right — Three Strategies for Go

Soft Deletes Done Right — Three Strategies for Go

Read Article
View All Blog Posts