Skip to content

Instantly share code, notes, and snippets.

@filevich
Last active August 26, 2024 16:39
Show Gist options
  • Save filevich/879b0fc131dce4476c61ee3128ff1331 to your computer and use it in GitHub Desktop.
Save filevich/879b0fc131dce4476c61ee3128ff1331 to your computer and use it in GitHub Desktop.
linux install essentials

Gnome config

  • Appearance > Auto-hide the Dock: on
  • Appearance > Icon size: 20
  • Search > Files + Characters: off
  • Sound > Over-Amplification on
  • Power > Auto brightness: off
  • Power > Sreen Blank: never
  • Power > Power Button Behaviour: Suspend
  • Mouse & Touchpad > Natural scrolling: off
  • Keyboard > Input Sources > +spanish

Essentials

Chrome: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + change download folder to /tmp

Git:

sudo apt install git
git config --global credential.helper store
git config --global init.defaultBranch main
git config --global pager.branch false
git config --global push.default current

ZSH:

sudo apt install zsh
chsh -s $(which zsh)

log-out log-in

sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

Python

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh

conda create -n dev python=3.10 && conda activate dev

conda install -c anaconda notebook=6.5.4 ipykernel

python -m ipykernel install --user --name=dev

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash

nvm ls-remote --lts

nvm install v20.16.0

nvm use default or nvm use v20.16.0

Go

download go from here

sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf <PATH-TO-DOWNLOADED-TAG-HERE>

Add this to your $HOME/.profile

export PATH=$PATH:/usr/local/go/bin

check

go version

ssh

sudo apt install openssh-server
sudo systemctl enable ssh --now

apps

open source

sudo apt install -y lm-sensors nmap okular podman build-essential
alias docker=podman
  • VeraCrypt
sudo add-apt-repository ppa:unit193/encryption -y
sudo apt update
sudo apt install veracrypt

proprietary

 - zoom, vscode, discord
 - postman (`snap install postman`)
 - dbeaver

vscode

{
    "window.titleBarStyle": "custom",
    "window.zoomLevel": -0.5,
    "editor.tabSize": 2,
    "editor.rulers": [
        80,
    ],
    "editor.minimap.enabled": false
}

Latex

SLURM

alias sq='squeue --format="%.9i %.9P %.40j %.8u %.22S %.8T %.10M %.9l %.6D %R" -u $USER'

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