[GH-ISSUE #77] Provide uninstallation instructions. #67

Open
opened 2026-03-01 14:36:04 +03:00 by kerem · 3 comments
Owner

Originally created by @RokeJulianLockhart on GitHub (Sep 19, 2023).
Original GitHub issue: https://github.com/alpkeskin/mosint/issues/77

github.com/alpkeskin/mosint@dd331ba3df/README.md (installation) doesn't.

Originally created by @RokeJulianLockhart on GitHub (Sep 19, 2023). Original GitHub issue: https://github.com/alpkeskin/mosint/issues/77 https://github.com/alpkeskin/mosint/blob/dd331ba3df1e60b27bc80fdbe6e15cd91804a113/README.md#installation doesn't.
Author
Owner

@ShinP00r commented on GitHub (Jan 19, 2024):

Compile and install packages and dependencies

Usage:
go install [build flags] [packages]

Install compiles and installs the packages named by the import paths.
Executables are installed in the directory named by the GOBIN environment variable, which defaults to $GOPATH/bin or $HOME/go/bin if the GOPATH environment variable is not set. Executables in $GOROOT are installed in $GOROOT/bin or $GOTOOLDIR instead of $GOBIN.

From the go cmd documentation: https://pkg.go.dev/cmd/go

Since go install builds a single-file binary and copy in the appropriate directory, to "uninstall" mosint, shouldn't one simply remove that binary? Or am I missing something?

<!-- gh-comment-id:1900190974 --> @ShinP00r commented on GitHub (Jan 19, 2024): > **Compile and install packages and dependencies** > > **Usage**: >go install [build flags] [packages] > >Install compiles and installs the packages named by the import paths. >Executables are installed in the directory named by the GOBIN environment variable, which defaults to $GOPATH/bin or $HOME/go/bin if the GOPATH environment variable is not set. Executables in $GOROOT are installed in $GOROOT/bin or $GOTOOLDIR instead of $GOBIN. From the go cmd documentation: https://pkg.go.dev/cmd/go Since `go install` builds a single-file binary and copy in the appropriate directory, to "uninstall" `mosint`, shouldn't one simply remove that binary? Or am I missing something?
Author
Owner

@RokeJulianLockhart commented on GitHub (Jan 19, 2024):

https://github.com/alpkeskin/mosint/issues/77#issuecomment-1900190974

@ShinP00r, to my knowledge, I expect that it's also supposed to add $GOBIN to $PATH (but it doesn't appear to in my experience, per https://github.com/alpkeskin/mosint/issues/80#issue-1958321509, so you may well be correct). However, until the uninstallation instructions are added, I can't be certain regardless.

<!-- gh-comment-id:1900449494 --> @RokeJulianLockhart commented on GitHub (Jan 19, 2024): > https://github.com/alpkeskin/mosint/issues/77#issuecomment-1900190974 @ShinP00r, to my knowledge, I expect that it's also supposed to add `$GOBIN` to `$PATH` (but it doesn't appear to in my experience, per https://github.com/alpkeskin/mosint/issues/80#issue-1958321509, so you may well be correct). However, until the uninstallation instructions are added, I can't be certain regardless.
Author
Owner

@RokeJulianLockhart commented on GitHub (May 1, 2024):

https://github.com/alpkeskin/mosint/issues/77#issuecomment-1900449494

@ShinP00r, https://www.reddit.com/r/golang/comments/zfly1c/comment/izck1cl/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button appears to demonstrate that you're correct (and most of the code added in https://github.com/alpkeskin/mosint/pull/87/files merely allows the user to choose what to uninstall).

<!-- gh-comment-id:2088344260 --> @RokeJulianLockhart commented on GitHub (May 1, 2024): > https://github.com/alpkeskin/mosint/issues/77#issuecomment-1900449494 @ShinP00r, https://www.reddit.com/r/golang/comments/zfly1c/comment/izck1cl/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button appears to demonstrate that you're correct (and most of the code added in https://github.com/alpkeskin/mosint/pull/87/files merely allows the user to choose what to uninstall).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mosint#67
No description provided.