Unable to locate package cuda-command-line-tools


Hi! I would like to get some help while building the docker file in AlphaFold2.

when I execute the command following

sudo docker build -f docker/Dockerfile -t alphafold .

I got the following error.

Get:22 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [2668 B]
Fetched 19.7 MB in 6s (3575 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package cuda-command-line-tools

The following is my docker file (slightly changed from the original alphafold2 docker file).

ARG CUDA=11.4.2
ARG CUDA2=11.4
FROM nvidia/cuda:${CUDA}-cudnn8-runtime-ubuntu20.04
# FROM directive resets ARGS, so we specify again (the value is retained if
# previously set).

# Use bash to support string substitution.
SHELL ["/bin/bash", "-c"]

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
      build-essential \
      cmake \
      cuda-command-line-tools-${CUDA2/./-} \
      git \
      hmmer \
      kalign \
      tzdata \
      wget \
    && rm -rf /var/lib/apt/lists/*


TensorRT Version:
GPU Type: NVIDIA GeForce RTX 3090
Nvidia Driver Version: 470.57.02
CUDA Version: 11.4
CUDNN Version: 8.2.0
Operating System + Version:Ubuntu20.04

Relevant Files

Steps To Reproduce

Please include:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered


This forum talks more about updates and issues related to TensorRT. We recommend you to please post your concern on CUDA related platform to get better help.

Thank you.