Last active
October 31, 2023 12:52
-
-
Save Lauszus/28f546d4f30ce5103b49a7550f3e4975 to your computer and use it in GitHub Desktop.
Nvidia SDKManager on Ubuntu 20.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put in "/usr/lib/os-release-bionic" | |
NAME="Ubuntu" | |
VERSION="18.04 (Bionic Beaver)" | |
ID=ubuntu | |
ID_LIKE=debian | |
PRETTY_NAME="Ubuntu 18.04" | |
VERSION_ID="18.04" | |
VERSION_CODENAME=bionic | |
UBUNTU_CODENAME=bionic | |
# Now launch the sdkmanager: | |
# $ export LSB_OS_RELEASE=/usr/lib/os-release-bionic | |
# $ sdkmanager |
Doesn't work with SDK Manager version 1.6.0 (it still detects 20.04)
Maybe the docker image will work?
https://developer.nvidia.com/sdkmanager_docker_image
@jwatte yes it's annoying. I downgraded to 1.4.1.7402 as that one works. I can't believe Nvidia still have not added support for 20.04 :/
No I have not tried the Docker image.
@Lauszs @jwatte Hi, for Ubuntu 20.04, 20.10 and 21.04:
sudo cp /usr/lib/os-release to /usr/lib/os-release-bionic
sudo cp /usr/lib/os-release to /usr/lib/os-release-hisure
sudo nano /usr/lib/os-release-bionic
# fill in indices for Ubuntu 18 as mentioned above.
When you want to start sdkmanager:
sudo cp /usr/lib/os-release-bionic /usr/lib/os-release
sdkmanager
When you are done:
sudo cp /usr/lib/os-release-hisure /usr/lib/os-release
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works also in Ubuntu 20.10.