Thanks for the the pointer.
Thanks also for this also Ev0.
After a few false starts I have managed to use the openATV feed to install nodejs also.
The feed used here install Node V16 which is pretty upto date, though behind the version 19 direct from the node.org site as described above.
The steps that worked for me are as follows:
Code:
#At the command line run:
opkg update
#
#create a file called "/etc/opkg/cortexa15hf-neon-vfpv4-feed.conf" with the following contents (not in quotes though):
# "src/gz openatv-cortexa15hf-neon-vfpv4 https://feeds2.mynonpublic.com/7.1/h7/cortexa15hf-neon-vfpv4" e.g. like this:
echo "src/gz openatv-cortexa15hf-neon-vfpv4 https://feeds2.mynonpublic.com/7.1/h7/cortexa15hf-neon-vfpv4" > /etc/opkg/cortexa15hf-neon-vfpv4-feed.conf
#
opkg update
opkg install nodejs
# test:
node -v
# should give installed version
# Remove feed:
rm /etc/opkg/cortexa15hf-neon-vfpv4-feed.conf
opkg update
#
If this does not work for you you can try downloading all the dependencies and installing each one but I did have some version issues when I did this:
Code:
# e.g something like download and unpack package list:
cd /tmp
wget https://feeds2.mynonpublic.com/7.1/h7/cortexa15hf-neon-vfpv4/Packages.gz
# unpack and search for nodejs
# This will give list of dependencies as in abu baniaz's post
# then for each of these
# wget https://feeds2.mynonpublic.com/7.1/h7/cortexa15hf-neon-vfpv4/<<file name of package from above>>
# e.g:
wget https://feeds2.mynonpublic.com/7.1/h7/cortexa15hf-neon-vfpv4/brotli_1.0.9-r0_cortexa15hf-neon-vfpv4.ipk
then install:
opkg install ./brotli_1.0.9-r0_cortexa15hf-neon-vfpv4.ipk
#
#Finally install nodejs once all the dependencies are in place:
wget https://feeds2.mynonpublic.com/7.1/h7/cortexa15hf-neon-vfpv4/nodejs_16.14.0-r0_cortexa15hf-neon-vfpv4.ipk && opkg install ./nodejs_16.14.0-r0_cortexa15hf-neon-vfpv4.ipk
#
I would suggest doing a trial run on a copy of your target image (image backup >> flash to spare partition >> boot) as this process is not without some pain sometimes.
Thanks to all those who offered suggestions here.
After all this the performance seemed about the same as the node.org version but at least it provides a second option.