lwc:flatpak

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lwc:flatpak [2025/12/17 18:14] – created John Harrisonlwc:flatpak [2026/02/13 12:23] (current) John Harrison
Line 1: Line 1:
 ===== Setup ===== ===== Setup =====
-  ''sudo apt update && sudo apt install flatpak flatpak-builder'' +<code> 
-  * ''flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo''+  * sudo apt update && sudo apt install flatpak flatpak-builder 
 +  * flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo 
 +</code>
   * get list of runtime versions: ''flatpak remote-ls --user flathub --runtime | grep org.freedesktop.Sdk''   * get list of runtime versions: ''flatpak remote-ls --user flathub --runtime | grep org.freedesktop.Sdk''
     * ''--user'' says "as my user" as there could also be an install in system that conflicts     * ''--user'' says "as my user" as there could also be an install in system that conflicts
Line 30: Line 32:
       - type: dir       - type: dir
         path: .  # This assumes you run the builder from the vrui source root         path: .  # This assumes you run the builder from the vrui source root
 +</code>
 +
 +==== Common Commands ====
 +<code>
 +flatpak list              # List installed apps
 +flatpak search <name>     # Search Flathub
 +flatpak install <app>     # Install app
 +flatpak run <app>         # Run app (usually don't need this, desktop launchers work)
 +flatpak update            # Update everything
 +flatpak uninstall <app>   # Remove app
 +flatpak override          # Change permissions. Example: allow musescore to access /tmp: flatpak override --user org.musescore.MuseScore --filesystem=/tmp
 +flatpak info <app>        # Show details about installed app
 +flatpak remote-ls flathub # List everything available on Flathub
 +flatpak repair            # Fix broken installations
 </code> </code>
  
  • lwc/flatpak.1766016850.txt.gz
  • Last modified: 2025/12/17 18:14
  • by John Harrison