Skip to content

Added build instructions for Termux to readme.md #939

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,25 @@ go build
go install
```

### Building in Termux
The prebuilt `Linux_Arm64` binaries won't work in Termux for Android, so you have to build it yourself.
You can follow the same build steps as above, but install `git` and `golang` via `pkg`.

If you want to use `go install`, make sure to add `GOPATH/bin` to your `PATH`:
```bash
# Create or open .bashrc
nano ~/.bashrc

# Add the following line in order to include GOPATH/bin in your $PATH
export PATH=$PATH:$(go env GOPATH)/bin

# Save and exit with Ctrl+X, then Y and Enter

# Restart your session or apply changes to your current session with:
source ~/.bashrc

```

## Installation with Nix

`immich-go` is packaged with [nix](https://nixos.org/) and distributed via [nixpkgs](https://search.nixos.org/packages?channel=unstable&type=packages&query=immich-go).
Expand Down