Guide to use termux's proot-distro for crave -n devspace: Link to proot-distro: https://github.com/termux/proot-distro
Get it from PlayStore or F-Droid
[!NOTE]
This guide is tested on F-Droid build
Direct Command:
pkg install proot-distro
Alternative:
pkg install git
git clone https://github.com/termux/proot-distro
cd proot-distro
Install Ubuntu:
pd install ubuntu
Enter the Ubuntu Container:
pd sh ubuntu
Prepare for crave by installing dependencies:
apt update; apt install ssh rsync wget -y
Download Crave:
curl -s https://raw.githubusercontent.com/accupara/crave/refs/heads/master/get_crave.sh | bash -s --
Grant Permissions and Move it:
chmod +x crave; mv crave /usr/local/bin/
Now open up your browser and navigate back to foss.crave.io dashboard. On the same Left Hand Side menu, and go to API keys.
Once you take your valid crave.conf, just connect using
crave -n devspace
[!NOTE]
-n here tells crave to not look for updates. As of crave 7064, Updating step causes segmentation fault error, which can be worked around this way.
To Quickly reconnect, just run:
pd sh ubuntu -- crave -n devspace
if you facing issues:
pd sh ubuntu
crave -n devspace
Tested on
ubuntu
You can try other distro:
pd list
Thanks to Ica for discovering this method and writing the guide that this was based on