I can't install zvm on Fedora 39 aarch64 (Asahi Linux)
kkebo opened this issue · comments
I'm using Fedora 39 aarch64, but I can't install zvm.
$ curl https://raw.githubusercontent.com/tristanisham/zvm/master/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3808 100 3808 0 0 6459 0 --:--:-- --:--:-- --:--:-- 6454
Installing zvm-linux-aarch64.tar in /home/kebo/zvm
wget is installed. Using wget...
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Run the following commands to put ZVM on your path via /home/kebo/.profile
echo "# ZVM" >> $HOME/.profile
echo 'export ZVM_INSTALL="$HOME/.zvm/self"' >> $HOME/.profile
echo 'export PATH="$PATH:$HOME/.zvm/bin"' >> $HOME/.profile
echo 'export PATH="$PATH:$ZVM_INSTALL/"' >> $HOME/.profile
Run 'source ~/.profile' to start using ZVM in this shell!
It seems that install.sh
tried to download zvm-linux-aarch64.tar, not zvm-linux-arm64.tar.
Thanks for reporting! The script pulls its information from the operating system. In your comment you say you’re using Fedora 39 aarch64
. I’m not super familiar with Asahi Linux and whatever, for lack of a better word, hacks it uses to get Fedora working on Apple Silicon. Could you clarify what OS you’re using? In the meantime, the instructions in the README should be sufficient to set up a new install.
I'm using Fedora Asahi Remix, but AFAIK, this is the issue that occurs on all aarch64 Linux, regardless of the ditro. For instance, it also occurs on Ubuntu aarch64.
I found a cause. zvm seems to retrieve a host architecture here. However, in Linux, there is aarch64
but no arm64
in uname -m
.
https://stackoverflow.com/a/45125525/1587435
So I think you should rename zvm-linux-arm64.tar
to zvm-linux-aarch64.tar
on a release note, or add a rename logic like this.