From c28de7d0cab86d8584377e33ceaa6b039ee16cf5 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 5 Jul 2018 20:22:25 +0200 Subject: Add notes on my laptop setup Sneak-remove my itch to disable auto-fill for Markdown titles, since I'm not sure any mode ever does things like that. While this does not mean that it could not be done, it does make the endeavor somewhat non-idiomatic. --- personal/setup/package-management.md | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 personal/setup/package-management.md (limited to 'personal/setup/package-management.md') diff --git a/personal/setup/package-management.md b/personal/setup/package-management.md new file mode 100644 index 0000000..e6afc7a --- /dev/null +++ b/personal/setup/package-management.md @@ -0,0 +1,42 @@ +Here are some things that I do often enough that I want to remember +how to do them properly, yet rarely enough that I will probably forget +this stuff if I do not write it down. + +# Package managers + +## APT + +Add deb-src repositories to get: + +- `changelog` +- `build-dep` +- `source` + +# Installing stuff under `$HOME` + +E.g. pandoc (compiled from source tarball with stack because there is +no 32-bit release) and ripgrep: + +- programs: + - install in `~/.local/bin` + - add this folder to `$PATH` (in `.profile` and `.xsessionrc`) + +- manpages: + - install in `~/.local/share/man/man1` + - in `~/.manpath`: + + MANPATH_MAP ~/.local/bin ~/.local/share/man + + - run `mandb --user-db` + +- bash completion scripts: + - install in `~/.local/share/bash-completion` + - in `~/.bash_completion` (sourced by + `/usr/share/bash-completion/bash_completion`): + + ``` bash + for f in ~/.local/share/bash-completion/* + do + [ -f "$f" ] && . "$f" + done + ``` -- cgit v1.2.3