csvtk
csvtk copied to clipboard
request: arm64 conda install
hi! looks like an arm64 package isn't being built. further investigation suggests that maybe bioconda doesn't do arm64 yet: https://github.com/bioconda/bioconda-utils/issues/706, https://github.com/bioconda/bioconda-recipes/issues/23454. conda-forge seems to, however.
so, just dropping this here, not sure there's anything to be done unless you want to move to conda-forge :)
Oh, yes, hope Bioconda supports it soon. We have to ask users to manually download the arm64 binaries right now.
I'm not sure if it's difficult to submit to conda-forge, I'll try it for the next version.
You'd have to build from source - conda forge doesn't like repackaging binaries.
But maybe they are more lenient with ARM?
I've added a guide to installing from source for other tools, it could help.
# ------------------- install golang -----------------
# download Go from https://go.dev/dl
wget https://go.dev/dl/go1.17.13.linux-amd64.tar.gz
tar -zxf go1.17.13.linux-amd64.tar.gz -C $HOME/
# or
# echo "export PATH=$PATH:$HOME/go/bin" >> ~/.bashrc
# source ~/.bashrc
export PATH=$PATH:$HOME/go/bin
# ------------- the latest stable version -------------
go get -v -u github.com/shenwei356/csvtk/csvtk
# The executable binary file is located in:
# ~/go/bin/csvtk
# You can also move it to anywhere in the $PATH
mkdir -p $HOME/bin
cp ~/go/bin/csvtk $HOME/bin/
# --------------- the development version --------------
git clone https://github.com/shenwei356/csvtk
cd csvtk/csvtk/
go build
# The executable binary file is located in:
# ./csvtk
# You can also move it to anywhere in the $PATH
mkdir -p $HOME/bin
cp ./csvtk $HOME/bin/