Added redhat scripts
This commit is contained in:
parent
24c1d834fd
commit
a7ebc3ba40
6
common/redhat/apps/barrier.sh
Normal file
6
common/redhat/apps/barrier.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_barrier() {
|
||||||
|
echo "Installing barrier"
|
||||||
|
sudo dnf install barrier -y
|
||||||
|
}
|
6
common/redhat/apps/boxes.sh
Normal file
6
common/redhat/apps/boxes.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_boxes() {
|
||||||
|
echo "Installing gnome-boxes"
|
||||||
|
sudo dnf install gnome-boxes -y
|
||||||
|
}
|
10
common/redhat/apps/brave.sh
Normal file
10
common/redhat/apps/brave.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_brave() {
|
||||||
|
echo "Installing brave-browser"
|
||||||
|
sudo dnf install dnf-transport-https curl
|
||||||
|
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-dnf-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
||||||
|
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-dnf-release.s3.brave.com/ stable main" | sudo tee /etc/dnf/sources.list.d/brave-browser-release.list
|
||||||
|
sudo dnf update
|
||||||
|
sudo dnf install brave-browser
|
||||||
|
}
|
9
common/redhat/apps/chrome.sh
Normal file
9
common/redhat/apps/chrome.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_chrome() {
|
||||||
|
echo 'Installing Google Chrome'
|
||||||
|
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||||
|
sudo dpkg -i ./google-chrome-stable_current_amd64.deb
|
||||||
|
rm google-chrome-stable_current_amd64.deb
|
||||||
|
sudo dnf install chrome-gnome-shell -y
|
||||||
|
}
|
7
common/redhat/apps/discord.sh
Normal file
7
common/redhat/apps/discord.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_discord() {
|
||||||
|
echo 'Installing Discord'
|
||||||
|
wget -O discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
|
||||||
|
sudo dpkg -i discord.deb
|
||||||
|
}
|
9
common/redhat/apps/etcher.sh
Normal file
9
common/redhat/apps/etcher.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_etcher() {
|
||||||
|
echo 'Installing Etcher'
|
||||||
|
echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/dnf/sources.list.d/balena-etcher.list
|
||||||
|
sudo dnf-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 379CE192D401AB61
|
||||||
|
sudo dnf update -y
|
||||||
|
sudo dnf install balena-etcher-electron -y
|
||||||
|
}
|
6
common/redhat/apps/flameshot.sh
Normal file
6
common/redhat/apps/flameshot.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_flameshot() {
|
||||||
|
echo "Installing Flameshot"
|
||||||
|
sudo dnf install flameshot -y
|
||||||
|
}
|
6
common/redhat/apps/freerdp.sh
Normal file
6
common/redhat/apps/freerdp.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_freerdp() {
|
||||||
|
echo "Installing freerdp"
|
||||||
|
sudo dnf-get install freerdp2-x11
|
||||||
|
}
|
6
common/redhat/apps/geary.sh
Normal file
6
common/redhat/apps/geary.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_geary() {
|
||||||
|
echo "Installing geary"
|
||||||
|
sudo dnf install geary -y
|
||||||
|
}
|
6
common/redhat/apps/git.sh
Normal file
6
common/redhat/apps/git.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_git() {
|
||||||
|
echo "Installing git"
|
||||||
|
sudo dnf install git -y
|
||||||
|
}
|
6
common/redhat/apps/gnome_shell.sh
Normal file
6
common/redhat/apps/gnome_shell.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_gnome_shell() {
|
||||||
|
echo 'Installing gnome-shell'
|
||||||
|
sudo dnf install chrome-gnome-shell -y
|
||||||
|
}
|
6
common/redhat/apps/gnome_tweaks.sh
Normal file
6
common/redhat/apps/gnome_tweaks.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_gnome_tweaks() {
|
||||||
|
echo "Installing Gnome-Tweaks"
|
||||||
|
sudo dnf install gnome-tweaks -y
|
||||||
|
}
|
6
common/redhat/apps/gpick.sh
Normal file
6
common/redhat/apps/gpick.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_gpick() {
|
||||||
|
echo "Installing gpick"
|
||||||
|
sudo dnf install gpick -y
|
||||||
|
}
|
6
common/redhat/apps/kcolorchooser.sh
Normal file
6
common/redhat/apps/kcolorchooser.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_kcolorchooser() {
|
||||||
|
echo "Installing kcolorchooser"
|
||||||
|
sudo dnf install kcolorchooser -y
|
||||||
|
}
|
6
common/redhat/apps/keepassxc.sh
Normal file
6
common/redhat/apps/keepassxc.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_keepassxc() {
|
||||||
|
echo "Installing keepassxc"
|
||||||
|
sudo dnf install keepassxc -y
|
||||||
|
}
|
24
common/redhat/apps/lsd.sh
Normal file
24
common/redhat/apps/lsd.sh
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_lsd() {
|
||||||
|
echo "Installing lsd"
|
||||||
|
mkdir hack
|
||||||
|
cd hack
|
||||||
|
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip
|
||||||
|
unzip Hack.zip
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
sudo cp -r hack /usr/share/fonts/
|
||||||
|
sudo chmod -R 775 /usr/share/fonts/hack
|
||||||
|
rm -r hack
|
||||||
|
wget https://github.com/Peltoche/lsd/releases/download/0.19.0/lsd_0.19.0_amd64.deb
|
||||||
|
sudo dpkg -i lsd_0.19.0_amd64.deb
|
||||||
|
sudo rm lsd_0.19.0_amd64.deb
|
||||||
|
# echo "alias ls='lsd'" | sudo tee -a /home/*/.bashrc > /dev/null
|
||||||
|
# todos
|
||||||
|
# write py script to comment line: alias="ls --color=auto"
|
||||||
|
# echo "alias ls='lsd'" | sudo tee -a /etc/bash.bashrc > /dev/null
|
||||||
|
echo "
|
||||||
|
alias ls='lsd'
|
||||||
|
" | sudo tee -a /etc/bash.bashrc > /dev/null
|
||||||
|
}
|
6
common/redhat/apps/ncdu.sh
Normal file
6
common/redhat/apps/ncdu.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_ncdu() {
|
||||||
|
echo "Installing ncdu"
|
||||||
|
sudo dnf install ncdu -y
|
||||||
|
}
|
12
common/redhat/apps/neofetch.sh
Normal file
12
common/redhat/apps/neofetch.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_neofetch() {
|
||||||
|
echo "Installing neofetch"
|
||||||
|
sudo dnf install neofetch -y
|
||||||
|
echo '
|
||||||
|
if [ $USER != "root" ]; then
|
||||||
|
echo ""
|
||||||
|
neofetch
|
||||||
|
fi
|
||||||
|
' | sudo tee -a /etc/bash.bashrc > /dev/null
|
||||||
|
}
|
8
common/redhat/apps/nextcloud.sh
Normal file
8
common/redhat/apps/nextcloud.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_nextcloud() {
|
||||||
|
echo "Installing Nextcloud client"
|
||||||
|
sudo add-dnf-repository ppa:nextcloud-devs/client
|
||||||
|
sudo dnf update
|
||||||
|
sudo dnf install nextcloud-client -y
|
||||||
|
}
|
6
common/redhat/apps/signal.sh
Normal file
6
common/redhat/apps/signal.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_signal() {
|
||||||
|
echo "Installing signal-desktop "
|
||||||
|
sudo dnf install signal-desktop -y
|
||||||
|
}
|
6
common/redhat/apps/stacer.sh
Normal file
6
common/redhat/apps/stacer.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_stacer() {
|
||||||
|
echo "Installing Stacer"
|
||||||
|
sudo dnf install stacer -y
|
||||||
|
}
|
11
common/redhat/apps/sublime_text.sh
Normal file
11
common/redhat/apps/sublime_text.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_sublime_text() {
|
||||||
|
echo "Installing sublime-text"
|
||||||
|
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo dnf-key add -
|
||||||
|
sudo dnf install dnf-transport-https -y
|
||||||
|
sudo add-dnf-repository "deb https://download.sublimetext.com/ dnf/stable/"
|
||||||
|
|
||||||
|
sudo dnf update
|
||||||
|
sudo dnf install sublime-text -y
|
||||||
|
}
|
8
common/redhat/apps/timeshift.sh
Normal file
8
common/redhat/apps/timeshift.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_timeshift() {
|
||||||
|
echo "Installing Timeshift"
|
||||||
|
sudo add-dnf-repository -y ppa:teejee2008/ppa
|
||||||
|
sudo dnf update -y
|
||||||
|
sudo dnf install timeshift -y
|
||||||
|
}
|
6
common/redhat/apps/trash-cli.sh
Normal file
6
common/redhat/apps/trash-cli.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_trash_cli() {
|
||||||
|
echo "Installing trash-cli"
|
||||||
|
sudo dnf install trash-cli -y
|
||||||
|
}
|
8
common/redhat/apps/ulauncher.sh
Normal file
8
common/redhat/apps/ulauncher.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_ulauncher() {
|
||||||
|
echo "Installing Ulauncher"
|
||||||
|
sudo add-dnf-repository ppa:agornostal/ulauncher
|
||||||
|
sudo dnf update -y
|
||||||
|
sudo dnf install ulauncher -y
|
||||||
|
}
|
9
common/redhat/apps/vscode.sh
Normal file
9
common/redhat/apps/vscode.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_vscode() {
|
||||||
|
echo "Installing VS Code"
|
||||||
|
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo dnf-key add -
|
||||||
|
sudo add-dnf-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
|
||||||
|
sudo dnf update
|
||||||
|
sudo dnf install code -y
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user