Apx in Fedora Silverblue

Hello everyone,
I just wanted to know if anyone had success at installing the apx package manager from Vanilla OS on immutable Fedora.
Currently, it throws an error on runtime like Error: Distrobox is not found even though I specifically installed Distrobox. Users have done this for Arch, so I know it is possible.
Thank you,
Danche

You probably need to set the distrobox path in the config… /etc/apx/config.json?

https://aur.archlinux.org/cgit/aur.git/tree/config.json?h=apx-git

2 Likes

is there any copr for apx?

No, if there were I would’ve used it.
There is an apx, but the wrong one.

How to do this

  1. Clone the repo: git clone --recursive https://github.com/Vanilla-OS/apx.git
  2. Enter the directory: cd apx
  3. Build apx: make
  4. Install the binary: make install PREFIX=$HOME/.local
  5. Check if ~/.local/bin is already in PATH: echo $PATH and check if /var/home/[USERNAME]/.local/bin is in the output
    • If it is present, append PATH=$PATH:$HOME/.local/bin to your shell config file.
    • If it is not present, append PATH=$PATH:$HOME/.local/bin:$HOME/.local/share/apx/bin to your shell config file.

It should work.
Also, remember to fulfil the dependencies:

  • go
  • git
  • make

It is kind of same how toolbox works but apx is very new so i don’t know how stable it is.

It is very stable: It is little more than a user-friendly frontend to distrobox, which has never crashed on me before.