Score:0

Install nvidia drivers without a desktop

uz flag

I would like to install a Nvidia Driver on a pure Ubuntu server.

I've already tried installing package nvidia-driver-495, but a desktop environment was installed automatically.

How can I install a Nvidia driver and get stuffs like nvidia-smi working while keeping my machine from running a desktop?

cocomac avatar
cn flag
Can you [download the drivers](https://www.nvidia.com/Download/index.aspx?lang=en-us) straight from NVIDIA, and just use that command line installer? That might work for you
ChanganAuto avatar
us flag
There are "server" versions already available in the repositories.
hr flag
@ChanganAuto +1 although it looks like the nomenclature may have changed from "server" to "headless" ex. it's `nvidia-driver-450-server` but `nvidia-headless-495` ?
Score:0
uz flag

Solved: Installing nvidia-driver-470-server worked for me.

Hint:

  • Package nvidia-headless-495 isn't for me because of the lack of nvidia-smi etc.
  • The latest "New Feature" branch driver version is 495 but nvidia-driver-495-server doesn't exsist (as of now). That mislead me because autocomplete doesn't give me an "server" package when installing that version.

Thanks for comments from cocomac, ChanganAuto and steeldriver!

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.