Ubuntu 22.04 installation and configuration flatpak

Ubuntu 22.04 installation and configuration Flatpak

Install Flatpak

sudo apt install flatpak

Flatpak repository configuration

  • Official warehouse https://flathub.org/repo/flathub
  • Hand in large mirror https://mirror.sjtu.edu.cn/flathub
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
wget https://mirror.sjtu.edu.cn/flathub/flathub.gpg

sudo flatpak remote-modify --gpg-import=flathub.gpg flathub 

Flathub mirrors are smart caches for flathub.org. When you request resources in the mirror, if the file is not cached by the mirror server, we will redirect you back to the original site and cache it in the background.

If you interrupt an installation, you may have problems finding files when you redownload. You can use flatpak repair to solve related problems.

Due to redistribution authorization issues, some software in Flathub needs to be downloaded from the official server and cannot be accelerated by mirror sites. For example, NVIDIA driver, JetBrains series software, etc.

References

Submit large document https://mirrors.sjtug.sjtu.edu.cn/docs/flathub

Guess you like

Origin blog.csdn.net/qq_40829735/article/details/132954762