This isn’t a must-do, just a convenience. EOS has nice defaults, many of which I have adopted into these dotfiles, and is a much simpler installation process.
parallelism, etc
Add the following lines to /etc/dnf/dnf.conf
:
defaultyes=True
max_parallel_downloads=15
fastestmirror=True
Double-check that the command and urls are the same at the rpmfusion website, and then run the following command:
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
If you are on x86, rather than ARM, add the --with-copr
flag to the script invocation;
otherwise, you’ll have to manually enable COPR repos (there’s a list in ~lib/copr-repos
,
but you won’t be able to use packages from all of them, as some are x86-specific).
Use the documentation here, or if you trust this document to be up-to-date follow along:
Add the docker-ce repository:
# install the necessary packages
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io
# use docker without sudo
sudo groupadd docker && sudo gpasswd -a ${USER} docker
newgrp docker
# autostart docker daemon
sudo systemctl enable docker
# verify:
docker run hello-world
Don’t forget to run killall Dock
after ~/sbin/macos-write-defaults
To create an encrypted tarball of the directory, run:
# should probably run as root so you don't see a long-running job die on some random
# file's permissions
tar -czf - * | openssl enc -e -aes256 -out secured.tar.gz
To decrypt and extract into a subdirectory (either to test or to unpackage the downloaded tarball):
mkdir tmphome
# don't run this one as root if you want to own your own files
openssl enc -d -aes256 -in secured.tar.gz | tar xz -C tmphome
If everything in there is in order, you can move everything to the $HOME
toplevel:
rsync --recursive \
--verbose \
--backup --suffix=.installed.orig \
tmphome/ $HOME/
rm -r tmphome