Skip to content

Instantly share code, notes, and snippets.

View Abrynos's full-sized avatar

Sebastian Göls Abrynos

View GitHub Profile
@JustArchi
JustArchi / get-dotnet.sh
Last active November 11, 2026 06:42
Script intended for environments without dotnet installer available, to easily and quickly install/update .NET SDK
#!/usr/bin/env sh
set -eu
# Main version for SDK and runtime
MAIN_VERSION="10.0"
# Installation directory
INSTALL_DIR="/usr/share/dotnet"
# If you need additional runtimes, specify their versions here separated by space, such as "9.0 8.0"
@wkrea
wkrea / textlive-full-beefless.md
Created September 2, 2020 13:30 — forked from shivams/textlive-full-beefless.md
`texlive-full` without the beef

TLDR;

On an Debian/Ubuntu-based system, to install texlive-full without docs and language packs, simply do this:

sudo apt install `sudo apt --assume-no install texlive-full | \
		awk '/The following additional packages will be installed/{f=1;next} /Suggested packages/{f=0} f' | \
		tr ' ' '\n' | grep -vP 'doc$' | grep -vP 'texlive-lang' | grep -vP 'latex-cjk' | tr '\n' ' '`

After this, if you wish to install the language packs, selectively install them. E.g.: