Documentation
¶
Index ¶
- type Lister
- type Pkg
- type Pkgs
- func List() (Pkgs, error)
- func ListDeb() (Pkgs, error)
- func ListFreeBSDPkgInfo() (Pkgs, error)
- func ListFreeBSDPkgQuery() (Pkgs, error)
- func ListIPS() (Pkgs, error)
- func ListLPP() (Pkgs, error)
- func ListPkginfo() (Pkgs, error)
- func ListPkgutil() (Pkgs, error)
- func ListRpm() (Pkgs, error)
- func ListSnap() (Pkgs, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pkgs ¶
type Pkgs []Pkg
func ListFreeBSDPkgInfo ¶
ListFreeBSDPkgInfo returns the list of installed pkg_info packages (FreeBSD).
func ListFreeBSDPkgQuery ¶
ListFreeBSDPkgQuery returns the list of installed packages (FreeBSD).
func ListIPS ¶
ListIPS returns the list of installed ips packages (solaris). Example output:
x11/library/libsm 1.2.2-11.4.0.0.1.14.0 i--
func ListPkginfo ¶
ListPkginfo returns the list of installed pkginfo packages (solaris). Example output:
PKGINST: SUNWzoneu
NAME: Solaris Zones (Usr)
CATEGORY: system
ARCH: i386
VERSION: 11.11,REV=2009.04.08.17.26
VENDOR: Sun Microsystems, Inc.
DESC: Solaris Zones Configuration and Administration
HOTLINE: Please contact your local service provider
STATUS: completely installed
func ListPkgutil ¶
ListPkgutil returns the list of packages installed with pkgutil (darwin). Example output:
$ pkgutil --packages com.apple.pkg.HP_Scan com.apple.pkg.HP_Scan3 ...
Example output:
$ pkgutil --pkg-info com.apple.pkg.X11User package-id: com.apple.pkg.X11User version: 10.6.0.1.1.1238328574 volume: / location: / install-time: 1285389505 groups: com.apple.snowleopard-repair-permissions.pkg-group com.apple.FindSystemFiles.pkg-group
Click to show internal directories.
Click to hide internal directories.