How do you install the new nvidia 470 driver?
tl;dr: This comment is the answer.
I saw that nvidia-beta package on the AUR is flagged out of date for 470, as it's stuck on 465. Do I just have to wait until that package is updated on the AUR to install it? Or can I modify the PKGBUILD to install 470?
Edited 25 Jun 2021. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 25 · 82% up
- Kind
- Text
- ID
- o7gtfr
30 comments
AUR packages are handle by community. You can go on the package AUR page to either ask the maintainer to update the PKGBUILD, or clone it locally and update it yourself (there is a comment on the AUR page of nvidia-beta to show the diff used to install 470).
https://aur.archlinux.org/packages/nvidia-beta/
Use the patch on this package and on Nvidia utils. You need both (nvidia-settings is in the same PKG build)
It might need some work for the second PKG build but it still is very simple
Are you referring to the following comment:
If so, I wasn't sure how to use this to patch the PKGBUILD. I would love a quick explanation for this. I am unsure what a "diff" is, and I don't know how to interpret the code snippet for the patch either.
EDIT: I think its saying, in the PKGBUILD change
pkgver=465.31topkgver=470.42.01andsha256sums=('2d423f1299561f770b2c1195f310c0bc9a4ce7b7095327b7cf67a3efc340ea58'tosha256sums= ('7e53a3557908fb0c8e86e22200f4ee670dcec8f6ee6c4a171362d86d6c8bce20', but I am not sure what7c7and20c20are, and I also don't know if its saying do it manually or if I put that code into a.patchfile and call it with thepatch PKGBUILD -i XXX.patchcommand given.Read aur package wiki page, the PKGBUILD syntax and patch command for full explanation.
tl;dr : clone the AUR package, create a xxx.patch file with given content and apply it to AUR package with
patch PKGBUILD - I xxx.patch. If you don't want to patch (or if you get an error), edit PKGBUILD file and replace<lines with>lines. You only need to update downloaded package version and its hash.Deleted before we saved it.
I've been installing from here for years. TKG is the guy.
Just install nvidia-dkms-performance, nvidia-settings-performance, nvidia-utils-performance, lib32-nvidia-utils-performance. (search nvidia performance ...)
This is the option I chose
Deleted before we saved it.
Read
man 5 PKGBUILD.Pointing me to the manual doesn't really answer my question.
Well I used it get it running wasn't really hard. Just get the already existing PKG build for 4xx and edit it by filling the right Sha and versions number
Have you read it though? If nit no ones is going to read for you or do your work for you. No one has time for explaining to you if you do not have time to do your own research. You are not more important than orthers or others time. If you do not read documentation and ask&wait for others to explain it to you you shall not get your answer.