linux-mint

Installing R 3.5.0 with --enable-R-shlib

非 Y 不嫁゛ 提交于 2019-11-26 18:37:20
问题 I am trying to install R 3.5.0 from source with the flag --enable-R-shlib under Linux Mint. Configuring and installing it without the flag works fine, but RStudio requires the flag to be set. However, when running ./configure --enable-R-shlib make I get the error /usr/bin/ld: CommandLineArgs.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC CommandLineArgs.o: error adding symbols: Bad value collect2: error: ld returned 1 exit

JAVA_HOME and PATH are set but java -version still shows the old one

空扰寡人 提交于 2019-11-26 12:24:13
问题 I am using Linux Mint Cinnamon 14. I have set the $JAVA_HOME and $PATH environment variables in ~/.profile as follows: export JAVA_HOME=/home/aqeel/development/jdk/jdk1.6.0_35 export PATH=/home/aqeel/development/jdk/jdk1.6.0_35/bin:$PATH I then did source ~/.profile to make the proper changes. When I execute java -version command to check the active java version, it shows the default (already installed open-jdk) java version. How can I override the default open-jdk with the one I downloaded?

what are the differences between node.js and node?

柔情痞子 提交于 2019-11-26 08:55:20
问题 I have installed node.js in my machine (linux mint 15), when I run node example.js , it says: The program \'node\' can be found in the following packages: * node * nodejs-legacy Try: sudo apt-get install <selected package> So what are the differences between node and nodejs? I had both node.js and node installed previously, but when I run node example.js , the web server doesn\'t start at all. So I deleted node and kept node.js. 回答1: The package node is not related to node.js. nodejs is what

What can I do against &#39;CUDA driver version is insufficient for CUDA runtime version&#39;?

百般思念 提交于 2019-11-26 08:30:20
问题 When I go to /usr/local/cuda/samples/1_Utilities/deviceQuery and execute moose@pc09 /usr/local/cuda/samples/1_Utilities/deviceQuery $ sudo make clean rm -f deviceQuery deviceQuery.o rm -rf ../../bin/x86_64/linux/release/deviceQuery moose@pc09 /usr/local/cuda/samples/1_Utilities/deviceQuery $ sudo make \"/usr/local/cuda-7.0\"/bin/nvcc -ccbin g++ -I../../common/inc -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch