Repository navigation
How to install /node-v5.1.0-linux-x64$ #41
Description
Activity
Can you provide more details? What did you download where and where are you trying to install it to? If you ran into problems, please post what you've tried so far and the error messages you got.
I am trying to install node for 64bit ubuntu OS. Simply put, I am not very good with file/archive management, understanding directory download/install behaviors and I just cannot seem to progress smoothly in navigating the terminal to launch programs or execute files. Every time I try, I keep getting errors and I am just burned out trying. From what it looks like, node-v5.1.0-linux-x64 is right here in my /Home/Downloads directory. However, nothing seems to be executable within the contents of the folder in the given archive for me to actually get the program to either launch or be recognized.
Also, I am sooooo desperate to get my first ember application started, but I get errors in the terminal such as "no such file" when clearly I am looking right at it. Also I get "WARN" errors stating I need the latest version of the program which I do. I also have downloaded Ember cli along with its respective supporting packages and I just cannot get things to update or download correctly (despite following instructions verbatim). Any assistance greatly appreciated!
One more addition, when I attempt to install ember-cli, it gives me the following:
npm ERR! error rolling back Error: EACCES, unlink '/usr/local/bin/ember'
npm ERR! error rolling back ember-cli@1.13.13 { [Error: EACCES, unlink '/usr/local/bin/ember'] errno: 3, code: 'EACCES', path: '/usr/local/bin/ember' }
npm ERR! Error: EACCES, unlink '/usr/local/bin/ember'
npm ERR! { [Error: EACCES, unlink '/usr/local/bin/ember'] errno: 3, code: 'EACCES', path: '/usr/local/bin/ember' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.npm ERR! System Linux 4.2.0-19-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "-g" "install" "ember-cli"
npm ERR! cwd /home/neophoenix
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! path /usr/local/bin/ember
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, unlink '/usr/local/bin/ember'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/neophoenix/npm-debug.log
npm ERR! not ok code 0Then when I reattempt as sudo, I get ERR! EACCES, unlink 'usr/local/bin/ember' followed by many 'WARN deprecated' no longer maintained results. If I actually have to go to the readme files to install, I might be here until Christmas...I hope it won't come to this because every tutorial I go to the user installs the programs in less than 2 minutes. All I want to do is create my first app in Ember, and I hope it is easier than I am making it out to be. Thanks again!!
@neophoenix123 here's a one-liner that may be helpful for getting it installed:
curl https://nodejs.org/download/release/v5.1.0/node-v5.1.0-linux-x64.tar.xz | tar Jxv --strip=1 -C /usr/local/The important bits of this are the use of
Jfortarto understandxzcompression, the--strip=1which will get rid of the/node-v5.1.0-linux-x64at the start of all of the paths and-C /usr/localto unpack it all under/usr/local/including the executable at/usr/local/bin/nodeand npm resources in/usr/local/lib/node_modules/and a link to the executable at/usr/local/bin/npm. It's also likely that you'll needrootpermissions to unpack in/usr/localso you can just change| tar ...to| sudo tar ....Alternatively, a much easier approach is to use the NodeSource Linux distributions at https://deb.nodesource.com/ to get v5.x and it'll be all be properly installed via the usual
aptmechanisms, including updates as they come out.Wow I will be giving this a try right now and I will keep you informed. Thank you for this help I am crossing fingers as we speak!
Wow nothing..this is the latest:
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
curl: (23) Failed writing body (450 != 4096)@neophoenix123 did you try with
sudo tarinstead?Thanks @rvagg for https://deb.nodesource.com/
# Using Ubuntu curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejsOh, then I run into trouble because I had an old version of node installed. This helped me, but updated the existing installation to 5.0.0 (without LTS, but ok, lets go):
sudo npm cache clean -f sudo npm install -g n sudo n stableReacted by Wellington Torrejais da Silva and Andrey Gurtovoythank you @rvagg
If you are using it for Ember, I have a step by I can give you in order to
ensure node and other dependencies are installed using NVM. Its the best
method when using Ember!On Wed, Feb 3, 2016 at 6:46 AM, Thiago Monteiro Barbosa <
notifications@github.com> wrote:thank you @rvagg https://github.com/rvagg
—
Reply to this email directly or view it on GitHub
#41 (comment).George Awad, BS.BA http://BS.BA
Epic Proportions Software inc.
gawad@eptent.com gawad@eptent.com
http://epicproportionstour.com http://epicproportionstour.comSudo install anything are just not good friends with ember as permissions
are temporary using sudo to install nodejs. You will probably run into
issues accessing files later so I would suggest-curl -o-
https://github.com/raw/creationix/nvm/v0.30.2/install.sh | bash
(this will download node version manager)
-nvm install stable (this will install the latest version of nodejs and
npm respectively)On Wed, Feb 3, 2016 at 10:13 AM, George Awad gawad@eptent.com wrote:
If you are using it for Ember, I have a step by I can give you in order to
ensure node and other dependencies are installed using NVM. Its the best
method when using Ember!On Wed, Feb 3, 2016 at 6:46 AM, Thiago Monteiro Barbosa <
notifications@github.com> wrote:thank you @rvagg https://github.com/rvagg
—
Reply to this email directly or view it on GitHub
#41 (comment).George Awad, BS.BA http://BS.BA
Epic Proportions Software inc.
gawad@eptent.com gawad@eptent.com
http://epicproportionstour.com http://epicproportionstour.comGeorge Awad, BS.BA http://BS.BA
Epic Proportions Software inc.
gawad@eptent.com gawad@eptent.com
http://epicproportionstour.com http://epicproportionstour.comThanks @Valentin-Seehausen