💾 Archived View for sbg.one › gemlog › 2019 › 09-14-makepkg-Arch-Linux.gmi captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

makepkg Arch Linux

September 14, 2019

Just a quick way to complie and build a package which you've either built yourself or downloaded from somewhere like Github or Gitlab.

Once you've cloned the git repository change to the directory it created and run the following command:

   makepkg --syncdeps

This will build the PKGBUILD files you've downloaded and the option –syncdeps will check for and install any required dependencies for the package that you may not already have installed.

When the command completes run the following command:

   makepkg --install --clean

What this does is install the package you compiled in the previous step and then the option –clean will clean up leftover files and folders. It will prevent obsolete and remnant files from carrying over to any new builds.

To shorten the commands down to one line and accomplish it all at once, run it this way:

   makepkg -sic

More information can be learned over on the Arch Wiki.

https://wiki.archlinux.org/index.php/Makepkg#Improving_compile_times

Home

SandboxGeneral