How to enable Flatpak in Ubuntu 23.04 and how to enable AppImage in Ubuntu 23.04.
Enable Flatpak in Ubuntu
To enable Flatpak support, first press Ctrl+Alt+T on keyboard to open terminal, and run command:
sudo apt install flatpak
NOTE: The command “sudo apt install flatpak” will install Flatpak on Ubuntu 18.10 (Cosmic Cuttlefish) or later. For older Ubuntu versions, you can intall flatpak via the official Flatpak PPA. To install Flatpak ob older Ubuntu versions, run the following commands in terminal:
sudo add-apt-repository ppa:flatpak/stable sudo apt update sudo apt install flatpak
After that, install the Software Flatpak plugin and add the Flathub repository. To do so, run the command:
sudo apt install gnome-software-plugin-flatpak flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Don’t forget to restart the system.
Enable AppImage in Ubuntu
To enable AppImage, simply run:
sudo apt install libfuse2
To run an AppImage, simply execute the following command to make it executable and run the program:
chmod a+x Subsurface*.AppImage ./Subsurface*.AppImage
Note that after enabling Flatpak or Appimage support on your Linux Ubuntu system, you must update/upgarde the applications via running the following commands:
sudo apt-get update sudo apt-get upgrade