LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

flatpak-remote-add

Add a Flatpak remote repository

TLDR

Add a remote from a repository URL
$ flatpak remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo
copy
Add it only when the name is new
$ flatpak remote-add --if-not-exists flathub [location]
copy
Add a remote for the current user
$ flatpak remote-add --user [name] [location]
copy
Add a remote without GPG checks
$ flatpak remote-add --user --no-gpg-verify [name] [location]
copy

SYNOPSIS

flatpak remote-add [OPTION...] NAME LOCATION

DESCRIPTION

flatpak remote-add adds a remote repository to the Flatpak configuration. NAME is the local name. LOCATION is a repository URL, a filesystem path, or a `.flatpakrepo` file that describes a repository.The system-wide installation is changed unless --user or --installation is set. A `.flatpakrepo` file can carry the GPG key and the repository URL, so a bare repository URL often needs --gpg-import or --no-gpg-verify as well.

PARAMETERS

--from

Treat LOCATION as a `.flatpakrepo` file. This is the default when the location ends in that extension.
-u, --user
Change the per-user installation.
--system
Change the default system-wide installation.
--installation name
Change the named system-wide installation from `/etc/flatpak/installations.d/`.
--if-not-exists
Do nothing when a remote with this name is already configured.
--no-gpg-verify
Disable GPG verification for the new remote.
--gpg-import file
Import trusted GPG keys from a keyring file. `-` reads the keyring from standard input.
--prio priority
Set the remote priority. The default is 1. A higher number is preferred.
--disable
Add the remote in the disabled state.
--no-enumerate
Keep the remote out of application listings.
--no-use-for-deps
Do not use this remote when resolving runtime dependencies.
--filter path
Apply a local allow/deny filter file to the refs this remote exposes.
--subset subset
Limit refs to the named subset.
-v, --verbose
Print debug information.

CAVEATS

--no-gpg-verify accepts whatever the remote publishes. --filter is local: it hides refs from this client and does not change the server.

SEE ALSO

RESOURCES

Copied to clipboard
Kai