How to Install 0 A.D. from https://play0ad.com/ on Manjaro

0 A.D. is a free and open-source strategy game that is available on multiple platforms, including Manjaro. In this tutorial, we will show you how to install 0 A.D. on Manjaro using the terminal.

Requirements

Installation

  1. Open the terminal by pressing "Ctrl+Alt+T" on your keyboard or by searching for "Terminal" in the applications menu.

  2. Run the following command to update your system's package repository and ensure that all packages are up to date:

    sudo pacman -Syu
    
  3. Install the required dependencies using the following command:

    sudo pacman -S cmake curl gcc git jdk8-openjdk lib32-gcc-libs lib32-glibc lib32-zlib make pkgconf sdl2 sdl2_image sdl2_ttf zip
    
  4. Download the 0 A.D. source code using git by running the following command:

    git clone https://github.com/0ad/0ad.git
    
  5. Change directory into the newly created 0ad directory:

    cd 0ad
    
  6. Checkout the latest stable release tag using the following command:

git checkout -b latest-Alpha alpha24 
  1. Run the following command to configure the build:

    ./configure
    
  2. Compile the game using the make command:

    make -j$(nproc)
    
  3. Install the game by running the following command:

    sudo make install
    
  4. Start the game by running the following command:

0ad

The game should now launch and you can start playing! You can also create a shortcut to the game on your desktop or add it to your system's launcher for easy access.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!