Changed to apt
This commit is contained in:
parent
31457ed6d3
commit
7af77e9255
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_barrier() {
|
install_barrier() {
|
||||||
echo "Installing barrier"
|
echo "Installing barrier"
|
||||||
sudo apt-get install barrier -y
|
sudo apt install barrier -y
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_boxes() {
|
install_boxes() {
|
||||||
echo "Installing gnome-boxes"
|
echo "Installing gnome-boxes"
|
||||||
sudo apt-get install gnome-boxes -y
|
sudo apt install gnome-boxes -y
|
||||||
}
|
}
|
@ -5,5 +5,5 @@ install_chrome() {
|
|||||||
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||||
sudo dpkg -i ./google-chrome-stable_current_amd64.deb
|
sudo dpkg -i ./google-chrome-stable_current_amd64.deb
|
||||||
rm google-chrome-stable_current_amd64.deb
|
rm google-chrome-stable_current_amd64.deb
|
||||||
sudo apt-get install chrome-gnome-shell -y
|
sudo apt install chrome-gnome-shell -y
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_flameshot() {
|
install_flameshot() {
|
||||||
echo "Installing Flameshot"
|
echo "Installing Flameshot"
|
||||||
sudo apt-get install flameshot -y
|
sudo apt install flameshot -y
|
||||||
}
|
}
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_geary() {
|
install_geary() {
|
||||||
echo "Installing geary"
|
echo "Installing geary"
|
||||||
sudo apt-get install geary -y
|
sudo apt install geary -y
|
||||||
}
|
}
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_git() {
|
install_git() {
|
||||||
echo "Installing git"
|
echo "Installing git"
|
||||||
sudo apt-get install git -y
|
sudo apt install git -y
|
||||||
}
|
}
|
@ -3,6 +3,6 @@
|
|||||||
install_gnome_shell() {
|
install_gnome_shell() {
|
||||||
echo 'Installing gnome-shell'
|
echo 'Installing gnome-shell'
|
||||||
if [ $1 == "chrome" ]; then
|
if [ $1 == "chrome" ]; then
|
||||||
sudo apt-get install chrome-gnome-shell -y
|
sudo apt install chrome-gnome-shell -y
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_gnome_tweaks() {
|
install_gnome_tweaks() {
|
||||||
echo "Installing Gnome-Tweaks"
|
echo "Installing Gnome-Tweaks"
|
||||||
sudo apt-get install gnome-tweaks -y
|
sudo apt install gnome-tweaks -y
|
||||||
}
|
}
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_gpick() {
|
install_gpick() {
|
||||||
echo "Installing gpick"
|
echo "Installing gpick"
|
||||||
sudo apt-get install gpick -y
|
sudo apt install gpick -y
|
||||||
}
|
}
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_kcolorchooser() {
|
install_kcolorchooser() {
|
||||||
echo "Installing kcolorchooser"
|
echo "Installing kcolorchooser"
|
||||||
sudo apt-get install kcolorchooser -y
|
sudo apt install kcolorchooser -y
|
||||||
}
|
}
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_keepassxc() {
|
install_keepassxc() {
|
||||||
echo "Installing keepassxc"
|
echo "Installing keepassxc"
|
||||||
sudo apt-get install keepassxc -y
|
sudo apt install keepassxc -y
|
||||||
}
|
}
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_ncdu() {
|
install_ncdu() {
|
||||||
echo "Installing ncdu"
|
echo "Installing ncdu"
|
||||||
sudo apt-get install ncdu -y
|
sudo apt install ncdu -y
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
install_neofetch() {
|
install_neofetch() {
|
||||||
echo "Installing neofetch"
|
echo "Installing neofetch"
|
||||||
sudo apt-get install neofetch -y
|
sudo apt install neofetch -y
|
||||||
echo '
|
echo '
|
||||||
if [ $USER != "root" ]; then
|
if [ $USER != "root" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
install_nextcloud() {
|
install_nextcloud() {
|
||||||
echo "Installing Nextcloud client"
|
echo "Installing Nextcloud client"
|
||||||
sudo add-apt-repository ppa:nextcloud-devs/client
|
sudo add-apt-repository ppa:nextcloud-devs/client
|
||||||
sudo apt-get update
|
sudo apt update
|
||||||
sudo apt-get install nextcloud-client -y
|
sudo apt install nextcloud-client -y
|
||||||
}
|
}
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_signal() {
|
install_signal() {
|
||||||
echo "Installing signal-desktop "
|
echo "Installing signal-desktop "
|
||||||
sudo apt-get install signal-desktop -y
|
sudo apt install signal-desktop -y
|
||||||
}
|
}
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_stacer() {
|
install_stacer() {
|
||||||
echo "Installing Stacer"
|
echo "Installing Stacer"
|
||||||
sudo apt-get install stacer -y
|
sudo apt install stacer -y
|
||||||
}
|
}
|
@ -3,9 +3,9 @@
|
|||||||
install_sublime_text() {
|
install_sublime_text() {
|
||||||
echo "Installing sublime-text"
|
echo "Installing sublime-text"
|
||||||
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
|
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
|
||||||
sudo apt-get install apt-transport-https -y
|
sudo apt install apt-transport-https -y
|
||||||
sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"
|
sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"
|
||||||
|
|
||||||
sudo apt-get update
|
sudo apt update
|
||||||
sudo apt-get install sublime-text -y
|
sudo apt install sublime-text -y
|
||||||
}
|
}
|
@ -3,6 +3,6 @@
|
|||||||
install_timeshift() {
|
install_timeshift() {
|
||||||
echo "Installing Timeshift"
|
echo "Installing Timeshift"
|
||||||
sudo add-apt-repository -y ppa:teejee2008/ppa
|
sudo add-apt-repository -y ppa:teejee2008/ppa
|
||||||
sudo apt-get update -y
|
sudo apt update -y
|
||||||
sudo apt-get install timeshift -y
|
sudo apt install timeshift -y
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
install_trash_cli() {
|
install_trash_cli() {
|
||||||
echo "Installing trash-cli"
|
echo "Installing trash-cli"
|
||||||
sudo apt-get install trash-cli -y
|
sudo apt install trash-cli -y
|
||||||
}
|
}
|
@ -3,6 +3,6 @@
|
|||||||
install_ulauncher() {
|
install_ulauncher() {
|
||||||
echo "Installing Ulauncher"
|
echo "Installing Ulauncher"
|
||||||
sudo add-apt-repository ppa:agornostal/ulauncher
|
sudo add-apt-repository ppa:agornostal/ulauncher
|
||||||
sudo apt-get update -y
|
sudo apt update -y
|
||||||
sudo apt-get install ulauncher -y
|
sudo apt install ulauncher -y
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,6 @@ install_vscode() {
|
|||||||
echo "Installing VS Code"
|
echo "Installing VS Code"
|
||||||
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
||||||
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
|
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
|
||||||
sudo apt-get update
|
sudo apt update
|
||||||
sudo apt-get install code -y
|
sudo apt install code -y
|
||||||
}
|
}
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
first_install() {
|
first_install() {
|
||||||
echo 'Installing useful apps'
|
echo 'Installing useful apps'
|
||||||
apt-get install net-tools dnsutils nano htop iftop tree zip unzip curl wget sudo -y
|
apt install net-tools dnsutils nano htop iftop tree zip unzip curl wget git sudo -y
|
||||||
}
|
}
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
update() {
|
update() {
|
||||||
echo 'Starting update:'
|
echo 'Starting update:'
|
||||||
sudo apt-get update -y
|
sudo apt update -y
|
||||||
echo 'Starting upgrade:'
|
echo 'Starting upgrade:'
|
||||||
sudo apt-get upgrade -y
|
sudo apt upgrade -y
|
||||||
echo 'Starting dist-upgrade:'
|
echo 'Starting dist-upgrade:'
|
||||||
sudo apt-get dist-upgrade -y
|
sudo apt dist-upgrade -y
|
||||||
}
|
}
|
||||||
|
6
common/redhat/scripts/first_install.sh
Normal file
6
common/redhat/scripts/first_install.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
first_install() {
|
||||||
|
echo 'Installing useful apps'
|
||||||
|
dnf install net-tools dnsutils nano htop iftop tree zip unzip curl wget sudo -y
|
||||||
|
}
|
6
common/redhat/scripts/update.sh
Normal file
6
common/redhat/scripts/update.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
update() {
|
||||||
|
echo 'Starting upgrade:'
|
||||||
|
sudo dnf upgrade
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user