{"action":"closed","issue":{"url":"https://api.github.com/repos/zyedidia/micro/issues/405","repository_url":"https://api.github.com/repos/zyedidia/micro","labels_url":"https://api.github.com/repos/zyedidia/micro/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/zyedidia/micro/issues/405/comments","events_url":"https://api.github.com/repos/zyedidia/micro/issues/405/events","html_url":"https://github.com/zyedidia/micro/issues/405","id":182182799,"number":405,"title":"Install to $GOPATH/bin or /usr/local/bin","user":{"login":"ilius","id":197648,"avatar_url":"https://avatars.githubusercontent.com/u/197648?v=3","gravatar_id":"","url":"https://api.github.com/users/ilius","html_url":"https://github.com/ilius","followers_url":"https://api.github.com/users/ilius/followers","following_url":"https://api.github.com/users/ilius/following{/other_user}","gists_url":"https://api.github.com/users/ilius/gists{/gist_id}","starred_url":"https://api.github.com/users/ilius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilius/subscriptions","organizations_url":"https://api.github.com/users/ilius/orgs","repos_url":"https://api.github.com/users/ilius/repos","events_url":"https://api.github.com/users/ilius/events{/privacy}","received_events_url":"https://api.github.com/users/ilius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-11T06:21:11Z","updated_at":"2016-10-12T21:09:20Z","closed_at":"2016-10-12T21:09:20Z","body":"## Description of the problem or steps to reproduce\r\n\r\nWhen you run `make install` in Unix-like operating systems (including all Linux and BSD distributions, also MacOS X I guess which is based on BSD), the program is installed to `/usr/local` directory, which includes (on my Debian 8):\r\n\r\n    ls /usr/local/\r\n    bin  etc  games  include  lib  man  sbin  share  src\r\n\r\nAnd final binary / executable file is installed to `/usr/local/bin`\r\nUnless you change this behaviour by giving `--prefix` option, for example `--prefix=/opt`, then executable file is installed on `/opt/bin`.\r\n\r\nI'm not sure what exactly `$GOPATH/bin` or `$GOBIN` should be used for(even though `$GOBIN` variable is prior I think [according to this](https://golang.org/cmd/go/#hdr-GOPATH_environment_variable)), but I as a Linux user (not as a newbie Golang coder) don't expect a text editor (regardless of what language it is written in) to be installed in `/usr/share/go-1.7/bin` which wasn't even in my `$PATH` before [I read this article](https://golang.org/cmd/go/#hdr-GOPATH_environment_variable).\r\n\r\n\r\n## Specifications\r\n\r\nCommit hash: 8f5f8ff\r\nOS: Debian GNU/Linux 8\r\nTerminal: MATE Terminal\r\n"}}
{"actor":{"display_login":"zyedidia"}}