dotfiles/debian_setup.sh

34 lines
1.1 KiB
Bash
Raw Permalink Normal View History

2023-11-16 05:07:39 +00:00
#!/bin/bash
2024-04-11 02:56:00 +00:00
USER=tyrel
HOME=/home/tyrel
2023-11-16 05:18:20 +00:00
2024-01-30 19:49:02 +00:00
sudo apt-get install software-properties-common
2023-11-16 16:19:27 +00:00
sudo add-apt-repository -y ppa:neovim-ppa/unstable
2023-11-16 05:07:39 +00:00
sudo apt update
2023-11-16 16:19:27 +00:00
sudo apt-get install -y libncurses5-dev neovim
sudo apt-get install -y build-essential zlib1g-dev libffi-dev libssl-dev libbz2-dev libreadline-dev libsqlite3-dev liblzma-dev
2023-11-17 18:21:00 +00:00
sudo apt-get install -y git-lfs
2023-11-16 05:25:12 +00:00
2023-11-16 16:19:27 +00:00
curl https://sh.rustup.rs -sSf | sh
2023-11-16 05:10:42 +00:00
sudo curl https://pyenv.run | bash
2023-11-16 05:07:39 +00:00
2024-04-11 02:56:00 +00:00
ln -s $(pwd)/home/config/nvim /home/$USER/.config/nvim
ln -s $(pwd)/home/bin /home/$USER/bin
ln -s $(pwd)/home/gitconfig /home/$USER/.gitconfig
ln -s $(pwd)/home/shell_aliases /home/$USER/.shell_aliases
ln -s $(pwd)/home/shell_funcs /home/$USER/.shell_funcs
echo 'export PYENV_ROOT="/home/$USER/.pyenv"' >> /home/$USER/.bashrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> /home/$USER/.bashrc
echo 'eval "$(pyenv init -)"' >> /home/$USER/.bashrc
2023-11-17 18:16:16 +00:00
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
2023-11-16 16:19:27 +00:00
pyenv install 3.10.13
pyenv global 3.10.13
2024-01-30 19:49:02 +00:00
pip install neovim