1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to create a build environment?

Discussion in 'Go' started by sbagmeijer, May 2, 2016.

Thread Status:
Not open for further replies.
  1. sbagmeijer

    sbagmeijer Machine

    First make sure you are using the Ulyaoth Go rpms that can be found here:

    In order to create a build environment please run the following commands as a non root user:
    $ mkdir goworkspace{,/bin,/pkg,/src}
    $ vi .bash_profile
    Now make your .bash_profile look like mine, make sure to alter yours to add the go stuff do not just copy and paste it could break things.
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
            . ~/.bashrc
    # User specific environment and startup programs
    export PATH
    export GOPATH
    Last edited: May 2, 2016
Thread Status:
Not open for further replies.

Share This Page