[GH-ISSUE #30] How to run in linux? #21

Closed
opened 2026-03-02 03:57:41 +03:00 by kerem · 7 comments
Owner

Originally created by @jbrepogmailcom on GitHub (Jun 18, 2022).
Original GitHub issue: https://github.com/DrDonk/unlocker/issues/30

sudo ./check.go is not working

Originally created by @jbrepogmailcom on GitHub (Jun 18, 2022). Original GitHub issue: https://github.com/DrDonk/unlocker/issues/30 `sudo ./check.go` is not working
kerem closed this issue 2026-03-02 03:57:41 +03:00
Author
Owner

@DrDonk commented on GitHub (Jun 19, 2022):

  1. Download the latest release https://github.com/DrDonk/unlocker/releases/download/v4.2.1/unlocker421.zip
  2. Unzip the archive
  3. Open a terminal
  4. CD to the linux folder from extracted archive
  5. Run sudo unlock or sudo check or sudo relock
<!-- gh-comment-id:1159692233 --> @DrDonk commented on GitHub (Jun 19, 2022): 1. Download the latest release https://github.com/DrDonk/unlocker/releases/download/v4.2.1/unlocker421.zip 2. Unzip the archive 3. Open a terminal 4. CD to the linux folder from extracted archive 5. Run `sudo unlock` or `sudo check` or `sudo relock`
Author
Owner

@SimPilotAdamT commented on GitHub (Jun 20, 2022):

You can also do the following (this will compile from the latest source):

  1. install go as well as ZSH (this varies depending on your distro)
  2. go install github.com/tc-hib/go-winres@latest
  3. export PATH="$PATH:$HOME/go/bin"
  4. git clone https://github.com/DrDonk/unlocker.git
  5. cd unlocker
  6. zsh build.sh
  7. cd dist/linux
  8. run the binaries as needed
<!-- gh-comment-id:1160576075 --> @SimPilotAdamT commented on GitHub (Jun 20, 2022): You can also do the following (this will compile from the latest source): 1. install go as well as ZSH (this varies depending on your distro) 2. `go install github.com/tc-hib/go-winres@latest` 3. `export PATH="$PATH:$HOME/go/bin"` 4. `git clone https://github.com/DrDonk/unlocker.git` 5. `cd unlocker` 6. `zsh build.sh` 7. `cd dist/linux` 8. run the binaries as needed
Author
Owner

@DrDonk commented on GitHub (Jun 21, 2022):

I should change the build scripts shebang so don't need to install zsh. I build and test on real Macs and zsh is now the default shell.

I will add proper build instructions as well. Ok to copy your Linux ones?

<!-- gh-comment-id:1161382915 --> @DrDonk commented on GitHub (Jun 21, 2022): I should change the build scripts shebang so don't need to install zsh. I build and test on real Macs and zsh is now the default shell. I will add proper build instructions as well. Ok to copy your Linux ones?
Author
Owner

@SimPilotAdamT commented on GitHub (Jun 21, 2022):

I will add proper build instructions as well. Ok to copy your Linux ones?

Of course, go ahead lol. Just let me know when that is done so I can update the PKGBUILDs in the AUR

<!-- gh-comment-id:1161445643 --> @SimPilotAdamT commented on GitHub (Jun 21, 2022): > I will add proper build instructions as well. Ok to copy your Linux ones? Of course, go ahead lol. Just let me know when that is done so I can update the PKGBUILDs in the AUR
Author
Owner

@DrDonk commented on GitHub (Jun 21, 2022):

I've checked in the shell script changes to main. Still working on a build document.

<!-- gh-comment-id:1161591546 --> @DrDonk commented on GitHub (Jun 21, 2022): I've checked in the shell script changes to main. Still working on a build document.
Author
Owner

@DrDonk commented on GitHub (Jun 21, 2022):

OK I've added your notes for Linux. I also tidied some things up such as remove the PDFs as pandoc was being a total pain with the markdown.

<!-- gh-comment-id:1161671650 --> @DrDonk commented on GitHub (Jun 21, 2022): OK I've added your notes for Linux. I also tidied some things up such as remove the PDFs as pandoc was being a total pain with the markdown.
Author
Owner

@DrDonk commented on GitHub (Jun 25, 2022):

Updated readme.

<!-- gh-comment-id:1166229303 --> @DrDonk commented on GitHub (Jun 25, 2022): Updated readme.
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/unlocker#21
No description provided.