Archbox makes it easy to install software using Arch Linux on other Linux distributions (using Chroot environment)

Archbox Is a set of easy-to-install scripts Arch Linux In the chroot environment of other Linux distributions, and integrate it with your existing Linux installation.

The developer pointed out that this file was created to make the Arch Linux repository and AUR available on other Linux distributions:

Since I run niche distributions such as Void, Solus, etc., I have encountered problems when I can’t find the software I need in their not too large repositories, and I don’t like the way flatpak and snap work. Therefore, I decided to create an Arch Linux chroot environment for each release. Why choose Arch Linux? They have very, very good repositories, oh, let’s not say how big AUR is.

Therefore, using it, you will be able to install and use any Arch Linux package (whether from the official repository or AUR) on other Linux distributions and integrate it with your current Linux installation. All of these will not lose any performance, because it runs on the host kernel.

In addition to installing Arch Linux in the chroot environment, Archbox also provides integration/options to easily run graphical applications in the chroot environment, automatically start the systemd service at startup, run commands at startup, and add environment variables to the chroot prison. Add the applications installed in Arch Linux chroot will enter the application menu (or use Rofi to launch them) and so on.

You might also like: Groot simplifies the process of typing Chroot in any Linux distribution

This is archbox-desktop, which is a GUI created with Zenity, which is part of Archbox, which allows adding .desktop entries for applications installed in the Arch Linux chroot to the Linux main menu:

Archbox developers have included instructions on installing, configuring and using this program in the Archbox project description, so there is not much I can add. However, I have some caveats:

  • To install the chroot environment, you need to run sudo archbox --create <archlinux tarball download link>. You can go to Arch Linux and find the Arch Linux tarball download link. Download page, Scroll down to HTTP Direct Downloads Section, click Mirror, and then make sure to copy the link to .tar.gz File, not ISO, torrent, etc.
  • To run Archbox without a password (for example, if you want to integrate the application installed in the chroot environment with the host system application menu, you must use it), Archbox’s instructions mention: “If you don’t want to use Archbox, you may want to add it without a password”. In fact, these instructions are for running Archbox without a password (by default, Archbox requires a password).In addition, the group wheel Lists a list that is not used by all Linux distributions; for example, on Ubuntu, you need to use sudo The grouping is there instead of wheel
  • Completely delete Archbox: Not mentioned in the instructions, but after deleting the Arch Linux chroot file Uninstall everything in the chroot environment, Get rid of /var/archlinux folder. This is where all the chroot environment files are located. Archbox also installs 2 executable files (archbox with archbox-desktop) In /usr/local/binAnd some others /usr/local/share/archbox table of Contents.and also /etc/archbox.conf If you want to completely get rid of all the files installed by Archbox, you can delete them. You may also want to delete all the desktop files installed by Archbox from: ~/.local/share/applications/archbox

[[Edit]]The developer has updated the Archbox project page to include what I wrote in the comment above.

Having said that, go straight to Archbox GitHub project page For more information, installation instructions and various adjustments.Make sure you read Known issues Before installation.


Related Posts