diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-07-11 18:10:53 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-07-11 18:10:53 +0200 |
| commit | 8cfe656fbb312398244d6f0e820d4f179db3cfc7 (patch) | |
| tree | 31102175eb71b82eece64ba62cf494e1014b0fc9 /guides/setups/package-management.md | |
| parent | 66d44f9dbb1f6a6e8af5d51677ee39c496c46caa (diff) | |
| download | memory-leaks-8cfe656fbb312398244d6f0e820d4f179db3cfc7.tar.xz | |
Move some things around
Diffstat (limited to 'guides/setups/package-management.md')
| -rw-r--r-- | guides/setups/package-management.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/guides/setups/package-management.md b/guides/setups/package-management.md new file mode 100644 index 0000000..e6afc7a --- /dev/null +++ b/guides/setups/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 + ``` |
