0

I am quite unexperienced with ubuntu. As I am now trying to install nodejs via tar.gz package I dont get the ./configure to work.

As you may read anywhere, an installation consists basicly of these steps: 1. Download tar.gz package 2. Extract 3. Open Terminal 4. cd into the source folder 5. $ ./configure 6. $ make 7. $ sudo make install 8. -- Install completed --

No matter if I perform Step 5. with root root or not, I'm getting this Error: bash: ./configure: No such file or directory

It may surely not be a configuration error, because I've just reinstalled the OS about 2 hours ago.

Thanks for any advice.

EDIT: I've downloaded the Linux-Binarys of Nodejs here. But as I think about it now, I should be using the sourcecode packege. Shouldn't I?

1 Answers1

1

Thanks for all your Ideas.

I managed to install it with this tutorial.

1. Get Processor architecture

$ getconf LONG_BIT
64

2. Download package using correct version and CPU Architecture

wget http://nodejs.org/dist/v4.2.4/node-v4.2.4-linux-x64.tar.gz

3. Unpack to `/usr/local using correct version and CPU Architecture

 sudo tar -C /usr/local --strip-components 1 -xzf node-v4.2.4-linux-x64.tar.gz

Works

I also tried Install Node.js with Maintained Ubuntu Packages from the same link which didn't work, due to failures inside the bash-script.

  • 1
    You may set your own answer as the accepted. 3 years, now you may already got experience with Unix like systems. As general info, always look for INSTALL, README files or any doc/help folder, most developers document such imported instructions (HOWTO install). – user.dz Aug 19 '19 at 09:12