How to Install and Uninstall nvidia-opencl-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 07,2024

1. Install "nvidia-opencl-dev" package

Please follow the steps below to install nvidia-opencl-dev on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "nvidia-opencl-dev" package

Please follow the step by step instructions below to uninstall nvidia-opencl-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the nvidia-opencl-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: nvidia-opencl-dev
Architecture: amd64
Version: 9.1.85-3ubuntu1
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: 99
Depends: ocl-icd-opencl-dev
Recommends: nvidia-opencl-icd
Filename: pool/multiverse/n/nvidia-cuda-toolkit/nvidia-opencl-dev_9.1.85-3ubuntu1_amd64.deb
Size: 22616
MD5sum: fea3737215bb0b16dc11b0170c48fbc4
SHA1: 2a5be68096f923eeaec836959d70ffcece649b3b
SHA256: 6a5c05ee63c744a67ed80c9fbe062d1deb0cd5ff94641b7c6870f2c9112ce813
Homepage: https://developer.nvidia.com/cuda-zone
Description: NVIDIA OpenCL development files
Description-md5: 5404c4fac54bb1c7a833b77f92a02e84