In https://developer.nvidia.com/Cuda-Toolkit-archive - at least from version 10 on -
all Installation Instructions with Installer Type “(network)” will lead to an installation
of the latest stable version.
I checked for Ubuntu but I guess it’s the same for other distros.
The last line is missing the version. E.g. for Ubuntu:
sudo apt install cuda=11.0.3-1