You are not logged in.
The AUR Wiki instructions for installing packages https://wiki.archlinux.org/title/Arch_User_Repository says to use pacman -U package_name.pkg.tar.zst after building with makepkg -si.
However, doesn't the -i flag in makepkg -si already handle the installation? Shouldn't the package be installed automatically after the build succeeds?
Am I misunderstanding something, or is this section of the Wiki correct?
Offline
Hello. The wiki article doesn’t require the use of option `-i` while invoking `makepkg`.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Which section? Pacman -U is only listed twice, the first is after "makepkg" with no flags noted at all. The only mention of the -i flag is here:
...run makepkg as a normal user. Some helpful flags:
...
-i/--install installs the package if it is built successfully. This lets you skip the next step that is usually done manually.
The next step which it notes you can skip is `pacman -U ...`
Additionally, there is the note there:
- [The above example is only a brief summary of the build process. It is highly recommended to read the makepkg and Arch build system articles for more details.
It seems pretty clear to me: you can optionally use the -i flag when running pacman and it quite explicitly states that if you do you do not need to run "the next step" of `pacman -U ...`.
Last edited by Trilby (2024-06-04 13:32:34)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline