sudo apt remove rocm-cmake
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
hip-dev hip-doc hip-samples hipcub-dev hipfort-dev hipify-clang rocm-device-libs rocm-ml-libraries rocprim-dev
rocthrust-dev rocwmma-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
rocm-cmake rocm-hip-runtime-dev rocm-hip-sdk rocm-ml-sdk
0 upgraded, 0 newly installed, 4 to remove and 170 not upgraded.
After this operation, 168 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 276855 files and directories currently installed.)
Removing rocm-ml-sdk (5.5.1.50501-74~22.04) ...
Removing rocm-hip-sdk (5.5.1.50501-74~22.04) ...
Removing rocm-hip-runtime-dev (5.5.1.50501-74~22.04) ...
Removing rocm-cmake (0.8.1.50501-74~22.04) ...