iphone – Is it possible to install homebrew on iOS (jailbroken)

I would like to install homebrew on my iPhone under iOS 10.3.3, which is jailbroken and on which Terminal and NewTerm are installed.

When I run / usr / bin / ruby ​​-e "$ (curl -k -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" I receive:

dyld: Library not loaded: /usr/lib/libruby.1.9.1.dylib
Referenced from: / usr / bin / ruby
Reason: no suitable image found. Did you find:
/usr/lib/libruby.1.9.1.dylib: impossible
map segments in 16 KB pages
/usr/lib/libruby.1.9.1.dylib: impossible
map segments in 16 KB pages
/usr/lib/libruby.1.9.1.dylib: impossible
map segments in 16 KB pages
/usr/lib/libruby.1.9.1.dylib: impossible
map segments in 16 KB pages
Abort trap: 6

The command I tried to use is the command used by macOS to install homebrew.

Is there a way to install the homebrew on my iPhone?

This problem could be due to the fact that my phone is half jailbroken.

Ruby is installed and my phone is semi-jailbroken (no adjustments, every time I try to jailbreak with the adjustments enabled, it stays stuck, bounces twice and stays stuck at the same place each time, then restart under iOS).