0

I am newbie to Ubuntu from windows
.
.
.
I installed nodejs in windows with few seconds
.
.
.
But here ubuntu i trying since last one week.
.
.

Error Posted on github (https://github.com/nodejs/...)
.
and
.
askUbuntu(http://askubuntu.com/questions/...)

.

.
No solution thinking back to windows.......................................

Comments
  • 2
    Here u go https://nodejs.org/en/download/

    Actually apt-get install nodejs should be enough
  • 0
    @rookiemaverick

    When installing npm

    i got this

    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    npm : Depends: nodejs but it is not going to be installed
  • 2
    Do a purge and then reinstall. I hope you have a good reason for switching to Linux apart from "everyone told me to because it's cooler than Windows."
  • 0
    @drRoss

    I also believe but now just getting tough

    .
    I do with purge

    after that i got this

    bash: /usr/local/bin/node: cannot execute binary file: Exec format error
  • 0
    Uninstall node.

    Purge

    Reinstall node.
  • 0
    What are the arguments you passed to apt-get install
  • 0
    Pip install nodeenv. Node virtual environments are great.
  • 0
    Don't apt node. Use nvm, it's the best out there.
  • 1
    You're having repo problems. Try to remove the repository, follow this guide to install.
    https://digitalocean.com/community/...
  • 0
    Have you tried sudo apt-get update -f, any time I have problems with package manager that fix it, anyway that is why I don't like Ubuntu, lots of problems with packages, try Debian, Fedora or Arch they are quite more stable.
  • 2
    Are you using
    .
    .
    The same syntax
    .
    .
    There too?
  • 0
    @azuredivay Linux is better, but with other more stable distros
Add Comment