In Android VM start Terminal app and type
netcfg
the IP shown on eth0 is the IP address of the VM.
You need the tool called adb (android debugger). It is included in Android Studio, a development tool available for free from developer.android.com. Actually you only need the adb-executble but it’s not available for download separately. You can download it from other questionable sources though.
Connect adb to VM:
adb connect <IP-OF-VM>
Now you can use all adb command, for example open shell:
adb shell
transfer NZBGet Linux installer package into VM:
adb push -p /path/to/local/nzbget-16.0-bin-linux.run /sdcard/Download
connect to VM shell:
adb shell
become root:
su
change into directory where you want to install NZBGet. That must be a directory which allows running executables, you can’t use “sdcard” for that. A good place for that is /data/data/nzbget:
cd /data/data
install NZBGet:
sh /sdcard/Download/nzbget-16.0-bin-linux.run --nocheck
Parameter “–nocheck” instructs the installer to skip verification step. The android shell is very limited and the check always fails.
/data/data/nzbget/nzbget -v
nzbget version: 16.0
start NZBGet in server console mode:
TERM=linux /data/data/nzbget/nzbget -s
Press q
to exit.
start NZBGet in daemon mode:
/data/data/nzbget/nzbget -D
At this point you should be able to download and unpack files.