Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRepo ¶
AddRepo securely adds an APT repo with corresponding PGP key. See: https://wiki.debian.org/DebianRepository/UseThirdParty
Example:
if err := apt.AddRepo( "docker", "https://download.docker.com/linux/debian", "https://download.docker.com/linux/debian/gpg", "1500c1f56fa9e26b9b8f42452a553675796ade0807cdce11975eb98170b3a570", ); err != nil { return err } if err := apt.Update(0 * time.Second); err != nil { return err }
func DpkgInstall ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.