snipt

Ctrl+h for KB shortcuts

Bash

List out files of a package

$ dpkg -L <package_name>
https://snipt.net/embed/79d483aca302990a6bd2a84148a82f22/
/raw/79d483aca302990a6bd2a84148a82f22/
79d483aca302990a6bd2a84148a82f22
bash
Bash
1
2019-07-19T22:52:18
True
False
False
/api/public/snipt/32439/
list-out-files-of-a-package
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ dpkg -L &lt;package_name&gt; </span></pre></div> </td></tr></table>
dpkg, linux, ubuntu

Bash

Install deb packages

$ dpkg -i package.deb
https://snipt.net/embed/06dbfef3933a0daed8ef2459da95f4b5/
/raw/06dbfef3933a0daed8ef2459da95f4b5/
06dbfef3933a0daed8ef2459da95f4b5
bash
Bash
1
2019-07-14T07:15:41
True
False
False
/api/public/snipt/17243/
install-deb-packages
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ dpkg -i package.deb </span></pre></div> </td></tr></table>
dpkg, ubuntu