Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
vms:webdev:nodejs [2015/09/14 16:48] admin created |
vms:webdev:nodejs [2015/09/14 16:52] admin [Packages Installation] |
||
---|---|---|---|
Line 8: | Line 8: | ||
</code> | </code> | ||
- | If at this point you get an error like | + | If at this point you might get an error like |
<code> | <code> | ||
W: There is no public key available for the following key IDs: | W: There is no public key available for the following key IDs: | ||
Line 23: | Line 23: | ||
The above will work, or not, depending on whether or not the key 'XXXXXXXXXXXXXXX' is present in the packages they indicate. | The above will work, or not, depending on whether or not the key 'XXXXXXXXXXXXXXX' is present in the packages they indicate. | ||
- | If you need a specific key, you have to get it, and know on what server where to find it, it's in a key server (very probably any key server will do): | + | If you need a specific key, you have to get it, and know on which server to find it, it's in a key server (very probably any key server will do): |
<code> | <code> | ||
> sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553 | > sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553 | ||
Line 35: | Line 35: | ||
</code> | </code> | ||
- | The Node.js (v0.12 at the time of this writing) | + | Then, to install Node.js (v0.12 at the time of this writing) |
<code> | <code> | ||
> curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - | > curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - | ||
+ | > sudo apt-get install -y nodejs | ||
</code> | </code> |