To use Liberate.FHE, a GPU is required. This document explains how to set up and install the Nvidia graphics card driver and CUDA. It provides steps to identify and install the GPU, update package lists, install Nvidia drivers, verify the installation, install the CUDA toolkit, set environment variables, and verify the CUDA installation.
Before you begin, it's essential to identify the Nvidia GPU model in your system. You can use the following commands to check:
If the Nvidia graphics card is not installed or an incompatible version of CUDA is installed, install a new version.
Ensure that your package lists are up to date.
Check available graphic cards.
Automatically install the recommended drivers.
Alternatively, manually install the desired version.
Don't forget to restart the server after installing the graphic card driver.
Please ensure that the graphics card is in working order.
If you encounter any issues during the installation or need further customization, you can refer to the official Nvidia documentation or seek help from the Ubuntu community forums.
Make sure your GPU is CUDA-compatible. You can find a list of CUDA-enabled GPUs on the Nvidia website.
Please refer to the instructions provided above.
Visit the Nvidia CUDA Toolkit download page.
Assuming you've downloaded the toolkit:
Add CUDA to your PATH
and update LD_LIBRARY_PATH
. You can do this by adding the following lines to your ~/.bashrc
or ~/.zshrc
file:
Remember to provide the source for your updated profile:
Please verify if CUDA has been installed correctly by executing the following command:
This should display the CUDA compiler version.