Saurabh
Saurabh

Reputation: 73609

Issues in installing node-js latest version on squeeze

I was developing an app with node-js. I was trying to install node-js on one of squeeze debian linux machine.

The issue I was facing, while compiling node code, it needs g++ version >= 4.9, but squeeze has only g++ versions till 4.4.5.

Please let me know how to circumvent this issue.

Upvotes: 0

Views: 224

Answers (1)

Karthik Janarthanan
Karthik Janarthanan

Reputation: 54

As suggested in this link, can/did you try

sudo apt-get update
  //and install GCC 4.9
sudo apt-get install gcc-4.9 g++-4.9

Edited by Saurabh:

So the solution was to get sources of jessie, by replacing jessie with wheezyin file: /etc/apt/sources.list.

Upvotes: 1

Related Questions