how to get and install in one line , wth curl and dpkg
<p>I want to get and install in bash one line, like:</p>

<pre><code>curl XXX.deb | dpkg -i
</code></pre>

<p>but dpkg report argument missing
how to get it work?</p>