adds brew and asdf to fedora dev

This commit is contained in:
2024-11-14 18:16:31 -08:00
parent e3c248d608
commit 86549e174b

View File

@@ -3,6 +3,7 @@ cp ../tmux/tmux.conf ~/.tmux.conf
sudo dnf install zig -y
sudo dnf install neovim -y
sudo dnf install curl git -y
sudo dnf install npm -y
sudo dnf install go -y
sudo dnf install ripgrep -y
@@ -29,6 +30,22 @@ sudo dnf install code -y
sudo dnf copr enable zawertun/hack-fonts -y
sudo dnf install hack-fonts -y
# asdf
sudo dnf groupinstall "Development Tools"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >>/home/carlos/.bashrc
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >>~/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install gcc
# asdf -depends on brew-
brew install asdf
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >>~/.bashrc
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >>~/.bashrc
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
# Docker
sudo dnf -y install dnf-plugins-core
sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo