Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

How can I run Go binary files?

I read a lot about "You can run a Go program from binaries without even having Go installed on your machine", etc. How exactly should I execute the app?

In my case I have a console application which sends emails if a certain event occurs. There also is a .toml file for configuring it. How should I run the app on a PC which does not have Go installed and is running Ubuntu 14.04.1 (Trusty Tahr) 64-bit OS?

Answer*

Draft saved
Draft discarded
Cancel
1
  • 1
    Thanks, I installed some modules they were /Users/user/go/bin directory, each time I needed to move to that directory for execution, I have forgotten about coping binary to /usr/local/bin your answer remained me, thanks for your help!) Commented Jul 5, 2022 at 7:53

lang-golang

AltStyle によって変換されたページ (->オリジナル) /