Skip to content

Install Recar

Recar can be installed via several methods depending on your Linux distribution and preference.

Debian, Ubuntu and their derivatives (eg; Linux Mint)
Section titled “Debian, Ubuntu and their derivatives (eg; Linux Mint)”

Debian based distribution can install Recar from the provided .deb file.

TODO, ADD RPM TARBALL AND STUFF TOO LAZY RN, OH AND ALSO LINKS TO THE DOWNLOADS RIGHT

If you’re using the Nix package manager (not NixOS):

bash nix profile install github:hamhimdev/recar/main

A flake is provided that you can use to install the program on NixOS systems. Optionally, you can also add the system package directly in your configuration.nix. To do so you will need to define the Recar input in the file parameters.

flake.nix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
recar.url = "github:hamhimdev/recar/main";
# If you prefer, you can replace this with Codeberg by using git+https://codeberg.org/Loxodrome/recar/main, however if you don't have proper ipv6 you might have trouble using this.
};
outputs = { self, nixpkgs, recar }: {
nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
{
environment.systemPackages = [
recar.packages.x86_64-linux.default
];
}
];
};
};
}

To build Recar from source, you’ll need nodejs, pnpm, and git.

  1. Clone the repository

    The --recursive flag is very important as roverpp (Recar Overlay), dpprpc (Recar’s RPC Server), Equicord and Vencord are included as Git submodules.

    Terminal window
    git clone --recursive https://codeberg.org/Loxodrome/recar.git
    cd recar
  2. Install dependencies

    Terminal window
    pnpm install
  3. Build client mods

    Terminal window
    pnpm build:mods
  4. If installing optional components, they require other native dependencies

    apt: Debian and its derivates (Mint, Ubuntu, Devuan)

    Terminal window
    # Update package lists
    sudo apt update
    # Mandatory
    sudo apt install build-essential
    # roverpp dependencies
    sudo apt install vulkan-tools libvulkan-dev vulkan-validationlayers-dev glslang-tools python3
    # dpprpc dependencies
    sudo apt install libwebsockets-dev rapidjson-dev

    dnf: Red Hat and its derivates (Fedora, CentOS, RHEL)

    Terminal window
    # Mandatory
    sudo dnf groupinstall "Development Tools"
    # roverpp dependencies
    sudo dnf install vulkan-loader-devel vulkan-headers glslang python3
    # dpprpc optional dependencies
    sudo dnf install libwebsockets-devel rapidjson-devel

    xbps: Void Linux

    Terminal window
    # Mandatory
    sudo xbps-install -S base-devel
    # roverpp dependencies
    sudo xbps-install -S vulkan-loader-devel vulkan-headers glslang python3
    # dpprpc dependencies
    sudo xbps-install -S libwebsockets-devel rapidjson
  5. Build dpprpc and dpprpc

    Terminal window
    pnpm build:projects
  6. Launch or build Recar

    Terminal window
    # Starts the Electron runtime directly
    pnpm start
    Terminal window
    # Builds .deb, .rpm, .AppImage and a .tar.gz tarball
    pnpm build