2018-08-21 10:33:37 +01:00
|
|
|
# add-apt-repository
|
|
|
|
|
|
|
|
> Manages apt repository definitions.
|
2021-07-09 15:45:55 +01:00
|
|
|
> More information: <https://manned.org/apt-add-repository>.
|
2018-08-21 10:33:37 +01:00
|
|
|
|
|
|
|
- Add a new apt repository:
|
|
|
|
|
|
|
|
`add-apt-repository {{repository_spec}}`
|
|
|
|
|
|
|
|
- Remove an apt repository:
|
|
|
|
|
|
|
|
`add-apt-repository --remove {{repository_spec}}`
|
|
|
|
|
|
|
|
- Update the package cache after adding a repository:
|
|
|
|
|
|
|
|
`add-apt-repository --update {{repository_spec}}`
|
|
|
|
|
2021-11-06 20:37:20 +00:00
|
|
|
- Allow source packages to be downloaded from the repository:
|
2018-08-21 10:33:37 +01:00
|
|
|
|
|
|
|
`add-apt-repository --enable-source {{repository_spec}}`
|