• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

guix package Command Examples in Linux

by admin

guix package is a command-line tool used to manage packages in the Guix System, which is a distribution of the GNU operating system that uses the GNU Guix package manager. guix package provides a variety of subcommands that you can use to install, upgrade, remove, and manage packages on your system.

The basic usage of guix package is guix package [subcommand] [options], where subcommand is the action you want to perform (e.g. install, upgrade, remove) and options are any additional options you want to pass to the subcommand.

Some of the most commonly used guix package subcommands are:

  • guix package -i [package-name]: Install a package. For example, guix package -i emacs installs the emacs package.
  • guix package -r [package-name]: Remove a package. For example, guix package -r emacs removes the emacs package.
  • guix package -s [package-name]: Show information about a package, including its version, description, and dependencies.
  • guix package -l [package-name]: Display the list of generations of a package, and rollback to a specific generation

One of the key benefits of using guix package is its ability to rollback to previous configurations. It uses a transactional approach to package management, which means that it keeps track of all the changes made to the system and allows you to rollback to a previous configuration if something goes wrong. This is done by keeping a list of generations of a package, you can use guix package -l [package-name] to display the list and rollback to a specific generation with guix package -r [package-name]@[generation-number]

Filed Under: Linux

Some more articles you might also be interested in …

  1. showmount Command Examples in Linux
  2. DNF Update Fails With Error “GPG check FAILED” – CentOS/RHEL 8
  3. less: command not found
  4. CentOS / RHEL : Exclusion with Yum For Kernel Updates
  5. bc: command not found
  6. laptop-detect Command Examples in Linux
  7. Active Directory Users Unable to Login via SSH using SSSD and Getting “Permission Denied, Please Try Again” [CentOS/RHEL]
  8. quota Command Examples in Linux
  9. daemon Command Examples in Linux
  10. Unmounting a Windows Share Fails in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright