Giter Site home page Giter Site logo

kerolloz / go-installer Goto Github PK

View Code? Open in Web Editor NEW
117.0 2.0 13.0 62 KB

Go-Installer: Effortless Golang Installation with One Command! πŸš€

License: MIT License

Shell 100.00%
go golang installer install shell script mac linux bash shell-script

go-installer's Introduction

Kerollos Magdy

Mostly fixing bugs or creating new ones 🐞

πŸ”Ή I’m currently learning GoLang πŸ’™
πŸ”Έ I like reading πŸ“˜
πŸ”Ή I would like to work with Node.js πŸ’š (preferably in TS), Ruby πŸ’Ž & Python 🐍
πŸ”Έ In love with OpenSource :octocat:, Linux 🐧 & Problem Solving πŸ’‘
πŸ”Ή Ask me anything πŸ’­


"Don't ever let somebody tell you, you can't do something!
You got a dream… You gotta protect it.
People can’t do something themselves, they wanna tell you you can’t do it.
If you want something, go get it. Period"

go-installer's People

Contributors

kerolloz avatar kranurag7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

go-installer's Issues

Raspberry PI - downloaded index.html

Hi,
I'm trying to use the script on a Raspberry PI, and this is the result that I get:
image

Am I doing something wrong? I've tried to both download it and executing it directly.

Broken installation

Installing without root shows fails and asks for root.

Running with sudo installs to /root/ making it inaccessible to other users.

handle installing versions with non-numerical values

Trying to install versions like go1.19rc1 and go1.19beta1 gives an error because we check if the specified version matches the three numbers, separated by two dots format (e.g. 1.2.3). We can skip the regex matching and depend only on seeing if the selected version exists on the website.

go version 1.16

Hi, I latest version of go is 1.16 which means the current version regex is not working with it. Can you fix it please? Thanks.

add more features and functionality

User can :

  • #12
  • choose whether to remove the installer(the downloaded package file) or not after installation
  • specify the place of extracting go binary (GOROOT) && workplace(GOPATH).
  • #11

.bashrc fills with exports

If the installation script from https://git.io/go-installer is run multiple times. Exports are keep appending to .bashrc.
This is the result after 2 installations

export GOROOT=/home/tango/.go
export GOPATH=/home/tango/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
export GOROOT=/home/tango/.go
export GOPATH=/home/tango/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

I am using ansible-playbook to install if it makes any difference:

- name: Install GO
  shell: curl -sL https://git.io/go-installer | bash -

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.