docs: readme: fix apt packages

This commit is contained in:
Brad Lohmeyer
2025-12-05 08:56:10 -07:00
committed by Jeremy Soller
parent 87391a426f
commit ce6bcdb54d
+29 -12
View File
@@ -176,11 +176,15 @@ For further information, you may check the [Gentoo Wiki](https://wiki.gentoo.org
## Setup on distributions without packaging of COSMIC components ## Setup on distributions without packaging of COSMIC components
The COSMIC desktop environment requires a few dependencies: The COSMIC desktop environment requires a few dependencies. The rustc and just packages of your distro may be too old, so we recommend installing rustc and cargo with rustup, and installing just with cargo.
(This list does not try to be exhaustive, but rather tries to provide a decent starting point. For detailed instructions, check out the individual projects): (This list does not try to be exhaustive, but rather tries to provide a decent starting point. For detailed instructions, check out the individual projects):
- [just](https://github.com/casey/just) - [just](https://github.com/casey/just)
- rustc - rustc
- cargo
- c compiler (cc)
- make
- git
- libwayland - libwayland
- mesa (or third-party libEGL/libGL implementations, though interfacing with mesa's libglvnd is generally recommended). - mesa (or third-party libEGL/libGL implementations, though interfacing with mesa's libglvnd is generally recommended).
- libseat - libseat
@@ -188,16 +192,17 @@ The COSMIC desktop environment requires a few dependencies:
- libinput - libinput
- udev - udev
- dbus - dbus
- libdisplay-info-dev
- libgstreamer1.0-dev
- libgstreamer-plugins-base1.0-dev
optionally (though the build-system might currently require these libraries): optionally (though the build-system might currently require these libraries):
- libsystem - libsystem
- libpulse - libpulse
- pop-launcher
- libexpat1 - libexpat1
- libfontconfig - libfontconfig
- libfreetype - libfreetype
- lld - lld
- cargo
- libgbm-dev - libgbm-dev
- libclang-dev - libclang-dev
- libpipewire-0.3-dev - libpipewire-0.3-dev
@@ -207,11 +212,15 @@ Note: `libfontconfig`, `libfreetype`, and `lld` are packages specific to Linux d
The required ones can be installed with: The required ones can be installed with:
``` ```
sudo apt install -y \ sudo apt install -y \
build-essential \
dbus \ dbus \
just \ git \
libdbus-1-dev \ libdbus-1-dev \
libdisplay-info-dev \
libflatpak-dev \ libflatpak-dev \
libglvnd-dev \ libglvnd-dev \
libgstreamer-plugins-base1.0-dev \
libgstreamer1.0-dev \
libinput-dev \ libinput-dev \
libpam0g-dev \ libpam0g-dev \
libpixman-1-dev \ libpixman-1-dev \
@@ -219,14 +228,16 @@ sudo apt install -y \
libssl-dev \ libssl-dev \
libwayland-dev \ libwayland-dev \
libxkbcommon-dev \ libxkbcommon-dev \
rustc \ rustup \
udev udev
rustup toolchain install stable
cargo install just
``` ```
and the optional ones with: and the optional ones with:
``` ```
sudo apt install -y \ sudo apt install -y \
cargo \
libclang-dev \ libclang-dev \
libexpat1-dev \ libexpat1-dev \
libfontconfig-dev \ libfontconfig-dev \
@@ -235,24 +246,27 @@ sudo apt install -y \
libpipewire-0.3-dev \ libpipewire-0.3-dev \
libpulse-dev \ libpulse-dev \
libsystemd-dev \ libsystemd-dev \
mold \ lld \
pop-launcher mold
``` ```
They can be installed all at once with: They can be installed all at once with:
``` ```
sudo apt install -y \ sudo apt install -y \
cargo \ build-essential \
dbus \ dbus \
just \ git \
libclang-dev \ libclang-dev \
libdbus-1-dev \ libdbus-1-dev \
libdisplay-info-dev \
libexpat1-dev \ libexpat1-dev \
libflatpak-dev \ libflatpak-dev \
libfontconfig-dev \ libfontconfig-dev \
libfreetype-dev \ libfreetype-dev \
libgbm-dev \ libgbm-dev \
libglvnd-dev \ libglvnd-dev \
libgstreamer-plugins-base1.0-dev \
libgstreamer1.0-dev \
libinput-dev \ libinput-dev \
libpam0g-dev \ libpam0g-dev \
libpipewire-0.3-dev \ libpipewire-0.3-dev \
@@ -263,10 +277,13 @@ sudo apt install -y \
libsystemd-dev \ libsystemd-dev \
libwayland-dev \ libwayland-dev \
libxkbcommon-dev \ libxkbcommon-dev \
lld \
mold \ mold \
pop-launcher \ rustup \
rustc \
udev udev
rustup toolchain install stable
cargo install just
``` ```
### Testing ### Testing