Difference between revisions of "Arch User Repository"

m
vivaldi is now in official repo - replaced with google chrome - using google-chrome as example build for all examples
(general reformatting and proofreading)
m (vivaldi is now in official repo - replaced with google chrome - using google-chrome as example build for all examples)
Line 44: Line 44:
{{UserCmd|command=pamac search -a [software package name]}}
{{UserCmd|command=pamac search -a [software package name]}}


For example, if wishing to install ''Vivaldi'' enter ''vivaldi'' as the query and a list of potential matches is shown. To build the example with '''pamac''' enter the following and press enter
For example, if wishing to install ''Google Chrome'' enter ''google-chrome'' as the query and a list of potential matches is shown. To build the example with '''pamac''' enter the following and press enter
{{UserCmd|command=pamac build vivaldi}}
{{UserCmd|command=pamac build google-chrome}}


You will be presented with the outcome of the chosen build with all dependencies and you will be asked a couple of questions.
You will be presented with the outcome of the chosen build with all dependencies and you will be asked a couple of questions.
Line 61: Line 61:
{{UserCmd|command=pamac install base-devel git}}
{{UserCmd|command=pamac install base-devel git}}
* Clone the PKGBUILD
* Clone the PKGBUILD
{{UserCmd|command=git clone https://aur.archlinux.org/foo.git}}
{{UserCmd|command=git clone https://aur.archlinux.org/google-chrome.git}}
* Change directory to cloned folder
* Change directory to cloned folder
{{UserCmd|command=cd foo}}
{{UserCmd|command=cd google-chrome}}
* To make/compile the package, run:
* To make/compile the package, run:
{{UserCmd|command=makepkg -s}}
{{UserCmd|command=makepkg -s}}
Line 70: Line 70:
you'll probably find a few new files. You're interested in the one that ends with .pkg.tar.zst  
you'll probably find a few new files. You're interested in the one that ends with .pkg.tar.zst  
* The final event is running $sudo pacman -U on that file
* The final event is running $sudo pacman -U on that file
{{UserCmd|command=sudo pacman -U foo.pkg.zst}}
{{UserCmd|command=sudo pacman -U google-chrome-ver.rel.bugfix.build-pkgrel.pkg.zst}}


And you've done it...the safest way to install from the AUR. This is essentially what most install scripts do for you.
And you've done it...the safest way to install from the AUR. This is essentially what most install scripts do for you.


''Note:'' Instead of using ''sudo pacman -U foo.pkg.zst'' can also use:
''Note:'' Instead of using ''sudo pacman -U google-chrome-ver.rel.bugfix.build-pkgrel.pkg.zst'' can also use:
{{UserCmd|command=makepkg -i}}
{{UserCmd|command=makepkg -i}}


Moderators, translator
424

edits