天佑好人 發表於 2023-6-11 00:00:00

Ubuntu 16.04下无法安装.deb的解决方法

<p>
        <span><strong>前言</strong></span></p>
<p>
        本文主要给大家讲述了在 ubuntu 16.04 在刚安装好的时候,下载一些 .deb 软件后,通过 <code>ubuntu softwrare center </code>无法安装的解决方案。下面话不多说,来看看详细的介绍吧。</p>
<p>
        <span><strong>问题</strong></span></p>
<p>
        当刚安装好 ubuntu 16.04 后,发现要安装 chrome 和 搜狗拼音都安装不了,下载的是 .deb 文件,出现图片中的问题。</p>
<p>
        <img style="max-width:100%!important;height:auto!important;"title="Ubuntu 16.04下无法安装.deb的解决方法" alt="Ubuntu 16.04下无法安装.deb的解决方法" src="https://zhuji.jb51.net/uploads/img/202305/9a740349f66aaeb437c3aa0e83f81479.jpg"></p>
<p>
        <span><strong>解决方案</strong></span></p>
<div class="jb51code">
        <div>
                <div class="syntaxhighlighterbash" id="highlighter_854043">
                        <div class="toolbar">
                                <span>?</span>
</div>
                        <table border="0" cellpadding="0" cellspacing="0"><tbody><tr>
<td class="gutter">
                                                        <div class="line number1 index0 alt2">
                                                                1</div>
                                                </td>
                                                <td class="code">
                                                        <div class="container">
                                                                <div class="line number1 index0 alt2">
                                                                        <code class="bash functions">sudo</code> <code class="bash plain">apt-get </code><code class="bash functions">install</code> <code class="bash plain">gdebi</code>
</div>
                                                        </div>
                                                </td>
                                        </tr></tbody></table>
</div>
        </div>
</div>
<p>
        接着在右击你要安装的 .deb 文件,选择 open with —&gt; gdebi package installer这时会有如下窗口,点击 install package</p>
<p>
        <img style="max-width:100%!important;height:auto!important;"title="Ubuntu 16.04下无法安装.deb的解决方法" alt="Ubuntu 16.04下无法安装.deb的解决方法" src="https://zhuji.jb51.net/uploads/img/202305/9f647ef20d86505c69e531e597f839b3.jpg"></p>
<p>
        有如下结果代表安装成功!!!</p>
<p>
        <img style="max-width:100%!important;height:auto!important;"title="Ubuntu 16.04下无法安装.deb的解决方法" alt="Ubuntu 16.04下无法安装.deb的解决方法" src="https://zhuji.jb51.net/uploads/img/202305/87bd0b95ccac9719f46b01cd347c11a5.jpg"></p>
<p>
        参考文章:</p>
<p>
        16.04 cannot install anything from ubuntu software center </p>
<p>
        <span><strong>总结</strong></span></p>
<p>
        以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作能带来一定的帮助,如有疑问大家可以留言交流,谢谢大家对的支持。</p>
頁: [1]
查看完整版本: Ubuntu 16.04下无法安装.deb的解决方法