mirror of
https://github.com/charmbracelet/glow
synced 2024-12-13 13:42:34 +00:00
docs: apt-key deprecation
Use the recommended keyrings path /etc/apt/keyrings Per: https://manpages.debian.org/unstable/apt/apt-key.8.en.html#DEPRECATION
This commit is contained in:
parent
1237ee6bf0
commit
580642af8b
1 changed files with 4 additions and 3 deletions
|
@ -61,11 +61,12 @@ choco install glow
|
|||
pkg install glow
|
||||
|
||||
# Debian/Ubuntu
|
||||
echo "deb https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
|
||||
curl https://repo.charm.sh/apt/gpg.key | sudo apt-key add -
|
||||
sudo mkdir -p /etc/apt/keyrings
|
||||
curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg
|
||||
echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
|
||||
sudo apt update && sudo apt install glow
|
||||
|
||||
# Fedora
|
||||
# Fedora/RHEL
|
||||
echo '[charm]
|
||||
name=Charm
|
||||
baseurl=https://repo.charm.sh/yum/
|
||||
|
|
Loading…
Reference in a new issue