- Download node archive from https://nodejs.org
wget https://nodejs.org/dist/v6.10.1/node-v6.10.1-linux-x64.tar.xz
- Extract tarball
mkdir node
tar xvf node-v*.tar.?z --strip-components=1 -C ./node
- Configure prefix & symlinks for npm
mkdir node/etc
echo 'prefix=/usr/local' > node/etc/npmrc
- Moving binaries to installation loaction
curl https://github.com/ruby/ruby/commit/801e1fe46d83c856844ba18ae4751478c59af0d1.diff > openssl.patch | |
rvm install --patch ./openssl.patch ["ruby version you want to install"] |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - && sudo apt-get install -y nodejs |
- Use original boot media(DVD, USB) Its important you have this
-
Restart the computer with the original installation media (that’s either the DVD or the USB flash drive)
-
Click Repair your computer
-
At the Choose an option screen, click Troubleshoot
-
Click Advanced options
-
Click Command Prompt
-
Type this command:
chkdsk C: /f /x /r
Installing packages from AUR
-
Search for the package here
-
Acquire build files
There are two methods:
-
Clone the git repository that is labeled as the "Git Clone URL" in
-
Ensure that you have OpenJDK 8 installed on your system.
-
You can check this by running
which javac
-
-
if output is
which: no javac
Install OpenJDK 8 by running the command
So when building arrayfire on Arch you kind of run into the error below if the default gcc version is more than 6.0.0
Make Error: NVCC does not support GCC version 6.0 or greater.
So here is a hack that might help you fix that particular snag.
-
Make sure you intall an alternate version of gcc that is < 6 but > 4.3 in this case gcc-5
-
Make sure you are in the arrayfire directory