HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pacgraph — Draw a graph of installed packages to PNG/SVG/GUI/console. More information: <https://manned.org/pac

Submitted by: @import:tldr-pages··
0
Viewed 0 times
graphcommandpacgraphclidrawpnginstalledpackages
linux

Problem

How to use the pacgraph command: Draw a graph of installed packages to PNG/SVG/GUI/console. More information: <https://manned.org/pacgraph>.

Solution

pacgraph — Draw a graph of installed packages to PNG/SVG/GUI/console. More information: <https://manned.org/pacgraph>.

Produce an SVG and PNG graph:
pacgraph


Produce an SVG graph:
pacgraph {{[-s|--svg]}}


Print summary to console:
pacgraph {{[-c|--console]}}


Override the default filename/location (Note: Do not specify the file extension):
pacgraph {{[-f|--file]}} {{path/to/file}}


Change the color of packages that are not dependencies:
pacgraph {{[-t|--top]}} {{color}}


Change the color of package dependencies:
pacgraph {{[-d|--dep]}} {{color}}


Change the background color of a graph:
pacgraph {{[-b|--background]}} {{color}}


Change the color of links between packages:
pacgraph {{[-l|--link]}} {{color}}

Code Snippets

Produce an SVG and PNG graph

pacgraph

Produce an SVG graph

pacgraph {{[-s|--svg]}}

Print summary to console

pacgraph {{[-c|--console]}}

Override the default filename/location (Note: Do not specify the file extension)

pacgraph {{[-f|--file]}} {{path/to/file}}

Change the color of packages that are not dependencies

pacgraph {{[-t|--top]}} {{color}}

Context

tldr-pages: linux/pacgraph

Revisions (0)

No revisions yet.