3 ms·
Is it possible to automate tar.gz files to compile and install on Unix? Or does there have to be a manual set of make files like BSD ports.
by pipeline_peak 4y ago
Is it possible to automate tar.gz files to compile and install on Unix? Or does there have to be a manual set of make files like BSD ports.
- sreevisakh 4y agoCan you elaborate a bit on what you mean? It's a bit difficult to install build artifacts directly into the system. There are problems like tracking version compatibility, installing resource files and tracking artifacts for removal etc. This is what packages and package managers do. If you wish to take that route, then Arch PKGBUILDs and Gentoo Ebuilds are reasonably easy. Ebuilds have a lot of similarity with ports. Debian's checkinstall is also somewhat successful in it. Nix and Guix also allow you to do this - but the approach is slightly different from the rest. However, all distributions need some metadata and procedure from the user/packager to achieve it.