File: add-apt-repository.1

package info (click to toggle)
software-properties 0.96.20.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,376 kB
  • sloc: python: 5,116; makefile: 19; sh: 18
file content (63 lines) | stat: -rw-r--r-- 1,976 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.TH "add-apt-repository" "1"
.SH NAME
add-apt-repository \- Adds a repository into the 
/etc/apt/sources.list or /etc/apt/sources.list.d 
or removes an existing one
.SH SYNOPSIS
.B add-apt-repository \fI[OPTIONS]\fR \fIREPOSITORY\fR
.SH DESCRIPTION
.B add-apt-repository
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.

The options supported by add-apt-repository are:

.B -h, --help
Show help message and exit

.B -m, --massive-debug
Print a lot of debug information to the command line

.B -r, --remove
Remove the specified repository

.B -y, --yes
Assume yes to all queries

.B -k, --keyserver
Use a custom keyserver URL instead of the default

.B -s, --enable-source
Allow downloading of the source packages from the repository


.SH REPOSITORY STRING
\fIREPOSITORY\fR can be either a line that can be added directly to
sources.list(5), in the form ppa:<user>/<ppa-name> for adding Personal
Package Archives, or a distribution component to enable.

In the first form, \fIREPOSITORY\fR will just be appended to 
/etc/apt/sources.list.

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.

In the third form, the given distribution component will be enabled for all
sources.

.SH SEE ALSO
\fBsources.list\fR(5)

.SH COPYRIGHT
This manual page was written by Chow Loong Jin <hyperair@gmail.com> 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.

On Debian systems, the complete text of the GNU General Public License can be
found in /usr/share/common-licenses.