flare
Well-known member
I don't think I was able to install the cuda driver correctly as got this issue after the following command.
user@user-System-Product-Name ~ $ sudo apt-get install libcurl4-openssl-dev autoconf git screen libncurses5-dev libdb4.8-dev -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libdb4.8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libdb4.8-dev' has no installation candidate
find / | grep nvcc still brings back permission denied so im assuming I didn't install this properly, which would explain why I get more errors and stuff when trying to start the program. Sorry I know your instructions were prob bang on but I've been a windows user my whole life and may have to just dual boot because a week into linux and I still can't install a program like this. I really appreciate the help though.
edit: I don't even know how to what to do to start the miner if it was installed properly. My best guess would be
LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64 ./ccminer -a X11 -o pool -u worker -p pass -B
but that's because I'm copying what I use to start my cpuminer pretty much and I don't know if it's supposed to be an "a" before X11 or another letter. I'm just completely lost.
Did you continue after the libdb4.8-dev error? Actually this package is not needed if only running a miner and it can be removed safely from the commandline, so just
Code:
sudo apt-get update
sudo apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev gcc make -y
sudo apt-get install libcurl4-openssl-dev autoconf git screen libncurses5-dev -y
sudo apt-get install linux-headers-$(uname -r) -y
wget http://developer.download.nvidia.com/compute/cuda/5_5/rel/installers/cuda_5.5.22_linux_64.run
sudo sh cuda_5.5.22_linux_64.run -silent -driver -toolkit
Please check /usr/local directory after the full procedure for existence of a cuda directory
Code:
$ ls -l /usr/local
Last edited by a moderator: