From b1b42318e46cab7740dc0bd39b12db6c192ff7fa Mon Sep 17 00:00:00 2001 From: James Blair Date: Fri, 28 Jan 2022 15:07:47 +1300 Subject: [PATCH] Flesh out mint setup guide further. --- mint-setup.org | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/mint-setup.org b/mint-setup.org index 1ab7eda..d69d299 100644 --- a/mint-setup.org +++ b/mint-setup.org @@ -12,10 +12,31 @@ I use Linux Mint as my daily driver operating system on a variety of different m * Setup home directory structure + + * Configure apt to use a local mirror +To speed up how quickly our system can install new or updated packages we should tell ~apt~ to use a mirror here in New Zealand. + +#+begin_src tmate +# Backup our apt sources configuration before we make changes +sudo cp /etc/apt/sources.list.d/official-package-repositories.list /etc/apt/sources.list.d/official-package-repositories.list.bak + +# Replace packages repo with local +cat /etc/apt/sources.list.d/official-package-repositories.list +sed -i 's|oldurl|http://ucmirror.canterbury.ac.nz|g' /etc/apt/sources.list.d/official-package-repositories.list +#+end_src + + * Install base packages +Now that we have our ~apt~ package manager configured let's install the standard packages we use. + +#+begin_src tmate +sudo apt install --yes htop screenfetch git curl wget xclip emacs xterm xtermcontrol jq +#+end_src + + * Restore ssh keys and dotfiles * Optional - Install hardware drivers