Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: richardh on October 26, 2018, 08:50:06 AM
-
I just wanted to check whether there is any likelihood of node.js being updated to a more recent version for picore?
As far as I can tell we have v6.5 available for picore but v8.12/v11.0 seem to be current.
Many thanks, R.
-
You can try to compile node.js. Something like this:
tce-load -wo make gcc compiletc openssl-dev squashfs-tools git python python-dev
tce-load -i make gcc compiletc openssl-dev squashfs-tools git python python-dev
mkdir -p /tmp/nodejs/usr/local
cd /tmp
wget http://nodejs.org/dist/v8.11.3/node-v8.11.3.tar.gz
tar -xvf node-v8.11.3.tar.gz
cd node-v8.11.3
./configure --without-snapshot --prefix=/tmp/nodejs/usr/local
mksquashfs /tmp/nodejs/usr/local /tmp/nodejs_8_11_3.tcz
cp /tmp/nodejs_8_11_3.tcz /mnt/mmcblk0p2/tce/optional/
tce-load -i nodejs_8_11_3.tcz
-
Hi vladosam
You can try to compile node.js. Something like this:
tce-load -wo make gcc compiletc openssl-dev squashfs-tools git python python-dev
tce-load -i make gcc compiletc openssl-dev squashfs-tools git python python-dev ...
Both make and gcc are dependencies of compiletc and do not need to be loaded separately.
-
Thanks, I may try that although I assume that node is a large build and I am not sure how well my 1st generation pi will cope...
-
Thanks Rich i will update my wiki, how to, read me first all realted with piCore file. :)
-
Hi vladosam
The .tree file lists the entire dependency tree:
http://tinycorelinux.net/9.x/armv6/tcz/compiletc.tcz.tree