Each line is a separate command to input after it’s done.
sudo pacman git clone cd
Are all different commands. There are some lines where he is using &&, which tells the terminal to do the next command in that line if the initial one was successful.
cd nvidia-340xx-utils && makepkg -si && cd ..
The line above if used all together means: cd nvidia-340xx-utils is successful, then do makepkg -si, if that’s successful do cd ..
Please read about the commands before using them. Do not blindly use commands.
Of the two alternatives that were given in the forum, the AUR one in my case does not work (it gives an error in line 32 of the PKGBUILD file when you want to install the DKMS kernel version and ends up canceling everything), instead using the terminal everything is installed correctly (but in pamac the AUR support must be disabled, because if it is enabled you will want to update the DKMS kernel and throw the error on line 32 of the PKGBUILD file).
For my part (I have kernel 5.4 and 5.10) using the terminal I did what they recommended here:
sudo pacman -S git base-devel
(accept everything you wanted to download)
For now both kernel 5.4 and 5.10 work perfectly and the system has not crashed at any time, it remains to be seen what happens when there is a kernel update
I calculate that the “*” must be to include all the kernels (that you have installed) in the driver installation process. In my case, executing all these commands worked perfectly and so far I have no problem.
Please refer to the marked solution of this thread to see how you can install it. Note that you need to modify the linux419 part to match your kernel version in the last URL. And you also need to run makepkg -si after you ran cd nvidia-340xx.
You aren’t suppoesd to git clone that link! You were supposed to click on it, download the zst file in the link, and manually install it with pamac or pacman.
Hello I have removed the lines with sign - and added the ones with sign +, but I get an error. Is that what you have to do, or leave the lines as they appear in the image with the - and + signs? Or you could put the whole pkgbuild… Greetings