Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ubuntu packages
#!/bin/bash
sudo apt-get install -y \
apt-transport-https \
apt-utils \
ca-certificates \
locales \
gnupg2 \
software-properties-common \
wget
sudo add-apt-repository -y ppa:jonathonf/vim
sudo add-apt-repository -y ppa:fish-shell/release-3
sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install -y \
aptitude \
aria2 \
aspell \
cmake \
fd-find \
fish \
git \
htop \
httpie \
jq \
mariadb-client \
mcrypt \
memcached \
mycli \
ncdu \
ntp \
ntpdate \
p7zip \
pgcli \
python3-pip \
python3-tmuxp \
python3-venv \
rsync \
ruby \
ruby-dev \
silversearcher-ag \
software-properties-common \
tig \
tmux \
tree \
unrar \
unzip \
vim \
virtualenv \
wajig \
wbritish \
xz-utils
sudo sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen &&
dpkg-reconfigure --frontend=noninteractive locales &&
update-locale LANG=en_US.UTF-8
sudo ln -fs /usr/share/zoneinfo/Australia/Sydney /etc/localtime
#!/bin/bash
mkdir -p $HOME/.local/bin
wget https://github.com/BurntSushi/ripgrep/releases/download/12.0.1/ripgrep_12.0.1_amd64.deb -O /tmp/rg.deb
sudo dpkg -i /tmp/rg.deb
wget https://github.com/gopasspw/gopass/releases/download/v1.9.0/gopass_1.9.0_linux_amd64.deb -O /tmp/gopass.deb
sudo dpkg -i /tmp/gopass.deb
wget https://github.com/ogham/exa/releases/download/v0.9.0/exa-linux-x86_64-0.9.0.zip -O /tmp/exa.zip
cd $HOME/.local/bin
unzip /tmp/exa.zip
mv exa-linux-x86_64 exa
wget https://github.com/dalance/procs/releases/download/v0.10.1/procs-v0.10.1-x86_64-lnx.zip -O /tmp/procs.zip
cd $HOME/.local/bin
unzip /tmp/procs.zip
cd $HOME/.local/bin
wget https://github.com/mvdan/sh/releases/download/v3.1.1/shfmt_v3.1.1_linux_amd64
mv shfmt_v3.1.1_linux_amd64 shfmt
chmod a+x shfmt
#!/bin/bash
cd $HOME
git clone git@github.com:dcai/.vim.git
git clone git@github.com:dcai/.password-store.git
git clone git@github.com:dcai/.bin.git
git clone git@github.com:dcai/.fish.d.git $HOME/.config/fish
git clone git@gist.github.com:2885623.git $HOME/.config/git
git clone https://github.com/tmux-plugins/tpm $HOME/.tmux/plugins/tpm
git clone https://github.com/asdf-vm/asdf.git $HOME/.asdf --branch v0.7.8
#!/bin/bash
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
# oracle java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get install -y oracle-java8-installer
sudo apt-get install -y ant maven2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment