this post was submitted on 21 Feb 2025
188 points (100.0% liked)

Linux

50723 readers
737 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?

In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?

you are viewing a single comment's thread
view the rest of the comments
[–] Xanza@lemm.ee 29 points 1 week ago (1 children)

(it was nvidia related)

lel we got 'im, boys. /s

[–] No1@aussie.zone 1 points 1 week ago* (last edited 1 week ago) (1 children)

Ubuntu Additional Drivers offered me a choice between 11 different nvidia drivers.

nouveau,and then a mishmash of nvidia versions, open, proprietary and server.

Like OP was probably trying to do, had to manually remove the existing driver before you could select anything. All those options were greyed out because of a 'manual installed driver'

And guess what did this 'manual installed driver'? Me? No. Ubuntu's own uograde or running the command for ubuntu to select the 'besr driver'.

Fortunately, I'd been through nvidia hell several times, and knew how to manually perform the removal and install, but felt horrified for any new users that might stumble into this. With changing versions, it can be difficult when searching to work out which results are actually relevant, and which are obsolete.

Always remember anything with a wildcard is your enemy. Triple check before you can trust it and hit enter.

[–] Xanza@lemm.ee 0 points 1 week ago* (last edited 1 week ago) (1 children)

You're making it to be ridiculous when you just don't understand the process...which is making it seem like it's far more complicated that it actually is.

You literally generally run a single command, like sudo ubuntu-drivers install which will choose the most current and best drivers for your GPU and install them... If you want to install a specific version then sudo ubuntu-drivers install nvidia:535. That's it. If you're on an Ubuntu version you should not be manually installing drivers via APT as there are literally applications whose sole purpose is to properly install gfx drivers...

nouveau drivers come with Ubuntu.

What you'll have to do is purge the currently installed manual drivers and then use ubuntu-drivers to install your gfx drivers;

sudo apt purge nvidia-driver-535 #or whatever your installed version is
sudo apt autoremove
[–] No1@aussie.zone 1 points 1 week ago* (last edited 1 week ago) (1 children)

You misunderstood what I wrote.

I didn't manually install anything.

On my machine, Ubuntu upgrade/install AND sudo ubuntu-drivers install BOTH flag the drivers Ubuntu installed as manually installed.

When you go to the Additional Drivers, it says you have manually installed drivers and all options are greyed out.

Why do I want another driver? I found the open driver Ubuntu chose to install was flaky and provided substandard performance compared to the proprietary driver.

And I have my commands to remove drivers, and for reference, the commands you give won't help a noob, and your steps are incomplete for earlier Ubuntu versions.

[–] Xanza@lemm.ee -1 points 1 week ago (1 children)

I didn’t manually install anything.

Like I said, you're misrepresenting what's happened here...

You said specifically that you had to remove the existing driver, and those drivers don't come pre-installed, nor do they get automatically installed. So you had to have installed them yourself for you to have to remove them to install the right driver. lol

[–] No1@aussie.zone 1 points 1 week ago* (last edited 1 week ago)

Reread my comment.

"On my machine, Ubuntu upgrade/install AND sudo ubuntu-drivers install BOTH flag the drivers Ubuntu installed as manually installed."

That's why I have to manually remove them to choose a better nvidia driver.

I can't say it any clearer