Skip to content

Commit

Permalink
chore: update flatpak documentation for orchid
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Jul 29, 2024
1 parent 352f347 commit 8518950
Showing 1 changed file with 3 additions and 30 deletions.
33 changes: 3 additions & 30 deletions articles/en/install-flatpaks.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,15 @@ Authors:
- mirkobrombin
---

> This guide is for Kinetic (22.10), not Orchid. The documentation for Orchid is still being written.
Flatpak is a universal package format for Linux desktop applications. It works on most Linux distributions, Vanilla OS included. Flatpak applications get distributed as bundles, similar to native packages, but they are sandboxed and can be updated independently from the host system.

## Install Flatpak

The preferred way to install Flatpak is to toggle it in the **First Setup**
wizard. If you didn't toggle it, you can install it manually using the transactional shell:

```bash
sudo abroot exec apt install flatpak gnome-software-plugin-flatpak
```

Reboot once the installation is complete.

Alternatively, you can install Flatpak inside a managed container using `apx`:

```bash
apx install flatpak
```

In this case, you will always need to run Flatpak commands inside the `apx` container:

```bash
apx run flatpak install flathub org.gnome.gedit
```
You don't have to install it manually, as Flatpak is already installed by default in Vanilla OS.

## Configure Flathub

Flatpak needs to know where to look for applications. The default and most popular repository for installing Flatpaks is Flathub, which you can add using the following command:

```bash
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
```

**_NOTE_**: The `--user` flag, which tells Flatpak to install applications only for the current user, is needed because the root partitions in Vanilla OS are small-sized and must get updated in a transactional way only.
Flathub is the largest and most popular catalog of Flatpak applications. It is enabled by default in Vanilla OS.

## Install an application

Expand All @@ -59,7 +32,7 @@ Open GNOME Software, search for the application you want to install and click on
You can also install Flatpak applications using the command line. For example, to install Steam, run the following command:

```bash
flatpak install flathub com.valvesoftware.Steam
flatpak install --user com.valvesoftware.Steam
```

## Run an application
Expand Down

0 comments on commit 8518950

Please sign in to comment.