Skip to content

Instantly share code, notes, and snippets.

@acook
Last active October 16, 2023 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acook/cfa64c38ffc253d0b9030ab0d0c8bc0d to your computer and use it in GitHub Desktop.
Save acook/cfa64c38ffc253d0b9030ab0d0c8bc0d to your computer and use it in GitHub Desktop.
Solus Linux workarounds and tutorials. Please let me know if they break or you found a better way.

Solus Workarounds

Solus Linux looks good out of the box and has some good features but lacks the integrations and support of other distros.

Here are some workarounds. Please let me know if they break or you found a better way.

#!/usr/bin/env bash
set -e
# First install the configuration files:
sudo cp -v anbox.conf /etc/modules-load.d/
sudo cp -v 99-anbox.rules /lib/udev/rules.d/
# Then copy the module sources to /usr/src/:
sudo cp -rTv ashmem /usr/src/anbox-ashmem-1
sudo cp -rTv binder /usr/src/anbox-binder-1
# Finally build and install:
echo BUILD ASHMEM
cd /usr/src/anbox-ashmem-1
sudo make
sudo make install
sudo insmod ashmem_linux.ko
echo BUILD BINDER
cd /usr/src/anbox-binder-1
sudo make
sudo make install
sudo insmod binder_linux.ko
# Verify by loading these modules and checking the created devices:
sudo modprobe ashmem_linux
sudo modprobe binder_linux
lsmod | grep -e ashmem_linux -e binder_linux
ls -alh /dev/binder /dev/ashmem
# install anbox itself via snap
sudo snap install --devmode --beta anbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment