Skip to content

Instantly share code, notes, and snippets.

@zshanabek
Last active May 30, 2022 12:04
Show Gist options
  • Save zshanabek/06e175fb9ba3d19514d4bff7fc845eaf to your computer and use it in GitHub Desktop.
Save zshanabek/06e175fb9ba3d19514d4bff7fc845eaf to your computer and use it in GitHub Desktop.
things to do after installing elementary os or any debian based linux distribution (ubuntu, linux mint)
sudo apt-get update # update all repositories
# git setup
sudo apt-get install git
sudo apt-get install gitk # for GUI representation of git history
sudo apt-get install xclip # xclip is for saving shell output in clipboard
git config --global color.ui true # for colourful output in terminal
# update git per-user configuration file
git config --global user.name "Zhunisali" # write here your name and email
git config --global user.email "zshanabek@gmail.com"
# or you can do in alternative way
git config --global --edit
# add it to ~/.bashrc file for searching through commands history
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
source ~/.bashrc # refresh file
# SSH setup
ssh-keygen -t rsa -b 4096 -C "zshanabek@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
xclip -sel clip < ~/.ssh/id_rsa.pub # copy ssh key to clipboard and then paste it somewhere (github, bitbucket, VPS server)
# add, remove PPAs
sudo apt-get install software-properties-common apt-transport-https wget curl gdebi
sudo apt-get install snapd
sudo snap install skype --classic
sudo snap install heroku --classic # free platform to deploy projects
# install python, virtualenv
sudo apt install python3-pip python3-dev
# database postgresql, redis
sudo apt install postgresql postgresql-contrib libpq-dev redis-server
# burn iso to drive
sudo apt-get install usb-creator-gtk
# alternative to microsoft office
sudo apt-get install libreoffice
# torrent client
sudo apt-get install transmission # deluge is also a good option
# vlc - powerful open-source video player
sudo apt-get install vlc
# image editor
sudo apt-get install gimp
# video editor
sudo apt-get install pitivi
# backup tool for linux
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get install timeshift
# some useful tools
sudo apt-get install httpie sshpass neofetch
# manage memory
sudo apt-get install gparted
# firefox
sudo apt-get install firefox
sudo apt install nodejs, npm
# google chrome
sudo apt-get install fonts-liberation
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
# insomnia, rest api client
# add to sources
sudo add-apt-repository "deb [trusted=yes arch=amd64] https://download.konghq.com/insomnia-ubuntu/ default all"
sudo apt-get install insomnia
# oh-my-zsh extension for terminal
sudo apt install zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
# vscode
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt update
sudo apt install code
# atom
wget -q https://packagecloud.io/AtomEditor/atom/gpgkey -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main"
sudo apt install atom
# telegram desktop
wget -O- https://telegram.org/dl/desktop/linux | sudo tar xJ -C /opt/ # download package, unzip and move to /opt directory
sudo ln -s /opt/Telegram/Telegram /usr/local/bin/telegram-desktop
# discord
wget -O discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
sudo dpkg -i discord.deb
sudo apt-get install -f
sudo dpkg -i discord.deb
# zoom
wget https://zoom.us/client/latest/zoom_amd64.deb
sudo dpkg -i zoom_amd64.deb
rm *.deb
# only elementaryos related configs
sudo rfkill unblock bluetooth # enable bluetooth
# increase limit of file watches. vscode requires this config for working with large files
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
# clean
sudo apt autoremove && sudo apt autoclean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment