Skip to content

Build VeloxOS from Source

import { Steps } from ‘@astrojs/starlight/components’;

This guide explains how to build a fresh VeloxOS ISO. Since VeloxOS leverages the performance of CachyOS on top of a Manjaro base, your host system must be prepared accordingly.

Before building, you must add the CachyOS repositories and build tools to your system.

Follow the official CachyOS Wiki or use their helper script:

Terminal window
wget https://mirror.cachyos.org/cachyos-repo.tar.xz
tar xvf cachyos-repo.tar.xz && cd cachyos-repo
sudo ./cachyos-repo.sh

First, you need to install the official build tools provided by Manjaro. Open your terminal and run:

Terminal window
sudo pacman -S manjaro-tools-iso-git git

Follow these steps to prepare your build environment.

  1. Clone the Profiles Clone the official VeloxOS profiles repository to your local machine:
Terminal window
git clone https://github.com/VeloxOSLinux/iso-profiles.git ~/velox-profiles
  1. Configure Manjaro Tools VeloxOS requires specific build settings. Copy our optimized configuration:
Terminal window
mkdir -p ~/.config/manjaro-tools
cp ~/velox-profiles/.config/manjaro-tools.conf ~/.config/manjaro-tools/
  1. Prepare the Build Tree To build the ISO, we merge the base profile with our VeloxOS overlays:
Terminal window
# Create a working directory
mkdir -p ~/iso-build/gnome
mkdir -p ~/iso-build/custom/gnome/
# Copy the base profile
cp -r ~/velox-profiles/base/gnome/* ~/iso-build/gnome/
# Apply VeloxOS overlays & shared assets
cp -r ~/velox-profiles/gnome/* ~/iso-build/custom/gnome/
cp -r ~/velox-profiles/shared/* ~/iso-build/custom/gnome/

Once your environment is set up, you can start the automated build process. Use the buildiso command and point it to your prepared profile:

Terminal window
buildiso -p ~/iso-build/gnome -b stable

:::info[How it works] The manjaro-tools.conf you copied earlier contains the pacman configuration that tells the build-bot to use the CachyOS mirrors in addition to the Manjaro ones. :::

After the process finishes successfully, your brand-new VeloxOS ISO will be waiting for you in the output directory:

Terminal window
# Default output path
/var/cache/manjaro-tools/iso/
  • Signature is unknown trust: If the build fails due to GPG errors, ensure you have imported the CachyOS keys: sudo pacman -S cachyos-keyring cachyos-mirrorlist.
  • Missing packages: Double-check that your host’s /etc/pacman.conf actually includes the [cachyos] sections.