115 lines
3.3 KiB
HTML
115 lines
3.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of add-apt-repository</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>add-apt-repository</H1>
|
|
Section: User Commands (1)<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
add-apt-repository - Adds a repository into the
|
|
/etc/apt/sources.list or /etc/apt/sources.list.d
|
|
or removes an existing one
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>add-apt-repository </B><I>[OPTIONS]</I> <I>REPOSITORY</I>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>add-apt-repository</B>
|
|
|
|
is a script which adds an external APT repository to either
|
|
/etc/apt/sources.list or a file in /etc/apt/sources.list.d/
|
|
or removes an already existing repository.
|
|
<P>
|
|
The options supported by add-apt-repository are:
|
|
<P>
|
|
<B>-h, --help</B>
|
|
|
|
Show help message and exit
|
|
<P>
|
|
<B>-m, --massive-debug</B>
|
|
|
|
Print a lot of debug information to the command line
|
|
<P>
|
|
<B>-r, --remove</B>
|
|
|
|
Remove the specified repository
|
|
<P>
|
|
<B>-y, --yes</B>
|
|
|
|
Assume yes to all queries
|
|
<P>
|
|
<B>-u, --update</B>
|
|
|
|
After adding the repository, update the package cache with packages from this repository (avoids need to apt-get update)
|
|
<P>
|
|
<B>-k, --keyserver</B>
|
|
|
|
Use a custom keyserver URL instead of the default
|
|
<P>
|
|
<B>-s, --enable-source</B>
|
|
|
|
Allow downloading of the source packages from the repository
|
|
<P>
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>REPOSITORY STRING</H2>
|
|
|
|
<I>REPOSITORY</I> can be either a line that can be added directly to
|
|
<A HREF="/cgi-bin/man/man2html?5+sources.list">sources.list</A>(5), in the form ppa:<user>/<ppa-name> for adding Personal
|
|
Package Archives, or a distribution component to enable.
|
|
<P>
|
|
In the first form, <I>REPOSITORY</I> will just be appended to
|
|
/etc/apt/sources.list.
|
|
<P>
|
|
In the second form, ppa:<user>/<ppa-name> will be expanded to the full deb line
|
|
of the PPA and added into a new file in the /etc/apt/sources.list.d/
|
|
directory.
|
|
The GPG public key of the newly added PPA will also be downloaded and
|
|
added to apt's keyring.
|
|
<P>
|
|
In the third form, the given distribution component will be enabled for all
|
|
sources.
|
|
<P>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+sources.list">sources.list</A></B>(5)
|
|
<B><A HREF="/cgi-bin/man/man2html?8+apt-get">apt-get</A></B>(8)
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
This manual page was written by Chow Loong Jin <<A HREF="mailto:hyperair@gmail.com">hyperair@gmail.com</A>> for the
|
|
Debian system (but may be used by others). Permission is granted to copy,
|
|
distribute and/or modify this document under the terms of the GNU General Public
|
|
License, Version 2 or any later version published by the Free Software
|
|
Foundation.
|
|
<P>
|
|
On Debian systems, the complete text of the GNU General Public License can be
|
|
found in /usr/share/common-licenses.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="4"><A HREF="#lbAE">REPOSITORY STRING</A><DD>
|
|
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="6"><A HREF="#lbAG">COPYRIGHT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:06 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|