The way I tend to do it is grab one of the binary tarballs and just do tar
-C /usr/local --strip-compontents 1 -xf node-v0.12.5-linux-x64.tgz,
normally by piping directly from curl (from a local mirror which I've
already verified the checksums on!). But I tend to use VMs and containers
and generate them using scripts, so instead of worrying about the "easy
upgrading" of using apt-get, I just re-build the image with a newer version
of node.

For my dev environment I just use nvm.

~Ryan

On Tue, 30 Jun 2015 at 18:05 James Ramsfield <[email protected]> wrote:

> Hi
>
> I have the followring question
>
> I'm have tried installing nodejs on ubuntu using the following command:
>
> sudo apt-get nodejs
>
> Problem is that it didnt install v0.12.5, but instead install an early
> version of nodej (10.4 I think). So I'm im not sure if  'sudo apt-get nodejs
> is the correct way of installing nodejs on ubuntu 14.04. So my question is:
>
> What is the recommended way of installing nodejs on ubuntu 14.04?
>
> James
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/c69df078-a1dc-4707-8d8c-bdbb5d08e5c2%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/c69df078-a1dc-4707-8d8c-bdbb5d08e5c2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAGjmZGxtzCFb7hw98j5%2B%2BvcQ10pX4q2t9i_CchPKbMo9eAFX%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to