Unable to install libnccl2 in WSL2 Ubuntu 20.04

I am following the instructions on NCCL Install Guide but running sudo apt install libnccl2 libnccl-dev fails with the error

$ sudo apt install libnccl2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libnccl2 : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to be installed
E: Unable to correct problems, you have held broken packages.

How do I go about solving it?

1 Like

Hello @2020.abhilash

NVAPI is not the correct section for this query. I have moved this to the GPU-Accelerated Libraries section.

Thank you.
NVIDIA Forum Moderator