From 435ec65f214e9fba56c3bca7207c3a7e5558b7c7 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 27 Oct 2018 00:44:42 +0530 Subject: [PATCH] guix-package: add page (#2489) --- pages/linux/guix-package.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/linux/guix-package.md diff --git a/pages/linux/guix-package.md b/pages/linux/guix-package.md new file mode 100644 index 0000000000..a3b054480e --- /dev/null +++ b/pages/linux/guix-package.md @@ -0,0 +1,27 @@ +# guix package + +> Install, upgrade and remove Guix packages, or rollback to previous configurations. + +- Install a new package: + +`guix package -i {{package_name}}` + +- Remove a package: + +`guix package -r {{package_name}}` + +- 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`