You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supporting details
[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 (Gentoo Base System release 2.6)
tina@violetina ~/ibm-cloud-developer-tools/linux-installer $
** i patched the file to work around**
diff --git a/linux-installer/idt-installer b/linux-installer/idt-installer
index 5bbcf26..1412337 100755
--- a/linux-installer/idt-installer
+++ b/linux-installer/idt-installer
@@ -121,6 +121,10 @@ function install_deps {
install_deps_with_apt_get
elif [[ "${DISTRO}" == *Red*Hat* || "${DISTRO}" == *CentOS* || "${DISTRO}" == *RHEL* || "${DISTRO}" == *Fedora* ]]; then
install_deps_with_yum
+ elif [[ "${DISTRO}" == "Gentoo Base System release 2.6" ]]; then
+ install_deps_with_portage
+
+
else
error "This script has not been updated for use with your linux distribution (${DISTRO})"
fi
@@ -226,6 +230,52 @@ function install_deps_with_apt_get {
fi
}
+
+
+function install_deps_with_portage {
+ log "Checking for and emerge support on Linux"
+ if [[ -z "$(which emerge)" ]]; then
+ error "'emerge' is not found. That's the only Grntoo linux installer I know, serious sorry."
+ fi
+
+
+
+ #-- CURL:
+ log "Installing/updating external dependency: curl"
+ if [[ -z "$(which curl)" || "$FORCE" == true ]]; then
+ $SUDO emerge -v net-misc/curl
+ fi
+
+ #-- GIT:
+ log "Installing/updating external dependency: git"
+ if [[ -z "$(which git)" || "$FORCE" == true ]]; then
+ $SUDO emerge -v install dev-vcs/git
+ log "Please review any setup requirements for 'git' from: https://git-scm.com/downloads"
+ fi
+
+ #-- Docker:
+ install_docker
+
+ #-- kubectl:
+ log "Installing/updating external dependency: kubectl"
+ if [[ -z "$(which kubectl)" || "$FORCE" == true ]]; then
+ $SUDO emerge -v sys-cluster/kubectl
+
+ log "Please review any setup requirements for 'kubectl' from: https://kubernetes.io/docs/tasks/tools/install-kubectl/"
+ fi
+
+ #-- helm:
+ log "Installing/updating external dependency: helm"
+ if [[ -z "$(which helm)" || "$FORCE" == true ]]; then
+ emerge -v app-admin/helm
+ log "Please review any setup requirements for 'helm' from: https://github.com/kubernetes/helm/blob/master/docs/install.md"
+ fi
+
+
+
+}
+
lines 1-64
Development "done" checklist
Test case to verify
Public Documentation updated
Change added to "release notes" as appropropriate
Notification to stakeholders (OM, other squads, etc)
The text was updated successfully, but these errors were encountered:
Summary
can not run installer on gentoo GNU/linux
Steps to reproduce
Operating System
Gentoo linux
Supporting details
[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 (Gentoo Base System release 2.6)
tina@violetina ~/ibm-cloud-developer-tools/linux-installer $
** i patched the file to work around**
Development "done" checklist
The text was updated successfully, but these errors were encountered: