You are not logged in.

#1 2024-06-04 10:06:49

devtechcloudllc
Member
Registered: 2024-06-04
Posts: 1

AUR Wiki Clarification Request

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

#2 2024-06-04 10:35:53

mpan
Member
Registered: 2012-08-01
Posts: 1,228
Website

Re: AUR Wiki Clarification Request

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

#3 2024-06-04 13:31:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,714
Website

Re: AUR Wiki Clarification Request

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:

wiki wrote:

...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:

wiki note wrote:

- [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)


To Be A Dev: propose idea; invite feedback; mock, ridicule, and ostracize any critical feedback; but be warm and kind to those who kiss your ring.

Offline

Board footer

Powered by FluxBB