Skip to content

Instantly share code, notes, and snippets.

@rkbi
Last active October 13, 2020 11:57
Show Gist options
  • Save rkbi/284ad037b015c4f9fc295c56789d5548 to your computer and use it in GitHub Desktop.
Save rkbi/284ad037b015c4f9fc295c56789d5548 to your computer and use it in GitHub Desktop.
Configure New OpenSuse Tumbleweed
sudo zypper install git zsh;
chsh -s /usr/bin/zsh;
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)";
nano ~/.zshrc; # set ZSH_THEME="lambda";
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg ;
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo ;
sudo zypper addrepo https://repo.skype.com/rpm/stable/skype-stable.repo ;
sudo zypper ar https://repo.vivaldi.com/archive/vivaldi-suse.repo
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc ;
sudo zypper ar https://packages.microsoft.com/yumrepos/vscode vscode ;
sudo sh -c 'echo -e "[teams]\nname=teams\nbaseurl=https://packages.microsoft.com/yumrepos/ms-teams\nenabled=1\nautorefresh=1\nkeeppackages=0\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/zypp/repos.d/teams.repo' ;
sudo zypper update;
sudo zypper in -t pattern xfce;
sudo zypper install htop vnstat aria2 fdupres telnet flameshot jq chromium vivaldi-stable yakuake fish tmux QtPass php7 php7-curl php7-mbstring php7-fileinfo php7-gd php-composer nodejs12 telegram-desktop sublime-text sublime-merge skypeforlinux gparted filezilla code go1.14 sqlitebrowser teams gstreamer-plugins-bad gstreamer-plugins-libav gstreamer-plugins-ugly x264 libx264-160 x265 libx265-179 converseen darktable python3-beautifulsoup4 maven gradle xfce4-clipman-plugin ntp;
# Install Yarn Package Manager
curl -o- -L https://yarnpkg.com/install.sh | bash
# Install Oh My Fish
curl -L https://get.oh-my.fish | fish
# sublime package control, sync settings;
# vscode sync settings;
gpg --import [my-private-key.gpg];
mkdir ~/.ssh
touch ~/.ssh/authorized_keys
cp [backup]/ssh-keys/id_rsa.github ~/.ssh/id_rsa.github;
cp [backup]/ssh-keys/id_rsa.github.pub ~/.ssh/id_rsa.github.pub;
chmod 700 ~/.ssh
chmod 600 ~/.ssh/*;
eval `ssh-agent -s`;
ssh-add ~/.ssh/id_rsa.github;
nano ~/.ssh/config;
### ~/.ssh/config file starts here
# Host *github.com
# IdentityFile ~/.ssh/id_rsa.github
# User git
### ~/.ssh/config file ends here
# configure gopass;
# configure vnstat
sudo systemctl enable vnstatd;
# Enable TLP (for laptops)
sudo systemctl enable tlp;
# Install fish shell themes and packages
omf install weather pisces;
set -U fish_user_paths ~/bin $fish_user_paths;
# Install laravel CLI tool
composer global require laravel/installer;
set -U fish_user_paths /home/rkbssl/.config/composer/vendor/bin $fish_user_paths;
# Install symfony CLI tool
wget https://get.symfony.com/cli/installer -O - | bash;
set -U fish_user_paths /home/rkbssl/.symfony/bin/symfony $fish_user_paths;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment