May not be optimal, but since golang is already a package, you may be able to compile ipfs manually:
https://github.com/ipfs/go-ipfs#download-and-compile-ipfs
It may take some time, but it should work.
I tried compiling it and it worked on my phoneâ„¢. I haven't done any extensive testing though.
@casept How did you get it to 'make install'? The install script doesn't even know where the location of 'sh' is in the Termux environment and I'm not sure if there's a make flag that'll let me specify it.
@PacoBell it used to be easier when I first did it, now it involves a couple more steps because ipfs changed their build system.
Install needed packages:
apt install make golang git
Setup your $GOPATH and add $GOPATH/bin to your $PATH if you haven't already:
export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin
Pull down ipfs:
go get -u -d -v github.com/ipfs/go-ipfs
cd $GOPATH/src/github.com/ipfs/go-ipfs
Now you have to hack the build scripts a bit. Replace bin/sh with /data/data/com.termux/files/usr/bin/sh and prepend /data/data/com.termux/files/ to the path after --proto-path in the Makefile.
Next, fix the shebangs in the build scripts by running termux-fix-shebang bin/*. Then run make install_unsupported and you should be done.
+1 for a package.
Thanks to @xeffyr the new package is now available for installation - install it with pkg in ipfs!
Bless you. I was also able to compile it here, but it would be much faster to just apt install it.
Do you have the binaries for all Android architectures?
Do you have the binaries for all Android architectures?
@NatoBoram They are already in repository:
If you need only binary, just unpack *.deb file.
Most helpful comment
@NatoBoram They are already in repository:
If you need only binary, just unpack *.deb file.