Sample Header Ad - 728x90

What is the difference between make and makepkg?

2 votes
1 answer
5779 views
From Arch Wiki : > Packages in Arch Linux are built using the
utility. When makepkg is run, it searches for a
file in the current directory and follows the instructions therein to either compile or otherwise acquire the files to build a package archive (pkgname.pkg.tar.xz). The resulting package contains binary files and installation instructions, readily installable with pacman.
is a GNU utility that is used to build and install packages from source and to do so it searches for a makefile in the appropriate directory which feeds in the requiured inputs to
. So
is used to make pacman installable binaries and optionally
-si
can resolve dependencies(mainly used for AUR packages). Is the difference just in this dependency resolution and pacman specific stuff? It is just automation of stuff which could be manually done by
but on every distro. Am I correct? Sorry if this is a dumb question.
Asked by anon (35 rep)
Aug 23, 2020, 04:23 PM
Last activity: Aug 23, 2020, 08:02 PM