<commit_before>[TOC]

# Overview
- `pacman` will not remove configuration that the application itself creates (for examples "dotfiles" in the home folder).

# User guide
- To install packages: `# pacman -S pkg_name1 pkg_name2 ...`
- To remove a package and leaving all of its dependencies: `# pacman -R pkg_name`
- To remove a package and its dependencies: `# pacman -Rs pkg_name`
- To remove a package, its dependencies and all the packages that depend on the target package: `# pacman -Rsc pkg_name`
- To remove a package, which is required by another package, without removing the dependent package: `# pacman -Rdd pkg_name`
- To synchronize the repository database and update the system's packages (excluding "local" packages that are not in the configured repositories): `# pacman -Syu`
- Remember that pacman's output is logged in `/var/log/pacman.log`
- To query the local package database with the `-Q` flag: `$ pacman -Q --help`
- To query the sync databases with the `-S` flag: `$ pacman -S --help`
- To search for packages: `$ pacman -Ss string1 string2 ....`
- To search for already installed packages: `$ pacman -Qs string1 string2 ...`
- To display extensive information: `$ pacman -Si pkg_name`
- For locally: `$ pacman -Qi pkg_name`
- To retrieve a list of the files installed by a package: `$ pacman -Ql pkg_name` or `$ pacman -Qlq package | grep -v '/$' | xargs du -h | sort -h`
- To list all packages no longer required as dependencies (orphans): `$ pacman -Qdt`
- To list all packages explicitly installed and not required as dependencies: `$pacman -Qet`<commit_msg>Limit search results<commit_after>[TOC]

# Overview
- `pacman` will not remove configuration that the application itself creates (for examples "dotfiles" in the home folder).

# User guide
- To install packages: `# pacman -S pkg_name1 pkg_name2 ...`
- To remove a package and leaving all of its dependencies: `# pacman -R pkg_name`
- To remove a package and its dependencies: `# pacman -Rs pkg_name`
- To remove a package, its dependencies and all the packages that depend on the target package: `# pacman -Rsc pkg_name`
- To remove a package, which is required by another package, without removing the dependent package: `# pacman -Rdd pkg_name`
- To synchronize the repository database and update the system's packages (excluding "local" packages that are not in the configured repositories): `# pacman -Syu`
- Remember that pacman's output is logged in `/var/log/pacman.log`
- To query the local package database with the `-Q` flag: `$ pacman -Q --help`
- To query the sync databases with the `-S` flag: `$ pacman -S --help`
- To search for packages: `$ pacman -Ss string1 string2 ....`
- To limit the search results: `$ pacman -Ss '^string$'`
- To search for already installed packages: `$ pacman -Qs string1 string2 ...`
- To display extensive information: `$ pacman -Si pkg_name`
- For locally: `$ pacman -Qi pkg_name`
- To retrieve a list of the files installed by a package: `$ pacman -Ql pkg_name` or `$ pacman -Qlq package | grep -v '/$' | xargs du -h | sort -h`
- To list all packages no longer required as dependencies (orphans): `$ pacman -Qdt`
- To list all packages explicitly installed and not required as dependencies: `$pacman -Qet`
{'fraction_non_alphanumeric': 0.10012360939431397, 'fraction_numerical': 0.003708281829419036, 'mean_word_length': 3.897125567322239, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1260754', 'n_tokens_mistral': 980, 'n_tokens_neox': 931, 'n_words': 455}