Bugswriter / tuxi

Tuxi is a cli assistant. Get answers of your questions instantly.
GNU General Public License v3.0
1.33k stars 73 forks source link

Tuxi on Termux #154

Closed ghost closed 3 years ago

ghost commented 3 years ago

How can I go about with installing Tuxi on Termux in Android?

BeyondMagic commented 3 years ago

What you've tried so far?

Genghius commented 3 years ago

Follow along:

cd ~
pkg install jq unzip
wget https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_arm.zip
unzip pup_v0.4.0_linux_arm.zip
mv pup ../usr/bin
git clone tuxi

that is as far as i've gotten, installing pup and jq. i have no idea how to install recode tho.

sudocanttype commented 3 years ago

https://github.com/pinard/Recode/ git clone https://github.com/pinard/Recode.git cd Recode sh after-git.sh ./configure make make install

ghost commented 3 years ago

Thanks everyone for helping out, @BeyondMagic I've tried this so far:

pkg install jq pup git automake - ok git clone https://github.com/pinard/Recode.git && cd Recode/ - ok sh after-git.sh - ok ./configure --build=arm-linux - ok make - ok make install - error:

~/Recode $ make install Making install in doc make[1]: Entering directory '/data/data/com.termux/files/home/Recode/doc' make[2]: Entering directory '/data/data/com.termux/files/home/Recode/doc' make[2]: Nothing to be done for 'install-exec-am'. /data/data/com.termux/files/usr/bin/mkdir -p '/usr/local/share/info' /data/data/com.termux/files/usr/bin/mkdir: cannot create directory ‘/usr’: Read-only file systemmake[2]: *** [Makefile:707: install-info-am] Error 1 make[2]: Leaving directory '/data/data/com.termux/files/home/Recode/doc' make[1]: *** [Makefile:610: install-am] Error 2 make[1]: Leaving directory '/data/data/com.termux/files/home/Recode/doc' make: *** [Makefile:440: install-recursive] Error 1

BeyondMagic commented 3 years ago

Actually, did you have root permissions to make install?

If yes,at least three are working fine, can you try this repository instead for it?

ghost commented 3 years ago

I got stuck as well, same errors, pkgs installed:

pkg install libtool m4 gpgme autoconf gettext help2man perl flex tar texinfo rsync & pip install cython

I tried proot but it didn't help either. Maybe someone can figure out how to do it with different fake root method

BeyondMagic commented 3 years ago

I honestly don't have idea then, can you open an issue on https://github.com/rrthomas/recode/issues, they will know how to help you more than most of us, since tuxi just uses it as a dependency.

Bugswriter commented 3 years ago

I am closing this issue since it's not tuxi issue it's recode and other deps issue.

CrackedMatter commented 3 years ago

to install recode, just change the prefix when running the configure script: ./configure --prefix=/data/data/com.termux/files/usr/

CrackedMatter commented 3 years ago

Screenshot_20210605-202446