1. 程式人生 > >轉載:Ubuntu Tweak--我用來新增第三方軟體源,順便講講apt-key

轉載:Ubuntu Tweak--我用來新增第三方軟體源,順便講講apt-key

Usage: apt-key [command] [arguments]

Manage apt's list of trusted keys

apt-key add <file>          - add the key contained in <file> ('-' for stdin)
apt-key del <keyid>         - remove the key <keyid>
apt-key export <keyid>      - output the key <keyid>
apt-key exportall           - output all trusted keys
apt-key update              - update keys using the keyring package
apt-key net-update          - update keys using the network
apt-key list                - list keys
apt-key finger              - list fingerprints
apt-key adv                 - pass advanced options to gpg (download key) 

(方法1)apt-key add <file>,是從file來新增key;