How to install chezmoi
on Red Hat Enterprise Linux

chezmoi

chezmoi

Tom Payne (twpayne)

Manage your dotfiles across multiple machines, securely.

chezmoi helps you manage your personal configuration files (dotfiles) across multiple machines. It is particularly helpful if you have spent time customizing the tools you use (e.g. shells, editors, and version control systems) and want to keep machines running different accounts (e.g. home and work) and/or different operating systems (e.g. Linux and macOS) in sync, while still being able to easily cope with differences from machine to machine.

chezmoi has particularly strong support for security, allowing you to manage secrets (e.g. passwords, access tokens, and private keys) securely and seamlessly using either gpg encryption or a password manager of your choice.

In all cases you only need to maintain a single source of truth: a single branch in a version control system (e.g. git) for everything public and a single password manager for all your secrets, with seamless integration between them.

Details for chezmoi

License
MIT
Last updated
17 October 2019

Enable snaps on Red Hat Enterprise Linux and install chezmoi

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

Snap is available for Red Hat Enterprise Linux (RHEL) 7, from the 7.6 release onward, from the Extra Packages for Enterprise Linux (EPEL) repository.

It is not yet available in the EPEL 8 repository, and consequently, not yet available for RHEL 8 unless you build the RPM yourself.

The EPEL repository can be added to your system with the following command:

Adding the optional and extras repositories is also recommended:

sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms" sudo yum update

Snap can now be installed as follows:

Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:

To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:

Either log out and back in again or restart your system to ensure snap’s paths are updated correctly.

Install chezmoi

To install chezmoi, simply use the following command:

Other popular snaps…

See more...
See more in Featured

More things to do…

Get the snap store

Browse and find snaps from the convenience of your desktop using the snap store snap.

Learn more about snaps

Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.