Skip to content

Instantly share code, notes, and snippets.

Last active October 25, 2021 12:12
Show Gist options
  • Save bertinatto/e1a58ca94d1f304c4314d9e96a861997 to your computer and use it in GitHub Desktop.
Save bertinatto/e1a58ca94d1f304c4314d9e96a861997 to your computer and use it in GitHub Desktop.
# Update
sudo dnf upgrade
sudo reboot
# Feddy
# RPM Fusion
sudo dnf install$(rpm -E %fedora).noarch.rpm$(rpm -E %fedora).noarch.rpm
# Install fedy copr repository
sudo dnf copr enable kwizart/fedy
# Github
sudo dnf config-manager --add-repo
sudo dnf install gh
# Install fedy
sudo dnf install fedy -y
# Not needed
sudo dnf remove abrt xfburn ristretto pidgin asunder orage gnumeric pragha parole claws-mail geany catfish atril dragora
for i in $(sudo rpm -qa | ag xfce | ag plugin); do sudo dnf remove $i; done
sudo dnf install -y \
alacritty \
jq \
pipx \
xkill \
chromium \
fedora-packager \
krb5-workstation \
compton \
feh \
lightdm-settings slick-greeter \
xfce4-volumed \
xfce4-clipman-plugin \
xfce4-screenshooter \
xautolock \
transmission-gtk \
flatpak \
tlp tlp-rdw \
tmux \
i3 i3status i3lock dmenu rofi \
htop \
git git-lfs gitk\
network-manager-applet \
the_silver_searcher ripgrep \
vlc \
xsel \
evince gnome-calendar \
podman buildah \
fzf \
vim-X11 neovim python3-neovim \
emacs \
Zim gtkspell hunspell-pt
sudo dnf group install -y "C Development Tools and Libraries"
# go
mkdir ~/bin
curl -sL -o ~/bin/gimme
chmod +x ~/bin/gimme
eval $(gimme stable)
# google-sdk
sudo tee -a /etc/yum.repos.d/google-cloud-sdk.repo << EOM
name=Google Cloud SDK
sudo dnf install google-cloud-sdk
gcloud auth login
gcloud config set project openshift-gce-devel
# Azure
sudo rpm --import
echo -e "[azure-cli]
name=Azure CLI
gpgkey=" | sudo tee /etc/yum.repos.d/azure-cli.repo
sudo dnf install azure-cli
az login
mkdir ~/Screenshots
# Get dotfiles
alias hgit='GIT_DIR=~/.homedir git --work-tree=$HOME'
cd ~
hgit init
hgit remote add origin
hgit fetch
hgit checkout -f master
# Setup nvim
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \'
# Vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
# Docker
sudo dnf install grubby -y
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
sudo dnf remove -y podman-docker
sudo dnf install moby-engine -y
sudo systemctl enable --now docker
sudo usermod -aG docker $(whoami)
# Flatpak
flatpak remote-add --if-not-exists flathub
flatpak install slack spotify libreoffice torbrowser zoom skype
# rustup
curl -sSf | sh
# starsip
curl -fsSL | bash
# git
git config --global "Fabio Bertinatto"
git config --global ""
# python
pipx install awscli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment