first update all packages
sudo dnf update
sudo dnf install cmake gcc-c++ libtool libuv libvterm msgpack-devel unibilium gettext-devel lua-devel
sudo dnf neovim
sudo dnf install zsh
# check the installation and source
zsh --version
which zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
chsh -s $(which zsh)
sudo dnf install tmux
basic setup is complete time to install other apps and tools
sudo dnf install btop lazygit fzf zoxide eza mpv htop procs gdu bat fd hyperfine
sudo dnf groupinstall "Development Tools"
sudo dnf install curl file git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew --version
# test the installation
brew install hello
Ensure Homebrew is up-to-date:
brew update
brew upgrade
linuxbrew is an fork of Homebrew, the package manager for macOS. this lets us install all apps we macos have but dnf doesnt
packages available on linuxbrew
brew install tabiew duf dua atuin topgrade
curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSL
sudo dnf install nodejs npm
sudo npm i -g pnpm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.6.linux-amd64.tar.gz
sudo dnf install g++ gcc-c++
sudo dnf install python3-pip
sudo dnf install ffmpegthumbnailer p7zip p7zip-plugins jq poppler-utils fd-find ripgrep fzf zoxide ImageMagick xclip xsel wl-clipboard
cargo install --locked --git https://github.com/sxyazi/yazi.git yazi-fm yazi-cli
brew install yazi