Skip to content

Instantly share code, notes, and snippets.

@jartigag
Last active June 4, 2019 18:29
Show Gist options
  • Save jartigag/098ce8a01dd3f5e81a9d692ee92b8ca5 to your computer and use it in GitHub Desktop.
Save jartigag/098ce8a01dd3f5e81a9d692ee92b8ca5 to your computer and use it in GitHub Desktop.
init-config [ bash <(wget -O https://git.io/fN5CH) ]
su
apt install curl wget apt-transport-https dirmngr
wget http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2016.8.1_all.deb && dpkg -i deb-multimedia-keyring_2016.8.1_all.deb
wget -nv https://download.opensuse.org/repositories/network:messaging:xmpp:dino/Debian_9.0/Release.key -O Release.key && apt-key add - < Release.key && rm Release.key
wget -q -O - http://download.opensuse.org/repositories/home:/ivaradi/Debian_9.0/Release.key | apt-key add -
apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys EFDC8610341D9410
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add -
sources="#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#
###### Debian Main Repos
deb http://deb.debian.org/debian/ stable main contrib non-free
deb-src http://deb.debian.org/debian/ stable main contrib non-free
deb http://deb.debian.org/debian/ stable-updates main contrib non-free
deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free
deb http://deb.debian.org/debian-security stable/updates main
deb-src http://deb.debian.org/debian-security stable/updates main
#------------------------------------------------------------------------------#
# UNOFFICIAL REPOS
#------------------------------------------------------------------------------#
###### 3rd Party Binary Repos
###Debian Multimedia
deb [arch=amd64,i386] https://www.deb-multimedia.org stable main non-free
###Nextcloud Client
deb [arch=amd64,i386] http://download.opensuse.org/repositories/home:/ivaradi/Debian_9.0/"
echo "$sources" > /etc/apt/sources.list
apt update
apt install sudo -y
echo ' javi ALL=(ALL) ALL' >> /etc/sudoers
su javi
sudo apt remove kde-l10n-* -y
sudo apt install kde-l10n-es -y
sudo apt remove task-* -y
sudo apt remove firefox-esr -y
sudo apt install --no-install-recommends firefox-esr firefox-esr-l10n-es-es -y
sudo apt install chromium chromium-l10n -y
sudo apt install dirmngr -y
sudo apt update
sudo apt install sublime-text -y
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410
sudo apt install spotify-client -y
# sudo dpkg -i https://github.com/magkopian/keepassxc-debian/releases/download/2.2.4-1/keepassxc_2.2.4-1_amd64_stable_stretch.deb
sudo apt install keepassxc -y
sudo apt --fix-broken install
sudo apt install keepassxc -y
sudo apt remove korganizer kmail kaddressbook goldendict ibus fcitx* kate kwrite -y
sudo apt remove --purge libreoffice* -y
sudo apt clean
sudo apt update
sudo apt autoremove -y
sudo apt install bluetooth xorg konsole git gpg screenfetch -y
sudo apt install dolphin okular skanlite kprinter4 pdfmod filelight partitionmanager -y
sudo apt install gimp vlc kdenlive audacity musescore -y
sudo apt install plasma-discover ktorrent eclipse wireshark nmap -y
sudo apt install libreoffice-writer libreoffice-calc libreoffice-impress -y
nextcloud="deb http://ppa.launchpad.net/nextcloud-devs/client/ubuntu zesty main
deb-src http://ppa.launchpad.net/nextcloud-devs/client/ubuntu zesty main"
echo "$nextcloud" | sudo tee /etc/apt/sources.list.d/nextcloud-client.list
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com AD3DD469
sudo apt update
sudo apt install nextcloud-client -y
sudo apt upgrade -y
echo "Paquetes KDE instalados: "
apt list | grep kde | grep instalado | wc -l
## Install Spotify ##
#
# 1. Add the Spotify repository signing keys to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
# 2. Add the Spotify repository
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
# 3. Update list of available packages
sudo apt update
# 4. Install Spotify
sudo apt install spotify-client
## Install Sublime Text ##
#
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt update
sudo apt install sublime-text
@jartigag
Copy link
Author

echo "##Latest Firefox
deb [trusted=yes] http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" > /etc/apt/sources.list
apt install firefox-mozilla-build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment