We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug lazygit won't run: Error: cannot execute binary file: Exec format error
To Reproduce If you have an aarch64 architecture (uname -m) , try run this as stated under Installation "Ubuntu"
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": "v\K[^"]') curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" tar xf lazygit.tar.gz lazygit sudo install lazygit -D -t /usr/local/bin/
Add ARCH=$(uname -m) and the case statement to the installationscript
ARCH=$(uname -m) case $ARCH in x86_64) ARCH='Linux_x86_64';; aarch64 | armv8*) ARCH='Linux_arm64';; armv7* | armv6*) ARCH='Linux_armv6';; *) echo "Unsupported architecture: $ARCH"; exit 1;; esac
suggested installationscript
ARCH=$(uname -m) case $ARCH in x86_64) ARCH='Linux_x86_64';; aarch64 | armv8*) ARCH='Linux_arm64';; armv7* | armv6*) ARCH='Linux_armv6';; *) echo "Unsupported architecture: $ARCH"; exit 1;; esac LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": "v\K[^"]') curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION_${ARCH}.tar.gz" tar xf lazygit.tar.gz lazygit sudo install lazygit /usr/local/bin/
Further testing (armv7 / armv6) architecture
I have installed lazygit version 0.46.0 on aarch64.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
lazygit won't run: Error: cannot execute binary file: Exec format error
To Reproduce
If you have an aarch64 architecture (uname -m) , try run this as stated under Installation "Ubuntu"
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": "v\K[^"]')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit -D -t /usr/local/bin/
Add ARCH=$(uname -m) and the case statement to the installationscript
ARCH=$(uname -m)
case $ARCH in
x86_64) ARCH='Linux_x86_64';;
aarch64 | armv8*) ARCH='Linux_arm64';;
armv7* | armv6*) ARCH='Linux_armv6';;
*) echo "Unsupported architecture: $ARCH"; exit 1;;
esac
suggested installationscript
ARCH=$(uname -m)
case $ARCH in
x86_64) ARCH='Linux_x86_64';;
aarch64 | armv8*) ARCH='Linux_arm64';;
armv7* | armv6*) ARCH='Linux_armv6';;
*) echo "Unsupported architecture: $ARCH"; exit 1;;
esac
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": "v\K[^"]')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION_${ARCH}.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin/
Further testing (armv7 / armv6) architecture
I have installed lazygit version 0.46.0 on aarch64.
The text was updated successfully, but these errors were encountered: