I've just setup GNURoot Debian and I could install Python 2.7. However, I'd like to run Python 2.7 outside of the GNURoot Debian Terminal Window. For example, if I ssh into the device, I'd like to be able to simply run Python.

Here's what I've naively tried so far:

root@odroidc2:/data/data/com.gnuroot.debian/debian/usr/bin # ls python*
python     python2    python2.7
root@odroidc2:/data/data/com.gnuroot.debian/debian/usr/bin # ./python2
sh: ./python2: No such file or directory

Any hints on how I can use Python 2.7 via ssh ?

  • 1
    You can't usually execute anything from the data partition. You could try copying them to /system/xbin/ or something like that. – Matthew Read Aug 2 '16 at 20:29
  • Thank you, I didn't know that. I've tried creating a symbolic link, but I get a Read-only file system error: ``` ln -s /data/data/com.gnuroot.debian/debian/usr/bin/python /system/xbin/python ln: /system/xbin/python: Read-only file system ``` Any tips on how I could get around this ? – George Profenza Aug 3 '16 at 8:27
  • mount -o remount,rw /system. Must be done as root. I'm not sure if a symlink will work but it's worth a try. – Matthew Read Aug 3 '16 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.