How to Install and Uninstall nvidia-opencl-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 10,2024

1. Install "nvidia-opencl-dev" package

This guide covers the steps necessary to install nvidia-opencl-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install nvidia-opencl-dev

2. Uninstall "nvidia-opencl-dev" package

Please follow the steps below to uninstall nvidia-opencl-dev on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove nvidia-opencl-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the nvidia-opencl-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: nvidia-opencl-dev
Architecture: amd64
Version: 10.1.243-3
Multi-Arch: same
Priority: extra
Section: multiverse/libdevel
Source: nvidia-cuda-toolkit
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 83
Depends: ocl-icd-opencl-dev
Recommends: nvidia-opencl-icd
Breaks: nvidia-libopencl1 (>> 0)
Filename: pool/multiverse/n/nvidia-cuda-toolkit/nvidia-opencl-dev_10.1.243-3_amd64.deb
Size: 16488
MD5sum: 70d53cafda9038cc3442c44580971a82
SHA1: 712d67bba4f024dbeaf6098c2de16c991872b613
SHA256: de25c61e574a73a3bfd15aae55d4cb4ffaa52cf166987a24413e7f3b763c5ba9
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA OpenCL development files
Description-md5: 5404c4fac54bb1c7a833b77f92a02e84