When I installing CUDA 9.0, but installed was CUDA 9.2.

I want to install CUDA 9.0 to Ubuntu 16.04.But installed was CUDA 9.2. The same goes for installing CUDA 8.0.
link:https://developer.nvidia.com/cuda-90-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=debnetwork

cat /usr/local/cuda/version.txt

CUDA Version 9.2.88

You will get the latest version of CUDA which is 9.2

If you want to install CUDA 9.0 after a later version is out, you should do:

sudo apt-get install cuda-9-0

when using the network deb install method

[url]https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#package-manager-metas[/url]

Thank you for your answer.

Only one command ? Is it really that simple ?

Why couldn’t the previous method install the specified version ?
https://developer.nvidia.com/cuda-90-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=debnetwork

========================
If I want to install the CUDA 8.0. The command is:

sudo apt-get install cuda-8-0

???

when I use this command : sudo apt-get install cuda-9-0, happen error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package cuda-9-0

But I use this commad : sudo apt-get install cuda-8-0. It is OK !

But I need CUDA 9.0.

Thanks!

Please answer my question. Thank you.