Installing CUDA Toolkit 11.7 under ubuntu

I am unable to get CUDA Toolkit 11.8 to work under Ubuntu 24.04.1 LTS and I would like to try version 11.7 . I go to the web site for the Toolkit 1.7 download

I follow the instruction for the network install, however, it installs version 11.8.

I have tried the “run” package but it refuses to install.

Is there a way I can point the package manager to the correct 11.7 version of the Toolkit?

Thank you.