Skip to content

zachvlat/com.system76.CosmicStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Cosmic Store (Flatpak Build)

This guide walks you through building and running the Cosmic Store from source using Flatpak.


πŸ“¦ Prerequisites

Make sure your system is up to date:

sudo apt update && sudo apt upgrade -y

πŸ¦€ Install Rust

Install Rust using rustup:

curl https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"

πŸ”§ Install Dependencies

Install required system packages:

sudo apt install -y \
  git \
  flatpak \
  flatpak-builder \
  libflatpak-dev \
  libgtk-4-dev \
  libadwaita-1-dev \
  build-essential \
  pkg-config \
  libssl-dev \
  libxkbcommon-dev \
  just

(Optional) Install the latest version of just via Cargo:

cargo install just

πŸ“₯ Clone the Repository

git clone https://github.com/pop-os/cosmic-store
cd cosmic-store

πŸš€ Build with Flatpak

Make the build script executable:

chmod +x flatpak.sh

Run the build:

./flatpak.sh

▢️ Run the App

After building, run the app with:

flatpak run com.system76.CosmicStore

πŸ“ Notes

  • Ensure Flatpak is set up:

    flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  • If you encounter issues, try updating Rust:

    rustup update

About

Flatpak build of the latest version of Cosmic Store

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages