Results 1 to 3 of 3

Thread: cannot install node.js/npm on opensuse 13.1/13.2

  1. #1

    Default cannot install node.js/npm on opensuse 13.1/13.2

    Is there a way to run node.js on opensuse?

    see details on stackoverflow

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,005

    Default Re: cannot install node.js/npm on opensuse 13.1/13.2

    Well how about installing the nodejs package?

    Code:
    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
    Code:
    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.
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  3. #3

    Default Re: cannot install node.js/npm on opensuse 13.1/13.2

    Default is old. I installed nodejs the other day from

    Code:
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •