Files
oam/knowledge base/flatpak.md
2022-05-01 11:03:32 +02:00

32 lines
813 B
Markdown

# Flatpak
## TL;DR
```shell
# add the `flathub` remote
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# search for `vscode`
flatpak search vscode
# install `vscode`
flatpak install --user flathub com.visualstudio.code-oss
# uninstall unused packages
flatpak uninstall --unused
```
## Further readings
- [Using Flatpak] getting started guide on the official [documentation]
[documentation]: https://docs.flatpak.org/en/latest/
[using flatpak]: https://docs.flatpak.org/en/latest/using-flatpak.html
## Sources
- [How to clean up Flatpak apps to clear disk space]
[how to clean up flatpak apps to clear disk space]: https://www.debugpoint.com/2021/10/clean-up-flatpak/