Skip to content

Instantly share code, notes, and snippets.

@practicalli-johnny
Last active November 24, 2025 16:23
Show Gist options
  • Select an option

  • Save practicalli-johnny/fb0e427650461bdf688f1815750489d2 to your computer and use it in GitHub Desktop.

Select an option

Save practicalli-johnny/fb0e427650461bdf688f1815750489d2 to your computer and use it in GitHub Desktop.
Debian Linux Post Install scripts for Practicalli
# Set Kitty as the default terminal
sudo update-alternatives --set x-terminal-emulator "/usr/bin/kitty"
audacity
blender
curl
emacs
exfalso
flameshot
handbrake
inkscape
ffmpeg
flameshot
fonts-firacode
geeqie
gimp
kitty
meld
nfs-common
obs-studio
opus-tools
openjdk-sdk
puddletag
ranger
simplescreenrecorder
vlc
wget
zsh
evolution evolution-common evolution-data-server-common
malcontent
#! /bin/sh
# Batch install Debian Linux packages used by Practicalli
# Skip packages if they are already installed
# Fails to read contents of file
# apt-get -y --ignore-missing install $(< debian-post-install-packages.list)
# NOTES:
# - apt-get backend used as features of apt UI not required for scripts
packages="debian-linux-post-install-packages.list"
while read -r line
do
echo
echo "==========================================="
echo Install "$line"
echo "==========================================="
echo
apt-get -y --ignore-missing install "$line"
done < "$packages"

Manual install

Global or Local install outside of the Debian Linux package maangement tool.

TODO: include a check for an existing binary before download & install

e.g. if ! (which binary-name) install binary fi

Editors

neovim

https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz

Practicalli

  • dotfiles
  • clojure-cli-config
  • clojure-lsp-config
  • books
  • Python virtual environment
  • Material for MkDocs

Apps

Slack - Debian package Discord - Debian package

#!/usr/bin/env bash

url="https://discord.com/api/download?platform=linux&format=deb"
curl -L -o /tmp/discord.deb $url
sudo apt install /tmp/discord.deb

TUIs

BTM

curl -LO https://github.com/ClementTsang/bottom/releases/download/0.11.3/bottom_0.11.3-1_amd64.deb
sudo dpkg -i bottom_0.11.3-1_amd64.deb

Caligula

lazygit - GitHub release

GitHub CLI - Debian Linux script

(type -p wget >/dev/null || (sudo apt update && sudo apt install wget -y)) \
	&& sudo mkdir -p -m 755 /etc/apt/keyrings \
	&& out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \
	&& cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
	&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
	&& sudo mkdir -p -m 755 /etc/apt/sources.list.d \
	&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
	&& sudo apt update \
	&& sudo apt install gh -y

gh-dash - docs - install as a GitHub CLI extension

gh extension install dlvhdr/gh-dash

File explorers

  • nnn is packaged for Debian Linux, but seems a little basic

System tools

Systemd manager tui - nice system service manager and log viewer systemctl-tui - has an installer script that could be useful to emulate (tool not quite as nice as systemd manager tui)

Browser

Chrome browser

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