rearranges files
This commit is contained in:
96
ubuntu/dev.sh
Normal file
96
ubuntu/dev.sh
Normal file
@@ -0,0 +1,96 @@
|
||||
######################################## nvim
|
||||
sudo apt install zig -y
|
||||
snap install nvim --classic
|
||||
sudo apt install xsel xclip wl-clipboard
|
||||
sudo apt install ripgrep -y
|
||||
sudo apt install zlib1g zlib1g-dev -y
|
||||
|
||||
sudo cp ../../sesh /usr/bin
|
||||
cp ../tmux.conf ~/.tmux.conf
|
||||
|
||||
######################################## Homebrew and ASDF
|
||||
/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)"
|
||||
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >>~/.bashrc
|
||||
source ~/.bashrc
|
||||
sudo apt-get install build-essential
|
||||
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
|
||||
|
||||
sudo apt-get install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev
|
||||
######################################## Languages
|
||||
asdf install nodejs latest
|
||||
asdf install ruby 3.4.1
|
||||
gem install solargraph
|
||||
sudo snap install go --classic
|
||||
# sudo apt install ruby -y
|
||||
# sudo apt install ruby-dev -y
|
||||
|
||||
######################################## Lazygit
|
||||
sudo add-apt-repository ppa:lazygit-team/release -y
|
||||
sudo apt update
|
||||
|
||||
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
|
||||
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
|
||||
tar xf lazygit.tar.gz lazygit
|
||||
sudo install lazygit /usr/local/bin
|
||||
|
||||
# sudo apt install alacritty -y
|
||||
sudo flatpak install org.wezfurlong.wezterm -y
|
||||
echo 'alias wezterm="flatpak run org.wezfurlong.wezterm"' >>~/.bashrc
|
||||
|
||||
sudo apt install software-properties-common
|
||||
sudo apt install tmux -y
|
||||
|
||||
######################################## Zed
|
||||
sh ./zed.sh &
|
||||
######################################## VSCode
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF
|
||||
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
|
||||
sudo apt update
|
||||
sudo apt install code -y
|
||||
|
||||
######################################## nerd fonts
|
||||
sudo apt install wget fontconfig &&
|
||||
wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip &&
|
||||
cd ~/.local/share/fonts && unzip Meslo.zip && rm *Windows* && rm Meslo.zip && fc-cache -fv
|
||||
######
|
||||
######################################## Docker
|
||||
# Add Docker's official GPG key:
|
||||
sudo apt-get update
|
||||
sudo apt-get install ca-certificates curl
|
||||
sudo install -m 0755 -d /etc/apt/keyrings
|
||||
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||
|
||||
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
# Add the repository to Apt sources:
|
||||
echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
|
||||
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" |
|
||||
sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
|
||||
sudo apt-get update
|
||||
|
||||
######################################## Hosting
|
||||
npm install -g @railway/cli
|
||||
npm install -g vercel
|
||||
npm install -g vercel@latest
|
||||
|
||||
######################################## Configs
|
||||
cd ~/.config/
|
||||
|
||||
git config --global user.email "noisycarlos@hey.com"
|
||||
git config --global user.name "Carlos Aldana"
|
||||
|
||||
git config --global credential.helper store
|
||||
git clone https://git.noisyserver.sbs/noisycarlos/nvim
|
||||
git clone https://git.noisyserver.sbs/noisycarlos/wezterm
|
||||
|
||||
rm -r lazygit
|
||||
git clone https://git.noisyserver.sbs/noisycarlos/lazygit
|
||||
# git clone https://git.noisyserver.sbs/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
4
ubuntu/gnome.sh
Normal file
4
ubuntu/gnome.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
sudo dnf install python3-pip -y
|
||||
pip3 install --upgrade gnome-extensions-cli
|
||||
gext install gTile@vibou
|
||||
gext install trayIconsReloaded@selfmade.pl
|
||||
7
ubuntu/kde.sh
Normal file
7
ubuntu/kde.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
sudo dnf install nautilus -y
|
||||
sudo dnf install sushi -y
|
||||
|
||||
sudo dnf install python -y
|
||||
sudo dnf install pip -y
|
||||
python -m pip install konsave
|
||||
sudo dnf install qt -y
|
||||
61
ubuntu/popos.sh
Normal file
61
ubuntu/popos.sh
Normal file
@@ -0,0 +1,61 @@
|
||||
sudo apt update
|
||||
sudo apt upgrade
|
||||
|
||||
sudo apt install curl -y
|
||||
sudo apt install nfs-common -y
|
||||
sudo apt install fzf -y
|
||||
sudo apt install snapd -y
|
||||
|
||||
sudo apt install btop -y
|
||||
sudo apt-get install fuse libfuse2 -y
|
||||
sudo apt install blueman -y
|
||||
|
||||
# Add Hibernation file
|
||||
# sudo cp ./hibernation.pkla /etc/polkit-1/localauthority/10-vendor.d/com.ubuntu.pkla
|
||||
#
|
||||
# Web Apps
|
||||
sudo add-apt-repository ppa:kelebek333/mint-tools -y
|
||||
sudo apt-get update
|
||||
sudo apt-get install webapp-manager -y
|
||||
|
||||
#Flatpak
|
||||
sudo apt install flatpak -y
|
||||
sudo apt install gnome-software-plugin-flatpak -y
|
||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
# 1Password
|
||||
sudo sh -c 'echo "deb [arch=amd64] https://downloads.1password.com/linux/debian/amd64/ stable main" > /etc/apt/sources.list.d/1password.list'
|
||||
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main' | sudo tee /etc/apt/sources.list.d/1password.list
|
||||
sudo mkdir -p /etc/debsig/policies/AC2D62742012EA22/
|
||||
curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | sudo tee /etc/debsig/policies/AC2D62742012EA22/1password.pol
|
||||
sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22
|
||||
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg
|
||||
|
||||
sudo apt update
|
||||
sudo apt install 1password -y
|
||||
|
||||
sudo apt install flatseal -y
|
||||
sudo apt install yubioath-desktop -y
|
||||
|
||||
flatpak install flathub net.nokyan.Resources -y
|
||||
|
||||
# Codecs
|
||||
sudo apt install ubuntu-restricted-extras -y
|
||||
# Browsers
|
||||
# flatpak install flathub com.google.Chrome -y
|
||||
# flatpak install flathub org.waterfoxproject.waterfox -y
|
||||
# sudo apt install chromium-browser -y
|
||||
|
||||
# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||
# sudo dpkg -i google-chrome-stable_current_amd64.deb
|
||||
# sudo apt install -f -y
|
||||
# rm google-chrome-stable_current_amd64.deb
|
||||
|
||||
# Video
|
||||
sudo apt install djv -y
|
||||
sudo apt install vlc -y
|
||||
sudo apt install python3-vlc -y
|
||||
|
||||
# sudo reboot now
|
||||
# sudo apt install flatpak -y
|
||||
# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
58
ubuntu/ubuntu.sh
Normal file
58
ubuntu/ubuntu.sh
Normal file
@@ -0,0 +1,58 @@
|
||||
sudo apt update
|
||||
|
||||
sudo apt install curl -y
|
||||
sudo apt install nfs-common -y
|
||||
sudo apt install fzf -y
|
||||
sudo apt install snapd -y
|
||||
|
||||
sudo apt install btop -y
|
||||
sudo apt-get install fuse libfuse2 -y
|
||||
sudo apt install blueman -y
|
||||
sudo apt install gnome-sushi -y
|
||||
|
||||
# Web Apps
|
||||
sudo add-apt-repository ppa:kelebek333/mint-tools -y
|
||||
sudo apt-get update
|
||||
sudo apt-get install webapp-manager -y
|
||||
|
||||
#Flatpak
|
||||
sudo apt install flatpak -y
|
||||
sudo apt install gnome-software-plugin-flatpak -y
|
||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
# 1Password
|
||||
sudo sh -c 'echo "deb [arch=amd64] https://downloads.1password.com/linux/debian/amd64/ stable main" > /etc/apt/sources.list.d/1password.list'
|
||||
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main' | sudo tee /etc/apt/sources.list.d/1password.list
|
||||
sudo mkdir -p /etc/debsig/policies/AC2D62742012EA22/
|
||||
curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | sudo tee /etc/debsig/policies/AC2D62742012EA22/1password.pol
|
||||
sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22
|
||||
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg
|
||||
|
||||
sudo apt update
|
||||
sudo apt install 1password -y
|
||||
|
||||
sudo apt install flatseal -y
|
||||
sudo apt install yubioath-desktop -y
|
||||
|
||||
flatpak install flathub net.nokyan.Resources -y
|
||||
|
||||
# Codecs
|
||||
sudo apt install ubuntu-restricted-extras -y
|
||||
# Browsers
|
||||
# flatpak install flathub com.google.Chrome -y
|
||||
# flatpak install flathub org.waterfoxproject.waterfox -y
|
||||
# sudo apt install chromium-browser -y
|
||||
|
||||
# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||
# sudo dpkg -i google-chrome-stable_current_amd64.deb
|
||||
# sudo apt install -f -y
|
||||
# rm google-chrome-stable_current_amd64.deb
|
||||
|
||||
# Video
|
||||
sudo apt install djv -y
|
||||
sudo apt install vlc -y
|
||||
sudo apt install python3-vlc -y
|
||||
|
||||
# sudo reboot now
|
||||
# sudo apt install flatpak -y
|
||||
# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
2
ubuntu/vfx/blackmagic.sh
Normal file
2
ubuntu/vfx/blackmagic.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
# sudo apt install libssl3 ocl-icd-opencl-dev fakeroot xorriso
|
||||
sudo apt install libapr1 libaprutil1 libxcb-cursor0 libxcb-damage0
|
||||
92
ubuntu/vfx/nuke.sh
Normal file
92
ubuntu/vfx/nuke.sh
Normal file
@@ -0,0 +1,92 @@
|
||||
#!/usr/bin/env bash
|
||||
app_name=Nuke
|
||||
download_from_source=$1
|
||||
version=$2
|
||||
|
||||
if [ -z "$version" ]; then
|
||||
version="15.1v5"
|
||||
fi
|
||||
|
||||
vnum="${version%%v*}"
|
||||
installer_path=~/Downloads/Nuke${version}-linux-x86_64.run
|
||||
|
||||
base_url=https://public.noisyserver.sbs/vfx-installers
|
||||
url=${base_url}/Nuke${version}-linux-x86_64.run
|
||||
|
||||
nuke_install_basepath=/usr/bin/Nuke
|
||||
installation_dir_name=Nuke${version}
|
||||
|
||||
if [ -f "${installer_path}" ]; then
|
||||
download_from_source=s
|
||||
echo "Installer file already exists"
|
||||
fi
|
||||
# echo "${url} -> ${installer_path}"
|
||||
if [ -z "$download_from_source" ]; then
|
||||
read -p "Press Enter to start download of ${app_name} ${version}. If file is already downloaded enter 's', or 'c' to cancel: " download_from_source
|
||||
fi
|
||||
|
||||
delete_installer=0
|
||||
|
||||
case $download_from_source in
|
||||
[Ss]*)
|
||||
echo "Skipped download (if the install fails, check that the installer was downloaded properly)"
|
||||
;;
|
||||
[CcNn]*)
|
||||
echo "Installation cancelled"
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "Downloading ${app_name} Installer..."
|
||||
curl -# -o ${installer_path}.partial ${url}
|
||||
rm ${installer_path} >>/dev/null
|
||||
mv ${installer_path}.partial ${installer_path}
|
||||
read -p "Download Finished. Press Enter to continue: "
|
||||
delete_installer=1
|
||||
;;
|
||||
esac
|
||||
|
||||
sudo chmod +x ${installer_path}
|
||||
# sudo ${installer_path}
|
||||
|
||||
sudo ${installer_path} --accept-foundry-eula
|
||||
|
||||
echo "Moving application to bin directory..."
|
||||
if [ ! -d "${nuke_install_basepath}" ]; then
|
||||
sudo mkdir ${nuke_install_basepath} >/dev/null
|
||||
fi
|
||||
sudo rm -r ${nuke_install_basepath}/${installation_dir_name}
|
||||
sudo mv ./${installation_dir_name} ${nuke_install_basepath}/
|
||||
curl -sS -# -o ./nuke.png ${base_url}/nuke.png
|
||||
sudo mv nuke.png ${nuke_install_basepath}/nuke.png
|
||||
|
||||
echo "Installing libraries..."
|
||||
sudo yum install mesa-libGLU.x86_64 -y
|
||||
sudo dnf install libxcrypt-compat -y
|
||||
|
||||
echo "Creating Application shortcut..."
|
||||
sudo mkdir -p ~/.local/share/applications/
|
||||
sudo chmod -R 777 ~/.local/share/applications/
|
||||
cd ~/.local/share/applications/
|
||||
echo "#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Name=Nuke Indie ${version}
|
||||
Exec=${nuke_install_basepath}/${installation_dir_name}/Nuke${vnum} --indie
|
||||
Icon=${nuke_install_basepath}/nuke.png" >${installation_dir_name}.desktop
|
||||
|
||||
echo "Cleanup..."
|
||||
if [ "${delete_installer}" = 1 ]; then
|
||||
echo "deleting downloaded installer..."
|
||||
rm ${installer_path}
|
||||
sudo rm -r ./Nuke${version} >>/dev/null
|
||||
else
|
||||
echo "leaving previously-existing installer in place..."
|
||||
fi
|
||||
|
||||
if [ -z "$NUKE_TEMP_DIR" ]; then
|
||||
echo "export NUKE_TEMP_DIR=/media/carlos/DataLinux/cache/nuke/" >>~/.profile
|
||||
fi
|
||||
|
||||
echo "${app_name} installation script finished"
|
||||
3
ubuntu/zed.sh
Normal file
3
ubuntu/zed.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
curl -f https://zed.dev/install.sh | sh
|
||||
echo 'export PATH=$HOME/.local/bin:$PATH' >>~/.bashrc
|
||||
source ~/.bashrc
|
||||
Reference in New Issue
Block a user