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

guix package — Install, upgrade, and remove Guix packages or rollback to previous configurations. More information:

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

Problem

How to use the guix package command: Install, upgrade, and remove Guix packages or rollback to previous configurations. More information: <https://guix.gnu.org/manual/en/guix.html#Invoking-guix-package>.

Solution

guix package — Install, upgrade, and remove Guix packages or rollback to previous configurations. More information: <https://guix.gnu.org/manual/en/guix.html#Invoking-guix-package>.

Install a new package:
guix package {{[-i|--install]}} {{package}}


Remove a package:
guix package {{[-r|--remove]}} {{package}}


Search the package database for a regex:
guix package {{[-s|--search]}} "{{search_pattern}}"


List installed packages:
guix package {{[-I|--list-installed]}}


List generations:
guix package {{[-l|--list-generations]}}


Roll back to the previous generation:
guix package --roll-back

Code Snippets

Install a new package

guix package {{[-i|--install]}} {{package}}

Remove a package

guix package {{[-r|--remove]}} {{package}}

Search the package database for a `regex`

guix package {{[-s|--search]}} "{{search_pattern}}"

List installed packages

guix package {{[-I|--list-installed]}}

List generations

guix package {{[-l|--list-generations]}}

Context

tldr-pages: linux/guix package

Revisions (0)

No revisions yet.