<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.62fb3c8cfeb57442869c870d0aa4097451dc6fe9de70b1c63ef4e25068adfe13bbe1398854c68f4d8fc47ab4a2c1b0840685a16bb51b1a658dea09ec42eca1cb.jsintegrity="sha512-Yvs8jP61dEKGnIcNCqQJdFHcb+necLHGPvTiUGit/hO74TmIVMaPTY/EerSiwbCEBoWha7UbGmWN6gnsQuyhyw=="crossorigin=anonymousdefer></script></body></html>