Files
astal/docs/getting-started/installation.md
Aylur 6f39857dc7 docs: migrate to vitepress
vitepress feels a bit more polished and clean
2024-09-03 20:32:41 +02:00

1.3 KiB

Installation

Nix

maintainer: @Aylur

Read more about it on the nix page

Arch

maintainer: @kotontrion

:::code-group

yay -S libastal-git
yay -S libastal-meta

:::

Bulding libastal from source

  1. Clone the repo
git clone https://github.com/aylur/astal.git
cd astal/core
  1. Install the following dependencies

:::code-group

sudo dnf install meson gcc valac gtk3-devel gtk-layer-shell-devel
sudo pacman -Syu meson vala gtk3 gtk-layer-shell gobject-introspection
sudo apk add meson g++ vala gtk+3.0-dev gtk-layer-shell-dev gobject-introspection-dev
sudo apt install meson valac libgtk3-dev libgtk-layer-shell-dev gobject-introspection
sudo zypper install gcc meson vala gtk3-devel gtk-layer-shell-devel gobject-introspection-devel

:::

  1. Build and install with meson
meson setup build
meson install -C build

:::info Most distros recommend manual installs in /usr/local, which is what meson defaults to. If you want to install to /usr instead which most package managers do, set the prefix option:

meson setup --prefix /usr build
meson install -C build

:::