2018-10-26 20:14:42 +01:00
|
|
|
# guix package
|
|
|
|
|
|
|
|
> Install, upgrade and remove Guix packages, or rollback to previous configurations.
|
2021-07-09 15:45:55 +01:00
|
|
|
> More information: <https://guix.gnu.org/manual/html_node/Invoking-guix-package.html>.
|
2018-10-26 20:14:42 +01:00
|
|
|
|
|
|
|
- Install a new package:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`guix package -i {{package}}`
|
2018-10-26 20:14:42 +01:00
|
|
|
|
|
|
|
- Remove a package:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`guix package -r {{package}}`
|
2018-10-26 20:14:42 +01:00
|
|
|
|
|
|
|
- Search the package database for a regular expression:
|
|
|
|
|
|
|
|
`guix package -s "{{search_pattern}}"`
|
|
|
|
|
|
|
|
- List installed packages:
|
|
|
|
|
|
|
|
`guix package -I`
|
|
|
|
|
|
|
|
- List generations:
|
|
|
|
|
|
|
|
`guix package -l`
|
|
|
|
|
|
|
|
- Roll back to the previous generation:
|
|
|
|
|
|
|
|
`guix package --roll-back`
|