Is there a way to run node.js on opensuse?
see details on stackoverflow
Well how about installing the nodejs package?
vega:~ # zypper info nodejs
Loading repository data...
Reading installed packages...
Information for package nodejs:
-------------------------------
Repository: update
Name: nodejs
Version: 0.10.5-3.4.1
Arch: x86_64
Vendor: openSUSE
Installed: Yes
Status: up-to-date
Installed Size: 10.5 MiB
Summary: Evented I/O for V8 JavaScript
Description:
Provides an easy way to build scalable network programs
http://nodejs.org
vega:~ # rpm -qf /usr/bin/npm
nodejs-0.10.5-3.4.1.x86_64
Ships with 13.2.
The minimal package that needed to be removed in your stackoverflow post is just to prevent certain files from being installed in a “minimal just enough” system, you can safely uninstall / remove it.
Default is old. I installed nodejs the other day from
http://download.opensuse.org/repositories/devel:/languages:/nodejs/openSUSE_13.2/
so should be the same. “npm” is in there.
“nodejs-devel-0.12.0-65.1.x86_64 requires python” so I had python installed and did not get errors.
“Development/Languages/Python” in Yasts RPM Groups should let you tick/install “python” and “python3” (now you are there)?
It is nodejs-devel which require python, version 2.6 or 2.7, but you even need that one? Might not.
When lack of python is fixed you can skip openSUSE repos and install very latest version from https://nodejs.org/ - I did but then found the almost as new from devel repo. Easier and I only need it for few small things, not development or anything.