how to get and install in one line , wth curl and dpkg

Viewed 8678

I want to get and install in bash one line, like:

curl XXX.deb | dpkg -i

but dpkg report argument missing how to get it work?

2 Answers
Related