mirror of
https://github.com/andwati/dotfiles.git
synced 2026-11-17 17:25:12 +00:00
Update ubuntu.sh
This commit is contained in:
+5
-7
@@ -1,17 +1,15 @@
|
|||||||
sudo apt update && sudo apt upgrade -y
|
sudo apt update && sudo apt upgrade -y
|
||||||
|
|
||||||
sudo apt install build-essential zsh git qbittorrent curl wget vlc kdenlive gimp tor torbrowser-launcher golang
|
find ~/.gnupg -type d -exec chmod 700 {} \;
|
||||||
|
find ~/.gnupg -type f -exec chmod 600 {} \;
|
||||||
|
|
||||||
sudo apt update; sudo apt install build-essential libssl-dev zlib1g-dev \
|
|
||||||
|
sudo apt install build-essential zsh git qbittorrent curl wget vlc kdenlive gimp tor torbrowser-launcher golang build-essential libssl-dev zlib1g-dev \
|
||||||
libbz2-dev libreadline-dev libsqlite3-dev curl git \
|
libbz2-dev libreadline-dev libsqlite3-dev curl git \
|
||||||
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
|
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
|
||||||
|
|
||||||
curl -fsSL https://pyenv.run | bash
|
curl -fsSL https://pyenv.run | bash
|
||||||
|
|
||||||
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
|
|
||||||
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
|
|
||||||
echo 'eval "$(pyenv init - zsh)"' >> ~/.zshrc
|
|
||||||
|
|
||||||
sudo apt update -y && sudo apt install -y gpg sudo wget curl
|
sudo apt update -y && sudo apt install -y gpg sudo wget curl
|
||||||
sudo install -dm 755 /etc/apt/keyrings
|
sudo install -dm 755 /etc/apt/keyrings
|
||||||
wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/mise-archive-keyring.gpg 1> /dev/null
|
wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/mise-archive-keyring.gpg 1> /dev/null
|
||||||
@@ -22,7 +20,7 @@ sudo apt install -y mise
|
|||||||
echo 'eval "$(mise activate bash)"' >> ~/.zshrc
|
echo 'eval "$(mise activate bash)"' >> ~/.zshrc
|
||||||
|
|
||||||
# if you installed zsh with `apt-get` for example, this will work:
|
# if you installed zsh with `apt-get` for example, this will work:
|
||||||
mkdir -p /usr/local/share/zsh/site-functions
|
sudo mkdir -p /usr/local/share/zsh/site-functions
|
||||||
sudo mise completion zsh > /usr/local/share/zsh/site-functions/_mise
|
sudo mise completion zsh > /usr/local/share/zsh/site-functions/_mise
|
||||||
|
|
||||||
echo 'deb http://download.opensuse.org/repositories/home:/obs_mhogomchungu/xUbuntu_24.04/ /' | sudo tee /etc/apt/sources.list.d/home:obs_mhogomchungu.list
|
echo 'deb http://download.opensuse.org/repositories/home:/obs_mhogomchungu/xUbuntu_24.04/ /' | sudo tee /etc/apt/sources.list.d/home:obs_mhogomchungu.list
|
||||||
|
|||||||
Reference in New Issue
Block a user