Welcome!
Forum users- Please read this before asking for help, and don't forget to add Quick System Info to help requests!
- Please follow the Forum Rules
Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here
Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.
News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here
How to install LTS Nodejs
Re: How to install LTS Nodejs
The read me file that is included with download does not appear
to have any installation instructions.
Perhaps one of the MX community members with more experience than myself
maybe able to help you. It could be as simple as setting an environmental variable.
You might also consider joining the nodejs community.
https://foundation.nodejs.org/community
These folks will certainly be able to help with the install and answer any future questions you might have.
Hope this helps.
Tom
Naturally nuts no ... pharmaceuticals required.
to have any installation instructions.
Perhaps one of the MX community members with more experience than myself
maybe able to help you. It could be as simple as setting an environmental variable.
You might also consider joining the nodejs community.
https://foundation.nodejs.org/community
These folks will certainly be able to help with the install and answer any future questions you might have.
Hope this helps.
Tom
Naturally nuts no ... pharmaceuticals required.
Re: How to install LTS Nodejs
STOP-STOP-DO NOT ADD THE SID REPOSITORY BLINDLY TO MX 17!!!
This is very likely to break your install beyond repair.
Read the Debian wiki: https://wiki.debian.org/DontBreakDebian
and cautionary tales: http://forums.debian.net/viewtopic.php?&t=114130
The safe way would be a backport, like we do for our MX repositories.
It looks like we need to add this warning prominently to the User Manual.
Edit: We only need to backport libuv1 in order to build the Sid version on Stretch, according to the Build-depends. It might be a pretty heavy build--these web things often are.
This is very likely to break your install beyond repair.
Read the Debian wiki: https://wiki.debian.org/DontBreakDebian
and cautionary tales: http://forums.debian.net/viewtopic.php?&t=114130
The safe way would be a backport, like we do for our MX repositories.
It looks like we need to add this warning prominently to the User Manual.
Edit: We only need to backport libuv1 in order to build the Sid version on Stretch, according to the Build-depends. It might be a pretty heavy build--these web things often are.
Re: How to install LTS Nodejs
Hmmm, the nodejs build fails after a while with
So it looks like we have to add "-fpermissive" to the build flags if we are going to build it with gcc-6 instead of gcc-7, or else see if some Debian patch added whatever makes the build fail.
Code: Select all
../src/node_http2.h:1055:36: error: there are no arguments to 'nghttp2_rcbuf_is_static' that depend on a template parameter, so a declaration of 'nghttp2_rcbuf_is_static' must be available [-fpermissive]
if (nghttp2_rcbuf_is_static(buf)) {
^
../src/node_http2.h:1055:36: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
Re: How to install LTS Nodejs
@Biofobico, pls delete content.Biofobico wrote:So what is the Sid repo address? I went searching for it at the Debian's site, but found none.stsoh wrote:...pls delete this.
@Steveo, my apology.
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.
Re: How to install LTS Nodejs
I didn't add the repo. Decide to wait for some alternatives and it seems that I made the right callStevo wrote:STOP-STOP-DO NOT ADD THE SID REPOSITORY BLINDLY TO MX 17!!!
This is very likely to break your install beyond repair.
Read the Debian wiki: https://wiki.debian.org/DontBreakDebian
and cautionary tales: http://forums.debian.net/viewtopic.php?&t=114130
The safe way would be a backport, like we do for our MX repositories.
It looks like we need to add this warning prominently to the User Manual.
Edit: We only need to backport libuv1 in order to build the Sid version on Stretch, according to the Build-depends. It might be a pretty heavy build--these web things often are.
@stsoh You were only trying to help. No worries
Re: How to install LTS Nodejs
@Biofobico, can u delete my quote in #9, viewtopic.php?p=434663#p434663.
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.
Re: How to install LTS Nodejs
Done.stsoh wrote:@Biofobico, can u delete my quote in #9, viewtopic.php?p=434663#p434663.
-
- Posts: 56
- Joined: Wed Dec 20, 2017 10:41 am
Re: How to install LTS Nodejs
When I ran into this, I edited the setup_8.x script and added a line in the array that equated MX Horizon to Stretch and it worked out.
If I had my MX machine in front of me, I'd get it for you... or I'll just download it real quick.
Here is the array you need to add to:
I added a line to this array that looks like:
then re-ran the script as root and it worked as expected.
If I had my MX machine in front of me, I'd get it for you... or I'll just download it real quick.
Here is the array you need to add to:
Code: Select all
check_alt "Kali" "sana" "Debian" "jessie"
check_alt "Kali" "kali-rolling" "Debian" "jessie"
check_alt "Sparky Linux" "Nibiru" "Debian" "buster"
check_alt "Linux Mint" "maya" "Ubuntu" "precise"
check_alt "Linux Mint" "qiana" "Ubuntu" "trusty"
check_alt "Linux Mint" "rafaela" "Ubuntu" "trusty"
check_alt "Linux Mint" "rebecca" "Ubuntu" "trusty"
check_alt "Linux Mint" "rosa" "Ubuntu" "trusty"
check_alt "Linux Mint" "sarah" "Ubuntu" "xenial"
check_alt "Linux Mint" "serena" "Ubuntu" "xenial"
check_alt "Linux Mint" "sonya" "Ubuntu" "xenial"
check_alt "Linux Mint" "sylvia" "Ubuntu" "xenial"
check_alt "LMDE" "betsy" "Debian" "jessie"
check_alt "elementaryOS" "luna" "Ubuntu" "precise"
check_alt "elementaryOS" "freya" "Ubuntu" "trusty"
check_alt "elementaryOS" "loki" "Ubuntu" "xenial"
check_alt "Trisquel" "toutatis" "Ubuntu" "precise"
check_alt "Trisquel" "belenos" "Ubuntu" "trusty"
check_alt "Trisquel" "flidas" "Ubuntu" "xenial"
check_alt "BOSS" "anokha" "Debian" "wheezy"
check_alt "bunsenlabs" "bunsen-hydrogen" "Debian" "jessie"
check_alt "Tanglu" "chromodoris" "Debian" "jessie"
Code: Select all
check_alt "MX" "Horizon" "Debian" "stretch"
--Ben
Re: How to install LTS Nodejs
I new to linux, so this is borderline sorcery to me.bigbenaugust wrote:When I ran into this, I edited the setup_8.x script and added a line in the array that equated MX Horizon to Stretch and it worked out.
If I had my MX machine in front of me, I'd get it for you... or I'll just download it real quick.
Here is the array you need to add to:I added a line to this array that looks like:Code: Select all
check_alt "Kali" "sana" "Debian" "jessie" check_alt "Kali" "kali-rolling" "Debian" "jessie" check_alt "Sparky Linux" "Nibiru" "Debian" "buster" check_alt "Linux Mint" "maya" "Ubuntu" "precise" check_alt "Linux Mint" "qiana" "Ubuntu" "trusty" check_alt "Linux Mint" "rafaela" "Ubuntu" "trusty" check_alt "Linux Mint" "rebecca" "Ubuntu" "trusty" check_alt "Linux Mint" "rosa" "Ubuntu" "trusty" check_alt "Linux Mint" "sarah" "Ubuntu" "xenial" check_alt "Linux Mint" "serena" "Ubuntu" "xenial" check_alt "Linux Mint" "sonya" "Ubuntu" "xenial" check_alt "Linux Mint" "sylvia" "Ubuntu" "xenial" check_alt "LMDE" "betsy" "Debian" "jessie" check_alt "elementaryOS" "luna" "Ubuntu" "precise" check_alt "elementaryOS" "freya" "Ubuntu" "trusty" check_alt "elementaryOS" "loki" "Ubuntu" "xenial" check_alt "Trisquel" "toutatis" "Ubuntu" "precise" check_alt "Trisquel" "belenos" "Ubuntu" "trusty" check_alt "Trisquel" "flidas" "Ubuntu" "xenial" check_alt "BOSS" "anokha" "Debian" "wheezy" check_alt "bunsenlabs" "bunsen-hydrogen" "Debian" "jessie" check_alt "Tanglu" "chromodoris" "Debian" "jessie"
then re-ran the script as root and it worked as expected.Code: Select all
check_alt "MX" "Horizon" "Debian" "stretch"
I'm learning Javascript and really enjoying MX, but if I'll always encounter these kind of "problems" regarding latest web development packages maybe MX isn't the right choice for me.