DEV Community

Discussion on: Installing AUR packages

Collapse
 
timbryandev profile image
Tim Bryan • Edited

Thanks for this!

I've been distro hopping and found myself back on Manjaro and couldn't for the life of me remember how to do this! My brain was stuck on dpkg for some reason 😑

Could you elaborate on the -si argument(s) on what it does and why it's needed? 🙂

Collapse
 
nabbisen profile image
nabbisen

Hi Tim. Thank you for your commenting 🙂 Sorry for my late reply.

Haha. My case is similiar to yours: Manjaro -> Debian ->Artix (Arch-based). I have recently got familiar with pacman commands after all.

Could you elaborate on the -si argument(s) on what it does and why it's needed? 🙂

  • -s is shorthand for --syncdeps that means "To build the package and install needed dependencies".
  • -i is for --install.

-si means to build the package and then install it.
When what you want is just to build the package and not to install it, makepkg -s is useful.
When you have finished building the package, all you have to do is executing makepkg -i to install it.

The documentations might help you: wiki.archlinux.org/index.php/Makepkg .

Collapse
 
timbryandev profile image
Tim Bryan

Hi Heddi

Thank you so much for taking the time to craft a really insightful and friendly response! :)

This makes tones more sense to me know - for some reason I was looking up "-si" as if it was one argument and not two arguments together 🙃

Thread Thread
 
nabbisen profile image
nabbisen

Hi, Tim. You're welcome.
I'm happy if it helped you in some way 😊