mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* batch1 * batch2 * batch3 * batch4 * Update matchpathcon.md * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
25 lines
666 B
Markdown
25 lines
666 B
Markdown
# apt-key
|
|
|
|
> Key management utility for the APT Package Manager on Debian and Ubuntu.
|
|
> Note: `apt-key` is now deprecated (except for the use of `apt-key del` in maintainer scripts).
|
|
> More information: <https://manned.org/apt-key.8>.
|
|
|
|
- List trusted keys:
|
|
|
|
`apt-key list`
|
|
|
|
- Add a key to the trusted keystore:
|
|
|
|
`apt-key add {{public_key_file.asc}}`
|
|
|
|
- Delete a key from the trusted keystore:
|
|
|
|
`apt-key del {{key_id}}`
|
|
|
|
- Add a remote key to the trusted keystore:
|
|
|
|
`wget {{[-qO|--quiet --output-document]}} - {{https://host.tld/filename.key}} | apt-key add -`
|
|
|
|
- Add a key from keyserver with only key ID:
|
|
|
|
`apt-key adv --keyserver {{pgp.mit.edu}} --recv {{KEYID}}`
|