Ref: https://docs.docker.com/install/linux/docker-ce/fedora/
sudo dnf -y install dnf-plugins-core
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
sudo usermod -aG docker "$(logname)"
sudo shutdown -r now # Reboot is required to gain group privileges when in a VM (logout/login otherwise)
sudo systemctl start docker
sudo systemctl enable docker
docker run hello-world
Ref: https://docs.brew.sh/Homebrew-on-Linux
## Install dependencies for homebrew
sudo dnf group -y install 'Development Tools'
sudo dnf -y install curl file git
sudo dnf -y install libxcrypt-compat # needed by Fedora 30 and up
## Install homebrew
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
## Add homebrew to $PATH and ~/.bash_profile
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
## Logout/login for changes to ~/.profile to take effect