From b5fd9869b9a523d4f1a9e4bb2d8947df14632134 Mon Sep 17 00:00:00 2001 From: Reznov <56686898+andwati@users.noreply.github.com> Date: Thu, 15 May 2025 21:20:04 +0300 Subject: [PATCH] Update ubuntu.sh --- scripts/ubuntu.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/scripts/ubuntu.sh b/scripts/ubuntu.sh index 73e930f..b3a840a 100644 --- a/scripts/ubuntu.sh +++ b/scripts/ubuntu.sh @@ -1,17 +1,15 @@ 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 \ libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev 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 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 @@ -22,7 +20,7 @@ sudo apt install -y mise echo 'eval "$(mise activate bash)"' >> ~/.zshrc # 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 echo 'deb http://download.opensuse.org/repositories/home:/obs_mhogomchungu/xUbuntu_24.04/ /' | sudo tee /etc/apt/sources.list.d/home:obs_mhogomchungu.list