CGMiner on Fedora 18 with Nvidia GPU

First, you need to install the Nvidia binary drivers from RPMFusion.  The below commands should handle that:

sudo rpm -Uvh
sudo rpm -Uvh
sudo yum -y install kmod-nvidia xorg-x11-drv-nvidia-devel

Then, you need to download and install the CUDA software from

Install with the following command:

chmod ugo+x
sudo ./ -override compiler

Accept the license, answer n to installing the driver, y to the Toolkit, and y to Samples, I left installation paths at default.

Create a file /etc/ that contains the below two lines:


Download the latest source for cgminer and compile with the following command below:

CFLAGS=-I/usr/local/cuda/include LDFLAGS=-L/usr/lib64/nvidia ./configure --enable-cpumining && make && sudo make install

That should get you to the point of having cgminer compiled for Nvidia on Fedora 18.  Feel free to post comments/corrections.

This entry was posted in Uncategorized. Bookmark the permalink.

1 Response to CGMiner on Fedora 18 with Nvidia GPU

  1. Maciej Małecki says:

    I also had to do `cd /usr/lib64/nvidia && ln -s`. For some reason, installer didn’t create this one symbolic link.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s