<astyle=margin-left:1px;margin-right:1px;display:inline-blockhref=https://minio.arsenm.dev/minio/pak><imgstyle=height:18px;width:100pxsrc="https://img.shields.io/static/v1.svg?label=download&message=binary&color=blue"></a></p><h3id=config-file>Config file<ahref=#config-fileclass=anchoraria-hidden=true>#</a></h3><p>Pak uses a custom config file at <code>/etc/pak.cfg</code>. For example, this is what the
apt config looks like:</p><divclass=highlight><preclass=chroma><codeclass=language-cfgdata-lang=cfg><spanclass=c1># Write the name of the package manager in all lowercase below</span>
<spanclass=na>apt</span>
<spanclass=c1># Write a comma separated list of commands from the manager below</span>
<spanclass=c1># Write "yes" or "no" depending on whether you want to use root</span>
<spanclass=na>yes</span>
<spanclass=c1># Write command to use for root</span>
<spanclass=na>sudo</span>
<spanclass=c1># Write a comma separated list of shortcuts below</span>
<spanclass=na>rm,inst</span>
<spanclass=c1># Write a comma separated list of shortcut mappings from the manager below</span>
<spanclass=na>remove,install</span>
</code></pre></div><p>This file is read by pak to tell it what to do. The comments above each keyword
explain what it’s for.</p><p>Here is a list of all the fields and their uses:</p><ol><li>Command to invoke the package manager.</li><li>Comma-separated list of commands supported by the package manager.</li><li>Whether or not to invoke the root command.</li><li>Command to use for root invocation (<code>sudo</code>, <code>doas</code>, etc.)</li><li>Comma-separated list of shortcuts for pak to accept</li><li>Comma-separated list of shortcut mappings (what each shortcut sends to the
package manager). These do not necessarily need to be in the commands list.</li></ol><p>Once you have made the config, just place it at <code>/etc/pak.cfg</code> and pak will
automatically use it.</p></main></div></div></div><scriptsrc=/main.f6b484f556ad1f3bcf6061082139a2f21fa759f13930c39a25fe4a9f78f35e64122c2d86dffd56e67b292dabbda4095d8077194f196e0e348441c106a9f3d40e.jsintegrity="sha512-9rSE9VatHzvPYGEIITmi8h+nWfE5MMOaJf5Kn3jzXmQSLC2G3/1W5nspLau9pAldgHcZTxluDjSEQcEGqfPUDg=="crossorigin=anonymousdefer></script><scriptsrc=/index.min.519647b94aaacaa6fa73ffc9e4bda4ccc0d6ab69b03000caea7466a9dc6806cf38f9d8c6926c09e49970a5fe43183e0d589a028bbf3b8ef0ef5c98fc6fb78206.jsintegrity="sha512-UZZHuUqqyqb6c//J5L2kzMDWq2mwMADK6nRmqdxoBs84+djGkmwJ5Jlwpf5DGD4NWJoCi787jvDvXJj8b7eCBg=="crossorigin=anonymousdefer></script></body></html>