How to install OpenGL libs of nvidia?

How to install OpenGL libs of nvidia?
My laptop: Ubuntu 20.04, RTX 2060
I installed video driver: 450.102.04

$ nvidia-smi
Thu Apr 15 09:11:00 2021
±----------------------------------------------------------------------------+
| NVIDIA-SMI 450.102.04 Driver Version: 450.102.04 CUDA Version: 11.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce RTX 2060 Off | 00000000:01:00.0 Off | N/A |
| N/A 33C P8 16W / N/A | 11MiB / 5934MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 907 G /usr/lib/xorg/Xorg 4MiB |
| 0 N/A N/A 1457 G /usr/lib/xorg/Xorg 4MiB |
±----------------------------------------------------------------------------+

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.6

OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

OpenGL ES profile extensions:

To switch to the nvidia card as primary gpu, you got to use prime-select.
prime-select nvidia
Reboot.

Also there is the “on-demand” prime profile. Read about that “render-offload” feature here:
https://download.nvidia.com/XFree86/Linux-x86_64/460.39/README/primerenderoffload.html

It works! Thanks a lot!

$ glxinfo | grep OpenGL

OpenGL vendor string: NVIDIA Corporation

OpenGL renderer string: GeForce RTX 2060/PCIe/SSE2

OpenGL core profile version string: 4.6.0 NVIDIA 450.102.04

OpenGL core profile shading language version string: 4.60 NVIDIA

OpenGL core profile context flags: (none)

OpenGL core profile profile mask: core profile

OpenGL core profile extensions:

OpenGL version string: 4.6.0 NVIDIA 450.102.04

OpenGL shading language version string: 4.60 NVIDIA

OpenGL context flags: (none)

OpenGL profile mask: (none)

OpenGL extensions:

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 450.102.04

OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

OpenGL ES profile extensions: