Installing Prerequisite Packages

This section outlines the steps required to prepare your system to deploy NCP

Update the local package index:

sudo apt update -y

Install Docker & Docker-compose:

Install Docker:

Install
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
Verify
ubuntu@NCP:~$ docker --version
Docker version 25.0.0, build e758fe5
ubuntu@NCP:~$

Install Docker Compose:

sudo curl -L "https://github.com/docker/compose/releases/download/v2.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

Installing NVIDIA GPU Drivers:

Install GPU Drivers:

sudo apt install nvidia-utils-535 -y
sudo apt install ubuntu-drivers-common -y
sudo apt install nvidia-driver-535 -y

Reboot the system:

Installing NVIDIA Toolkit:

We will leverage the container toolkit provided by NVIDIA to deploy the NCP backend as an additional Docker container along with NCP services packaged as containers.

Install NVIDIA Container Toolkit:

Configure the toolkit:

Additional packages:

  • pbzip2: A parallel bzip2 compression tool for faster file compression

  • python3-pip: A package manager for Python3, used to install Python libraries

Last updated

Was this helpful?