We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

How do I install nodeJS on Sailfish

asked 2016-12-14 13:11:12 +0300

Ryan gravatar image

updated 2016-12-14 15:48:23 +0300

jiit gravatar image

I am keen to install node.js onto my jolla tablet so I can do some basic js coding on the move. I have very little knowledge of linux and have found this page

https://nodejs.org/en/download/package-manager/

that explains installing node onto various distros.

Can anyone give me a hint as to what to do to achieve this on Sailfish?

edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted
2

answered 2016-12-14 14:58:10 +0300

atlochowski gravatar image

updated 2016-12-14 15:01:55 +0300

You can find node.js package in openrepos and it's dedicated for SailfishOS. https://openrepos.net/content/rikudousennin/nodejs

The easiest way to install it is through Warehouse https://openrepos.net/content/basil/warehouse-sailfishos

edit flag offensive delete publish link more

Comments

It looks to me like warehouse does not have a package for the tablet

Ryan ( 2016-12-14 16:54:45 +0300 )edit

I forgot that tablet has different architecture. So you have two options.

  1. You can compile Node.js by yourself, here you have tutorial https://sailfishos.org/develop/tutorials/building-sailfish-os-packages-manually/

  2. Write to Rikudou_Sennin and ask him to build package for tablet.

atlochowski ( 2016-12-14 20:51:20 +0300 )edit
1

answered 2017-03-13 15:49:26 +0300

Ryan gravatar image

I ended up using the android app "Termux". I can then install node to android from there. Not ideal, but works for now

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2016-12-14 13:11:12 +0300

Seen: 1,050 times

Last updated: Mar 13 '17