rearranges files

This commit is contained in:
2025-02-12 17:59:59 -08:00
parent 015ca6f83d
commit e20bfeed02
50 changed files with 34 additions and 1354 deletions

View File

@@ -0,0 +1,14 @@
cd ~/linux-setup/fedora/
sh fedora.sh
cd ~/linux-setup/fedora/
sh gnome.sh
cd ~/linux-setup/fedora/
sh dev.sh
cd ~/linux-setup/common/gnome
sh load.sh
echo "Finished, now configure snapper and btrfs-assistant"
sudo btrfs-assistant

14
fedora/carlos-dev-kde.sh Normal file
View File

@@ -0,0 +1,14 @@
cd ~/linux-setup/fedora/
sh fedora.sh
cd ~/linux-setup/fedora/
sh kde.sh
cd ~/linux-setup/fedora/
sh dev.sh
cd ~/linux-setup/common/kde
sh load.sh
echo "Finished, now configure snapper and btrfs-assistant"
sudo btrfs-assistant

71
fedora/dev.sh Normal file
View File

@@ -0,0 +1,71 @@
sudo cp ../dev/sesh /usr/bin
# cp ../dev/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
sudo dnf install zlib -y
sudo dnf install zlib-devel -y
sudo dnf install ruby -y
sudo dnf install ruby-devel -y
sudo dnf install postgresql-devel -y
sudo dnf install gh -y
sudo dnf copr enable atim/lazygit -y
sudo dnf install lazygit -y
sudo dnf install alacritty -y
sudo dnf install tmux -y
sh ./add-openai-token.sh
sudo flatpak install org.wezfurlong.wezterm -y
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
dnf check-update
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
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo systemctl start docker
sudo npm i -g @railway/cli
sudo npm i -g vercel
sudo npm i -g vercel@latest
cd ~/.config/
git config --global user.email "noisycarlos@hey.com"
git config --global user.name "Carlos Aldana"
git clone https://git.noisyserver.sbs/noisycarlos/nvim
git clone https://git.noisyserver.sbs/noisycarlos/wezterm
sudo rm -r lazygit
git clone https://git.noisyserver.sbs/noisycarlos/lazygit
#git clone https://git.noisyserver.sbs/tmux-plugins/tpm ~/.tmux/plugins/tpm
#git clone https://git.noisyserver.sbs/noisycarlos/kitty

View File

@@ -8,11 +8,7 @@ flatpak install app/com.yubico.yubioath/x86_64/stable -y --user
flatpak install net.nokyan.Resources -y --user
flatpak install gearlever -y --user
sudo dnf install rofi -y
sudo dnf install nautilus -y
sudo dnf install sushi -y
sudo dnf blueman -y
# sudo dnf install ulauncher -y
sudo dnf install grub-customizer -y
sudo dnf install snapper -y
sudo dnf install btrfs-assistant -y
@@ -41,8 +37,3 @@ sudo dnf install python-vlc -y
sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc
sudo sh -c 'echo -e "[1password]\nname=1Password Stable Channel\nbaseurl=https://downloads.1password.com/linux/rpm/stable/\$basearch\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=\"https://downloads.1password.com/linux/keys/1password.asc\"" > /etc/yum.repos.d/1password.repo'
sudo dnf install 1password -y
cd ~/.config/
git config --global credential.helper store
git clone https://git.noisyserver.sbs/noisycarlos/rofi
git clone https://git.noisyserver.sbs/noisycarlos/ulauncher

4
fedora/gnome.sh Normal file
View 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

9
fedora/install-rails.sh Normal file
View File

@@ -0,0 +1,9 @@
### Ruby
sudo dnf group install "C Development Tools and Libraries" -y
sudo dnf install ruby-devel zlib-devel -y
gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable --ruby
gem install rails
gem install solargraph
sudo dnf install rubygem-rails -y
sudo dnf group install 'Ruby on Rails' -y

6
fedora/kde.sh Normal file
View File

@@ -0,0 +1,6 @@
sudo dnf install python -y
sudo dnf install pip -y
python -m pip install konsave
sudo dnf install qt -y
sh load.sh

32
fedora/vfx/fusion.sh Normal file
View File

@@ -0,0 +1,32 @@
default_version="19.0.1"
echo "Please enter version number (default ${default_version}):"
read version
if [ -z "$version" ]; then
version="${default_version}"
fi
vnum="${version%%b*}"
installer_path=~/Downloads/Blackmagic_Fusion_Studio_${version}_Linux/Blackmagic_Fusion_Studio_Linux_${vnum}_installer.run
read -p "Make sure the installer is located at '${installer_path}'. Press Enter to continue, or n to cancel..." answer
case $answer in
[Nn]*)
echo "Installation cancelled"
exit 0
;;
*)
echo "Running installer..."
;;
esac
sudo SKIP_PACKAGE_CHECK=1 ${installer_path}
sudo dnf install libxcrypt-compat libcurl libcurl-devel mesa-libGLU -y
# cd /opt/resolve/libs
# sudo mkdir disabled-libraries
# sudo mv libglib* disabled-libraries
# sudo mv libgio* disabled-libraries
# sudo mv libgmodule* disabled-libraries

88
fedora/vfx/nuke.sh Normal file
View File

@@ -0,0 +1,88 @@
#!/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
cd ~/Downloads
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 ${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
echo "${app_name} installation script finished"

31
fedora/vfx/resolve.sh Normal file
View File

@@ -0,0 +1,31 @@
default_version="19.0.1"
echo "Please enter version number (default ${default_version}):"
read version
if [ -z "$version" ]; then
version=${default_version}
fi
installer_path=~/Downloads/DaVinci_Resolve_Studio_${version}_Linux/DaVinci_Resolve_Studio_${version}_Linux.run
read -p "Make sure the installer is located at '${installer_path}'. Press Enter to continue, or n to cancel..." answer
case $answer in
[Nn]*)
echo "Installation cancelled"
exit 0
;;
*)
echo "Running installer..."
;;
esac
sudo SKIP_PACKAGE_CHECK=1 ${installer_path}
sudo dnf install libxcrypt-compat libcurl libcurl-devel mesa-libGLU -y
cd /opt/resolve/libs
sudo mkdir disabled-libraries
sudo mv libglib* disabled-libraries
sudo mv libgio* disabled-libraries
sudo mv libgmodule* disabled-libraries