What's the difference between the packages 'node' and 'nodejs'?
I currently have the package nodejs installed. A friend has the package 'node' installed. Why are there two packages for node.js and how should we determine which one to use?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu node Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
lsb_release -a; uname -a; apt-cache policy node*
thanks
Revision history for this message
|
#2 |
I couldn't figure out how to attach a file, so here's a paste.
opennebula-node:
Installed: (none)
Candidate: 3.2.1-2
Version table:
3.2.1-2 0
500 http://
monodoc-
Installed: (none)
Candidate: 1.0.0-3build1
Version table:
1.0.0-3build1 0
500 http://
libnode-less:
Installed: (none)
Candidate: (none)
Version table:
monodoc-
Installed: (none)
Candidate: 1.9.0.0-1
Version table:
1.9.0.0-1 0
500 http://
libunix-
Installed: (none)
Candidate: 0.04-1build1
Version table:
0.04-1build1 0
500 http://
libnode-node-expat:
Installed: (none)
Candidate: 1.3.0-1
Version table:
1.3.0-1 0
500 http://
libinnodb3:
Installed: (none)
Candidate: 1.0.6.6750-1
Version table:
1.0.6.6750-1 0
500 http://
node-node-uuid:
Installed: 1.2.0~20110510-2
Candidate: 1.2.0~20110510-2
Version table:
*** 1.2.0~20110510-2 0
500 http://
100 /var/lib/
libinnodb3-dbgsym:
Installed: (none)
Candidate: 1.0.6.6750-1
Version table:
1.0.6.6750-1 0
500 http://
monodoc-
Installed: (none)
Candidate: 2.6.7-1
Version table:
2.6.7-1 0
500 http://
node-lru-cache:
Installed: 1.0.5-1
Candidate: 1.0.5-1
Version table:
*** 1.0.5-1 0
500 http://
100 /var/lib/
knode:
Installed: (none)
Candidate: 4:4.8.3-0ubuntu0.1
Version table:
4:
500 http://
4:
500 http://
monodoc-
Installed: (none)
Candidate: 2.0.4.0-1
Version table:
2.0.4.0-1 0
500 http://
monodoc-
Installed: (none)
Candidate: 0.9.2-4
Version table:
0.9.2-4 0
500 http://
node-which:
Installed: 1.0.5-1
Candidate: 1.0.5-1
Version table:
*** 1.0.5-1 0
500 http://
100 /var/lib/
libnode-node-uuid:
Installed: (none)
Candidate: (none)
Version table:
node-tar:
Installed: 0.1.13-1
Candidate: 0.1.13-1
Version table:
*** 0.1.13-1 0
500 http://
100 /var/lib/
monodoc-
Installed: (none)
Candidate: 1.0.0~alpha3~
Version table:
1.
500 http://
node-semver:
Installed: 1.0.13-1
Candidate: 1.0.13-1
Version table:
*** 1.0.13-1 0
500 http://
100 /var/lib/
libnode-uglify:
Installed: (none)
Candidate: 1.2.3-1
Version table:
1.2.3-1 0
500 http://
monodoc-viewer:
Installed: (none)
Candidate: (none)
Version table:
libnode-
Installed: (none)
Candidate: 0.0.3-1build1
Version table:
0.0.3-1build1 0
500 http://
node-less:
Installed: (none)
Candidate: 1.2.1~20120115-1
Version table:
1.
500 http://
leafnode-dbgsym:
Installed: (none)
Candidate: 1.11.8-1
Version table:
1.11.8-1 0
500 http://
node-block-stream:
Installed: 0.0.5-1
Candidate: 0.0.5-1
Version table:
*** 0.0.5-1 0
500 http://
100 /var/lib/
node:
Installed: (none)
Candidate: 0.3.2-7.1
Version table:
0.3.2-7.1 0
500 http://
nodm:
Installed: (none)
Candidate: 0.11-1.1ubuntu1
Version table:
0.
500 http://
monodoc-browser:
Installed: (none)
Candidate: 2.10-2
Version table:
2.10-2 0
500 http://
libnode-node-xmpp:
Installed: (none)
Candidate: 0.2.7-1
Version table:
0.2.7-1 0
500 http://
monodoc-
Installed: (none)
Candidate: 0.0.3-0ubuntu1
Version table:
0.0.3-0ubuntu1 0
500 http://
libnode-ltx:
Installed: (none)
Candidate: 0.0.5-1
Version table:
0.0.5-1 0
500 http://
monodoc-http:
Installed: (none)
Candidate: 2.10-2
Version table:
2.10-2 0
500 http://
monodoc-
Installed: (none)
Candidate: 0.1.1-2
Version table:
0.1.1-2 0
500 http://
nodejs-dbg:
Installed: 0.6.12~
Candidate: 0.6.12~
Version table:
*** 0.6.12~
500 http://
100 /var/lib/
node-request:
Installed: 2.9.153-1
Candidate: 2.9.153-1
Version table:
*** 2.9.153-1 0
500 http://
100 /var/lib/
nodejs-dev:
Installed: 0.6.12~
Candidate: 0.6.12~
Version table:
*** 0.6.12~
500 http://
100 /var/lib/
munin-node:
Installed: (none)
Candidate: 1.4.6-3ubuntu3.1
Version table:
1.
500 http://
1.4.6-3ubuntu3 0
500 http://
node-mkdirp:
Installed: 0.3.1-2
Candidate: 0.3.1-2
Version table:
*** 0.3.1-2 0
500 http://
100 /var/lib/
libxml-node-perl:
Installed: (none)
Candidate: 0.11-7
Version table:
0.11-7 0
500 http://
libinnodb-dbg:
Installed: (none)
Candidate: 1.0.6.6750-1
Version table:
1.0.6.6750-1 0
500 http://
libnode-backbone:
Installed: (none)
Candidate: (none)
Version table:
libinnodb-dev:
Installed: (none)
Candidate: 1.0.6.6750-1
Version table:
1.0.6.6750-1 0
500 http://
python2.
Installed: (none)
Candidate: (none)
Version table:
node-fstream:
Installed: 0.1.13-1
Candidate: 0.1.13-1
Version table:
*** 0.1.13-1 0
500 http://
100 /var/lib/
node-nopt:
Installed: 1.0.10-1
Candidate: 1.0.10-1
Version table:
*** 1.0.10-1 0
500 http://
100 /var/lib/
monodevelop-query:
Installed: (none)
Candidate: (none)
Version table:
libtree-
Installed: (none)
Candidate: 1.06-1
Version table:
1.06-1 0
500 http://
monodoc-
Installed: (none)
Candidate: (none)
Version table:
monodevelop-
Installed: (none)
Candidate: 2.8.6.3+dfsg-1
Version table:
2.8.6.3+dfsg-1 0
500 http://
monodevelop-python:
Installed: (none)
Candidate: 2.8.6.3-1
Version table:
2.8.6.3-1 0
500 http://
libnode-
Installed: (none)
Candidate: 0.0.3-1build1
Version table:
0.0.3-1build1 0
500 http://
node-minimatch:
Installed: 0.2.0-1
Candidate: 0.2.0-1
Version table:
*** 0.2.0-1 0
500 http://
100 /var/lib/
monodoc-
Installed: (none)
Candidate: 2.12.10-2ubuntu4
Version table:
2.
500 http://
monodoc-
Installed: (none)
Candidate: 2.4.0-2ubuntu1
Version table:
2.4.0-2ubuntu1 0
500 http://
libtree-
Installed: (none)
Candidate: 1.0.10-2
Version table:
1.0.10-2 0
500 http://
node-uglify:
Installed: (none)
Candidate: 1.2.3-1
Version table:
1.2.3-1 0
500 http://
nodau-dbgsym:
Installed: (none)
Candidate: 0.2.2-1
Version table:
0.2.2-1 0
500 http://
gtk2-engines-
Installed: (none)
Candidate: 0.7.2-0ubuntu2
Version table:
0.7.2-0ubuntu2 0
500 http://
node-dbgsym:
Installed: (none)
Candidate: 0.3.2-7.1
Version table:
0.3.2-7.1 0
500 http://
monodevelop-
Installed: (none)
Candidate: 2.8.6.3+dfsg-2
Version table:
2.8.6.3+dfsg-2 0
500 http://
node-inherits:
Installed: 0.1-1
Candidate: 0.1-1
Version table:
*** 0.1-1 0
500 http://
100 /var/lib/
monodevelop-vala:
Installed: (none)
Candidate: 2.8.6.3-2
Version table:
2.8.6.3-2 0
500 http://
monodoc-
Installed: (none)
Candidate: 8.0.184.
Version table:
8.
500 http://
monodoc-
Installed: (none)
Candidate: 0.4.0~r3032-4
Version table:
0.4.0~r3032-4 0
500 http://
monodevelop-nunit:
Installed: (none)
Candidate: 2.8.6.3+dfsg-2
Version table:
2.8.6.3+dfsg-2 0
500 http://
libnode-step:
Installed: (none)
Candidate: 0.0.4-1
Version table:
0.0.4-1 0
500 http://
nodejs:
Installed: 0.6.12~
Candidate: 0.6.12~
Version table:
*** 0.6.12~
500 http://
100 /var/lib/
libnode-
Installed: (none)
Candidate: 1.3.0-1
Version table:
1.3.0-1 0
500 http://
libunix-mknod-perl:
Installed: (none)
Candidate: 0.04-1build1
Version table:
0.04-1build1 0
500 http://
librdf-
Installed: (none)
Candidate: 0.16-1
Version table:
0.16-1 0
500 http://
libnode-pg:
Installed: (none)
Candidate: 0.4.0-1
Version table:
0.4.0-1 0
500 http://
monodoc-
Installed: (none)
Candidate: 0.5-1build1
Version table:
0.5-1build1 0
500 http://
knode-dbgsym:
Installed: (none)
Candidate: 4:4.8.4a-0ubuntu0.1
Version table:
4:
500 http://
4:
500 http://
4:
500 http://
python-nodebox-web:
Installed: (none)
Candidate: 1.9.4.6-2
Version table:
1.9.4.6-2 0
500 http://
monodoc-base:
Installed: (none)
Candidate: 2.10.8.1-1ubuntu2.1
Version table:
2.
500 http://
2.
500 http://
leafnode:
Installed: (none)
Candidate: 1.11.8-1
Version table:
1.11.8-1 0
500 http://
monodoc-
Installed: (none)
Candidate: 0.3-5
Version table:
0.3-5 0
500 http://
node-abbrev:
Installed: 1.0.3-1
Candidate: 1.0.3-1
Version table:
*** 1.0.3-1 0
500 http://
100 /var/lib/
monodoc-
Installed: (none)
Candidate: 0.4.2+dfsg-3
Version table:
0.4.2+dfsg-3 0
500 http://
monodoc-
Installed: (none)
Candidate: 2.1.svn20090801-7
Version table:
2.
500 http://
nodm-dbgsym:
Installed: (none)
Candidate: 0.11-1.1ubuntu1
Version table:
0.
500 http://
monodoc-
Installed: (none)
Candidate: (none)
Version table:
monodoc-
Installed: (none)
Candidate: 0.1-2build1
Version table:
0.1-2build1 0
500 http://
libjs-node-uuid:
Installed: (none)
Candidate: (none)
Version table:
monodoc-
Installed: (none)
Candidate: 6.4.3-1
Version table:
6.4.3-1 0
500 http://
libnode-vows:
Installed: (none)
Candidate: 0.5.8+20110312-1
Version table:
0.
500 http://
node-rimraf:
Installed: 2.0.1-1
Candidate: 2.0.1-1
Version table:
*** 2.0.1-1 0
500 http://
100 /var/lib/
monodoc-
Installed: (none)
Candidate: 0.6.19-4.1build1
Version table:
0.
500 http://
monodoc-
Installed: (none)
Candidate: 0.9.0-3
Version table:
0.9.0-3 0
500 http://
monodevelop-
Installed: (none)
Candidate: 2.8.6.3-1
Version table:
2.8.6.3-1 0
500 http://
monodoc-
Installed: (none)
Candidate: 0.1-2ubuntu2
Version table:
0.1-2ubuntu2 0
500 http://
libnode-eyes:
Installed: (none)
Candidate: 0.1.6~ab4f3e-4
Version table:
0.1.6~ab4f3e-4 0
500 http://
libnode-vargs:
Installed: (none)
Candidate: 0~20100516-4
Version table:
0~20100516-4 0
500 http://
monodoc-manual:
Installed: (none)
Candidate: 2.10.8.1-1ubuntu2.1
Version table:
2.
500 http://
2.
500 http://
monodevelop-java:
Installed: (none)
Candidate: 2.8.6.3-1
Version table:
2.8.6.3-1 0
500 http://
libxml-
Installed: (none)
Candidate: 0.01-6
Version table:
0.01-6 0
500 http://
libnode-cradle:
Installed: (none)
Candidate: 0.5.5~20110308-1
Version table:
0.
500 http://
monodoc-
Installed: (none)
Candidate: (none)
Version table:
monodoc-gtk-manual:
Installed: (none)
Candidate: (none)
Version table:
nodau:
Installed: (none)
Candidate: 0.2.2-1
Version table:
0.2.2-1 0
500 http://
node-graceful-fs:
Installed: 1.1.8-1
Candidate: 1.1.8-1
Version table:
*** 1.1.8-1 0
500 http://
100 /var/lib/
monodoc-
Installed: (none)
Candidate: 0.8.0.0-1
Version table:
0.8.0.0-1 0
500 http://
monodoc-
Installed: (none)
Candidate: 1.05+dfsg-4build1
Version table:
1.
500 http://
monodevelop:
Installed: (none)
Candidate: 2.8.6.3+dfsg-2
Version table:
2.8.6.3+dfsg-2 0
500 http://
node-coffeescript:
Installed: (none)
Candidate: (none)
Version table:
gtk2-engines-
Installed: (none)
Candidate: 0.7.2-0ubuntu2
Version table:
0.7.2-0ubuntu2 0
500 http://
monodoc-
Installed: (none)
Candidate: 2.5.10.11092+dfsg-3
Version table:
2.
500 http://
node-ini:
Installed: 1.0.2-1
Candidate: 1.0.2-1
Version table:
*** 1.0.2-1 0
500 http://
100 /var/lib/
Revision history for this message
|
#3 |
Use apt-cache show <packagename> to see more info about a package.
See Terminal output below:
$ apt-cache show nodejs
Package: nodejs
Priority: extra
Section: universe/web
Installed-Size: 2331
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: amd64
Version: 0.6.12~
Depends: libc-ares2 (>= 1.7.3), libc6 (>= 2.14), libev4 (>= 1:4.04), libgcc1 (>= 1:4.1.1), libssl1.0.0 (>= 1.0.1), libstdc++6 (>= 4.1.1), libv8-3.7.12.22, zlib1g (>= 1:1.1.4)
Conflicts: node
Filename: pool/universe/
Size: 664258
MD5sum: 1581691b713eecb
SHA1: 0c6b91a0cff7295
SHA256: 3454de63b5fd059
Description-en: Node.js event-based server-side javascript engine
Node.js is similar in design to and influenced by systems like
Ruby's Event Machine or Python's Twisted.
.
It takes the event model a bit further - it presents the event
loop as a language construct instead of as a library.
.
Node.js is bundled with several useful libraries to handle server tasks :
System, Events, Standard I/O, Modules, Timers, Child Processes, POSIX,
HTTP, Multipart Parsing, TCP, DNS, Assert, Path, URL, Query Strings.
Homepage: http://
Description-md5: 964493985d4a02c
Bugs: https:/
Origin: Ubuntu
More info about node.js here:
http://
$ apt-cache show node
Package: node
Priority: optional
Section: universe/hamradio
Installed-Size: 300
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: amd64
Version: 0.3.2-7.1
Depends: libax25 (>= 0.0.11), libc6 (>= 2.7), zlib1g (>= 1:1.1.4), update-inetd, openbsd-inetd | inet-superserver
Filename: pool/universe/
Size: 56114
MD5sum: c5eaa524c86ece0
SHA1: 655bdaf85444bc4
SHA256: 584c7df489ec0db
Description-en: Amateur Packet Radio Node program
The node program accepts TCP/IP and packet radio network connections and
presents users with an interface that allows them to make gateway connections
to remote hosts using a variety of amateur radio protocols.
Description-md5: 7b5520e08a1f3c2
Bugs: https:/
Origin: Ubuntu
$
So node deals with Amateur Packet Radio. node.js is not specialized in that....
Revision history for this message
|
#4 |
Thanks Mark Rijckenberg, that solved my question.