[pacman-dev] [idea] Allow pacman to optionally install from a directory instead of just a .pkg.tar.xz file
Pacman currently only allows installing from .pkg.tar.xz files. Usually, this makes sense, as packages are compressed server-side. However, this can become a real problem when installing packages, especially large packages from the aur; you are wasting cycles compressing a package just to decompress it a few moments later. As an example, I have the 'unreal-engine' package installed from the aur. Unreal engine is a *huge* piece of software, and the compression actually takes *longer* than the entire building process (on my cpu, anyway, which has 4 cores + hyperthreading - xz only runs on one core). Adding this option would cut down quite a lot on the time it takes to build packages like this, with no downside (that I can see). Any thoughts?
On 19/09/17 12:09, Moses Miller wrote:
Pacman currently only allows installing from .pkg.tar.xz files. Usually, this makes sense, as packages are compressed server-side. However, this can become a real problem when installing packages, especially large packages from the aur; you are wasting cycles compressing a package just to decompress it a few moments later.
As an example, I have the 'unreal-engine' package installed from the aur. Unreal engine is a *huge* piece of software, and the compression actually takes *longer* than the entire building process (on my cpu, anyway, which has 4 cores + hyperthreading - xz only runs on one core).
Adding this option would cut down quite a lot on the time it takes to build packages like this, with no downside (that I can see).
Any thoughts?
PKGEXT=tar makepkg
On 19/09/17 12:25, Allan McRae wrote:
On 19/09/17 12:09, Moses Miller wrote:
Pacman currently only allows installing from .pkg.tar.xz files. Usually, this makes sense, as packages are compressed server-side. However, this can become a real problem when installing packages, especially large packages from the aur; you are wasting cycles compressing a package just to decompress it a few moments later.
As an example, I have the 'unreal-engine' package installed from the aur. Unreal engine is a *huge* piece of software, and the compression actually takes *longer* than the entire building process (on my cpu, anyway, which has 4 cores + hyperthreading - xz only runs on one core).
Adding this option would cut down quite a lot on the time it takes to build packages like this, with no downside (that I can see).
Any thoughts?
PKGEXT=tar makepkg
Acutally... PKGEXT=.pkg.tar
participants (2)
-
Allan McRae
-
Moses Miller