2015-01-14 05:36:07 +00:00
|
|
|
<?xml version='1.0'?> <!--*-nxml-*-->
|
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
|
|
|
2016-05-09 09:07:53 +00:00
|
|
|
<refentry id="flatpak-remote-add">
|
2015-01-14 05:36:07 +00:00
|
|
|
|
|
|
|
<refentryinfo>
|
2016-05-09 09:07:53 +00:00
|
|
|
<title>flatpak remote-add</title>
|
|
|
|
<productname>flatpak</productname>
|
2015-01-14 05:36:07 +00:00
|
|
|
|
|
|
|
<authorgroup>
|
|
|
|
<author>
|
|
|
|
<contrib>Developer</contrib>
|
|
|
|
<firstname>Alexander</firstname>
|
|
|
|
<surname>Larsson</surname>
|
|
|
|
<email>alexl@redhat.com</email>
|
|
|
|
</author>
|
|
|
|
</authorgroup>
|
|
|
|
</refentryinfo>
|
|
|
|
|
|
|
|
<refmeta>
|
2016-05-09 09:07:53 +00:00
|
|
|
<refentrytitle>flatpak remote-add</refentrytitle>
|
2015-01-14 05:36:07 +00:00
|
|
|
<manvolnum>1</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
2016-05-09 09:07:53 +00:00
|
|
|
<refname>flatpak-remote-add</refname>
|
2015-01-14 05:36:07 +00:00
|
|
|
<refpurpose>Add a remote repository</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
2016-12-13 10:18:16 +00:00
|
|
|
<para>Add from a .flatpakrepo file:</para>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>flatpak remote-add</command>
|
|
|
|
<arg choice="opt" rep="repeat">OPTION</arg>
|
|
|
|
<arg choice="opt">--from</arg>
|
|
|
|
<arg choice="plain">NAME</arg>
|
|
|
|
<arg choice="plain">LOCATION</arg>
|
|
|
|
</cmdsynopsis>
|
|
|
|
<para>Manually specify repo uri and options:</para>
|
2015-01-14 05:36:07 +00:00
|
|
|
<cmdsynopsis>
|
2016-05-09 09:07:53 +00:00
|
|
|
<command>flatpak remote-add</command>
|
2015-01-14 05:36:07 +00:00
|
|
|
<arg choice="opt" rep="repeat">OPTION</arg>
|
|
|
|
<arg choice="plain">NAME</arg>
|
2015-09-23 12:52:56 +00:00
|
|
|
<arg choice="plain">LOCATION</arg>
|
2015-01-14 05:36:07 +00:00
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
|
|
|
<para>
|
2016-12-13 10:18:16 +00:00
|
|
|
Adds a remote repository to the flatpak repository
|
|
|
|
configuration. <arg>NAME</arg> is the name for the new
|
|
|
|
remote, and <arg>LOCATION</arg> is a url or pathname. The
|
|
|
|
<arg>LOCATION</arg> is either a flatpak repository, or a
|
|
|
|
.flatpakrepo file which describes a repository. In the
|
|
|
|
former case you may also have to specify extra options,
|
|
|
|
such as the gpg key for the repo.
|
2015-01-14 05:36:07 +00:00
|
|
|
</para>
|
2015-01-23 13:04:32 +00:00
|
|
|
<para>
|
2016-12-19 14:04:02 +00:00
|
|
|
Unless overridden with the --user or --installation options, this command
|
|
|
|
changes the default system-wide installation.
|
2015-01-23 13:04:32 +00:00
|
|
|
</para>
|
2015-01-14 05:36:07 +00:00
|
|
|
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Options</title>
|
|
|
|
|
|
|
|
<para>The following options are understood:</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><option>-h</option></term>
|
|
|
|
<term><option>--help</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Show help options and exit.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2016-09-14 14:43:38 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--from</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
2016-12-13 10:18:16 +00:00
|
|
|
Assume the URI is a .flatpakrepo file rather than the repository itself. This is enabled
|
|
|
|
by default if the extension is .flatpakrepo, so generally you don't need this option.
|
2016-09-14 14:43:38 +00:00
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-01-14 05:36:07 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--user</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
2015-01-23 13:04:32 +00:00
|
|
|
Modify the per-user configuration.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><option>--system</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
2016-12-19 14:04:02 +00:00
|
|
|
Modify the default system-wide configuration.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><option>--installation=NAME</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Modify a system-wide installation specified by <arg choice="plain">NAME</arg>
|
|
|
|
among those defined in <filename>/etc/flatpak/installations.d</filename>.
|
|
|
|
Using <arg choice="plain">--installation=default</arg> is equivalent to using
|
|
|
|
<arg choice="plain">--system</arg>.
|
2015-01-14 05:36:07 +00:00
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><option>--no-gpg-verify</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
2015-01-14 23:29:57 +00:00
|
|
|
Disable GPG verification for the added remote.
|
2015-01-14 05:36:07 +00:00
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-12-04 10:33:30 +00:00
|
|
|
<varlistentry>
|
2015-12-21 09:25:41 +00:00
|
|
|
<term><option>--prio=PRIO</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Set the priority for the remote. Default is 1, higher is more prioritized. This is
|
|
|
|
mainly used for graphical installation tools.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2015-12-04 10:33:30 +00:00
|
|
|
<term><option>--no-enumerate</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Mark the remote as not enumerated. This means the remote will
|
|
|
|
not be used to list applications, for instance in graphical
|
|
|
|
installation tools.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2016-10-19 09:22:45 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--no-use-for-deps</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Mark the remote as not to be used for automatic runtime
|
|
|
|
dependency resolution.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-01-14 05:36:07 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--if-not-exists</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Do nothing if the provided remote already exists.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2016-04-27 11:34:14 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--disable</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Disable the added remote.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-02-06 10:11:10 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--title=TITLE</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
A title for the remote, e.g. for display in a UI.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2016-10-06 10:46:07 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--default-branch=BRANCH</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
A default branch to for the remote, mainly for use in a UI.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-09-17 13:41:17 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--gpg-import=FILE</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Import gpg keys from the specified keyring file as
|
|
|
|
trusted for the new remote. If the file is - the
|
2016-05-11 13:39:11 +00:00
|
|
|
keyring is read from standard input.
|
2015-09-17 13:41:17 +00:00
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-01-14 05:36:07 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>-v</option></term>
|
|
|
|
<term><option>--verbose</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Print debug information during command processing.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2016-09-27 09:37:11 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--ostree-verbose</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Print OSTree debug information during command processing.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-01-14 05:36:07 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--version</option></term>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
Print version information and exit.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Examples</title>
|
|
|
|
|
2016-12-13 10:18:16 +00:00
|
|
|
<para>
|
|
|
|
<command>$ flatpak remote-add gnome https://sdk.gnome.org/gnome.flatpakrepo</command>
|
|
|
|
</para>
|
2015-01-14 05:36:07 +00:00
|
|
|
<para>
|
2016-05-09 09:07:53 +00:00
|
|
|
<command>$ flatpak --user remote-add --no-gpg-verify test-repo https://people.gnome.org/~alexl/gnome-sdk/repo/</command>
|
2015-01-14 05:36:07 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See also</title>
|
|
|
|
|
|
|
|
<para>
|
2016-05-09 09:07:53 +00:00
|
|
|
<citerefentry><refentrytitle>flatpak</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
|
|
|
<citerefentry><refentrytitle>flatpak-modify-remote</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
|
|
|
<citerefentry><refentrytitle>flatpak-delete-remote</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
2016-09-14 14:43:38 +00:00
|
|
|
<citerefentry><refentrytitle>flatpak-list-remotes</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
|
|
|
<citerefentry><refentrytitle>flatpak-flatpakrepo</refentrytitle><manvolnum>1</manvolnum></citerefentry>
|
2015-01-14 05:36:07 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
</refentry>
|