Skip to content

Instantly share code, notes, and snippets.

@juanpampliega
Created September 24, 2019 12:21
Show Gist options
  • Save juanpampliega/fc089003d28f2718b54cdc2e6741888f to your computer and use it in GitHub Desktop.
Save juanpampliega/fc089003d28f2718b54cdc2e6741888f to your computer and use it in GitHub Desktop.
Ubuntu Setup Install New Machine Alacritty, tmux, python3, vscode, fzf,
sudo apt install python3
sudo apt install python3-pip
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt update
sudo apt install code
sudo apt-get install -y cmake libfreetype6-dev libfontconfig1-dev xclip
export EDITOR=code
#install rust
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
sudo apt install fd-find
sudo snap install ripgrep --classic
sudo apt install gnome-tweak-tool
# docker
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
sudo usermod -aG docker ${USER}
su - ${USER}
export VER="0.12.1"
wget https://github.com/sharkdp/bat/releases/download/v${VER}/bat_${VER}_amd64.deb
sudo dpkg -i bat_${VER}_amd64.deb
#install fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
cd ~/.fzf
ls
./install
#config fzf
mv petobens-dotfiles/fzf_bash.sh .
mv .fzf.bash .fzf.bash.old
mv fzf_bash.sh .fzf.bash
sudo apt install -y automake build-essential pkg-config libevent-dev libncurses5-dev
sudo apt-get install bison flex
git clone https://github.com/tmux/tmux.git /tmp/tmux
cd /tmp/tmux
git checkout master
sh autogen.sh
./configure && make
sudo make install
tmux -V
mkdir ~/.tmux
cp ~/petobens-dotfiles/tmux/* ~/.tmux/
sudo add-apt-repository ppa:mmstick76/alacritty
sudo apt install alacritty
mkdir -p ~/.config/alacritty
cp alacritty.yml ~/.config/alacritty/
less alacritty.yml
#restart alacritty
# stoken
sudo apt-get install stoken
sudo snap install spotify
sudo snap install netflix
sudo snap install utorrent
# git
git config --global user.name "Juan Pampliega"
git config --global user.email juan@muttdata.ai
git config --global core.editor vim
#Download Zoom .deb file from the it's webpage
sudo dpkg -i zoom_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment