mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 21:59:08 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,21 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# apt-add-repository
|
||||
|
||||
> Manage `apt` repository definitions.
|
||||
> More information: <https://manned.org/apt-add-repository.1>.
|
||||
> This command is an alias of `add-apt-repository`.
|
||||
|
||||
- Add a new `apt` repository:
|
||||
- View documentation for the original command:
|
||||
|
||||
`apt-add-repository {{repository_spec}}`
|
||||
|
||||
- Remove an `apt` repository:
|
||||
|
||||
`apt-add-repository {{[-r|--remove]}} {{repository_spec}}`
|
||||
|
||||
- Update the package cache after adding a repository:
|
||||
|
||||
`apt-add-repository --update {{repository_spec}}`
|
||||
|
||||
- Enable source packages:
|
||||
|
||||
`apt-add-repository {{[-s|--enable-source]}} {{repository_spec}}`
|
||||
`tldr add-apt-repository`
|
||||
|
||||
Reference in New Issue
Block a user