uTools-Manuals/docs/linux/dpkg-reconfigure.html
2019-04-21 11:50:48 +08:00

24 lines
1.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="dpkg-reconfigure">dpkg-reconfigure</h1>
<p>Debian Linux中重新配制一个已经安装的软件包</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>dpkg-reconfigure命令</strong> 是Debian Linux中重新配置已经安装过的软件包可以将一个或者多个已安装的软件包传递给此指令它将询问软件初次安装后的配置问题。</p>
<p>当用户需要再次对软件包配置的时候可以使用dpkg-reconfigure命令来对指定的软件包进行配置。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">dpkg-reconfigure(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-a重新配置所有的软件包
-u或--unseen-only仅显示未提过的问题
--default-priority使用默认优先级而非“低”级
--force强制执行操作需谨慎使用此选项
--no-reload不要轻易的重装模板使用时请慎重考虑
-f或--frontend指定 debconf 前端界面;
-p或--priority指定要显示的问题的最优先级
--terse开启简要模式。
</code></pre>
<h3 id="参数">参数</h3>
<p>软件包名:需要重新配置的已安装的软件包。</p>
<h3 id="实例">实例</h3>
<p>用于配置语言:</p>
<pre><code class="language-bash">sudo dpkg-reconfigure locales</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->