Is it possible to build a neutered version of pacman? A pacman lite if you will.... I need to cut down on the dependencies pacman requires. Without key signing and package signing. I would like to only have package building and package management and pull from an http respository. This is for a custom built OS that I would like to use pacman on an ARM SBC. it currently uses rpm as a package manager. I would also like to build them using makepkg. -- Hindi madali ang maging ako
pacman is open source, so of course you can change it however you want. Without knowing more about the problem you're solving it's hard to give a more specific advice. If you're want a minimalistic OS and/or package manager, have you looked at Alpine?
On 2025-05-17 02:03 AM, Edward Toroshchyn wrote:
pacman is open source, so of course you can change it however you want.
Without knowing more about the problem you're solving it's hard to give a more specific advice.
If you're want a minimalistic OS and/or package manager, have you looked at Alpine?
Actually openwrt's package manager changed from opkg to Alpine's apk [1][2][3], being openwrt meant to work on embedded/minimal systems I believe Alpine's apk most probably is pretty light. -- Javier [1] https://forum.openwrt.org/t/major-change-notice-new-package-manager/215682 [2] https://forum.openwrt.org/t/the-future-is-now-opkg-vs-apk/201164/7 [3] https://docs.alpinelinux.org/user-handbook/0.1a/Working/apk.html
On Sat, 2025-05-17 at 08:03 +0000, Edward Toroshchyn wrote:
Without knowing more about the problem you're solving it's hard to give a more specific advice.
Good point! I guess dependencies such as bash or systemd might be a concern.
If you're want a minimalistic OS and/or package manager, have you looked at Alpine?
Or if the OP wants makepkg, but the OP's Linux is based on e.g. busybox, it might be worth to accept a dependency against bash. Even for my Alpine I installed bash, quasi as my file manager ;). • rocketmouse@archlinux ~ $ /bin/ls -lh /mnt/m1.alpine/bin/bash -rwxr-xr-x 1 root root 743K May 25 2023 /mnt/m1.alpine/bin/bash 743 KiB
On 5/17/25 5:21 AM, Ralf Mardorf wrote:
On Sat, 2025-05-17 at 08:03 +0000, Edward Toroshchyn wrote:
Without knowing more about the problem you're solving it's hard to give a more specific advice.
Good point! I guess dependencies such as bash or systemd might be a concern.
If you're want a minimalistic OS and/or package manager, have you looked at Alpine?
Or if the OP wants makepkg, but the OP's Linux is based on e.g. busybox, it might be worth to accept a dependency against bash.
Even for my Alpine I installed bash, quasi as my file manager ;).
• rocketmouse@archlinux ~ $ /bin/ls -lh /mnt/m1.alpine/bin/bash -rwxr-xr-x 1 root root 743K May 25 2023 /mnt/m1.alpine/bin/bash
743 KiB
None of that is true in my case, from the pacman PKGBUILD depends=( bash coreutils curl gawk gettext glibc gnupg <-- drop this gpgme <-- drop this grep libarchive pacman-mirrorlist <-- drop this systemd ) makedepends=( asciidoc <-- drop this doxygen <-- drop this git meson ) optdepends=( 'base-devel: required to use makepkg' <-- may be an issue 'perl-locale-gettext: translation support in makepkg-template' ) All the other dependencies are OK but they will be built with less dependencies if that make sense. They have a bit less capabilities as they will not be built from there respective PKGBUILDs. -- Hindi madali ang maging ako
On Sat, May 17, 2025, at 11:45, Pocket wrote:
On 5/17/25 5:21 AM, Ralf Mardorf wrote:
On Sat, 2025-05-17 at 08:03 +0000, Edward Toroshchyn wrote:
Without knowing more about the problem you're solving it's hard to give a more specific advice.
Good point! I guess dependencies such as bash or systemd might be a concern.
If you're want a minimalistic OS and/or package manager, have you looked at Alpine?
Or if the OP wants makepkg, but the OP's Linux is based on e.g. busybox, it might be worth to accept a dependency against bash.
Even for my Alpine I installed bash, quasi as my file manager ;).
• rocketmouse@archlinux ~ $ /bin/ls -lh /mnt/m1.alpine/bin/bash -rwxr-xr-x 1 root root 743K May 25 2023 /mnt/m1.alpine/bin/bash
743 KiB
None of that is true in my case, from the pacman PKGBUILD
depends=( bash coreutils curl gawk gettext glibc gnupg <-- drop this gpgme <-- drop this grep libarchive pacman-mirrorlist <-- drop this systemd )
makedepends=( asciidoc <-- drop this doxygen <-- drop this git meson )
optdepends=( 'base-devel: required to use makepkg' <-- may be an issue 'perl-locale-gettext: translation support in makepkg-template' ) All the other dependencies are OK but they will be built with less dependencies if that make sense. They have a bit less capabilities as they will not be built from there respective PKGBUILDs.
-- Hindi madali ang maging ako
https://gitlab.archlinux.org/pacman/pacman/-/blob/master/meson_options.txt?r...
On 5/17/25 4:03 AM, Edward Toroshchyn wrote:
pacman is open source, so of course you can change it however you want.
Without knowing more about the problem you're solving it's hard to give a more specific advice.
If you're want a minimalistic OS and/or package manager, have you looked at Alpine?
I want to roll my own as I have for many years (since rpi3). Looking to replace rpm with pacman, the issue is with all the dependencies that are required by pacman. -- Hindi madali ang maging ako
participants (5)
-
Edward Toroshchyn
-
Javier
-
Mr.Elendig
-
Pocket
-
Ralf Mardorf