nvidia-gpu-switch on AUR (Arch User Repository)

Last updated: May 20,2024

1. Install "nvidia-gpu-switch" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install nvidia-gpu-switch on Arch using YAY

$ yay -S nvidia-gpu-switch

* (Optional) Uninstall nvidia-gpu-switch on Arch using YAY

$ yay -Rns nvidia-gpu-switch

2. Manually Install "nvidia-gpu-switch" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone nvidia-gpu-switch's git locally

$ git clone https://aur.archlinux.org/nvidia-gpu-switch.git ~/nvidia-gpu-switch

c. Go to ~/nvidia-gpu-switch folder and install it

$ cd ~/nvidia-gpu-switch $ makepkg -si

3. Information about the nvidia-gpu-switch package on Arch User Repository (AUR)

ID: 619954
Name: nvidia-gpu-switch
PackageBaseID: 142641
PackageBase: nvidia-gpu-switch
Version: 1.0-1
Description: Tool to switch on/off Nvidia laptop GPU for compute, without optirun.
URL: https://github.com/xdever/linux_gpu_switch
NumVotes: 1
Popularity: 0
OutOfDate:
Maintainer: xdever
Submitter: xdever
FirstSubmitted: 1560099216
LastModified: 1560099216
URLPath: /cgit/aur.git/snapshot/nvidia-gpu-switch.tar.gz