initial commit
This commit is contained in:
44
install/apt-packages.sh
Executable file
44
install/apt-packages.sh
Executable file
@@ -0,0 +1,44 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
echo "==> Installing base apt packages..."
|
||||
|
||||
sudo apt update
|
||||
|
||||
PACKAGES=(
|
||||
# essentials
|
||||
build-essential
|
||||
curl
|
||||
wget
|
||||
git
|
||||
unzip
|
||||
zip
|
||||
stow
|
||||
|
||||
# terminal
|
||||
tmux
|
||||
|
||||
# search / file tools
|
||||
ripgrep
|
||||
fd-find
|
||||
tree
|
||||
|
||||
# network
|
||||
openssh-client
|
||||
rsync
|
||||
|
||||
# libs often needed for compiling things
|
||||
pkg-config
|
||||
libssl-dev
|
||||
libfontconfig1-dev
|
||||
)
|
||||
|
||||
sudo apt install -y "${PACKAGES[@]}"
|
||||
|
||||
if ! command -v fd &>/dev/null && command -v fdfind &>/dev/null; then
|
||||
mkdir -p "$HOME/.local/bin"
|
||||
ln -sf "$(which fdfind)" "$HOME/.local/bin/fd"
|
||||
echo " linked fdfind -> fd"
|
||||
fi
|
||||
|
||||
echo "==> apt packages done."
|
||||
Reference in New Issue
Block a user