如何使用终端在 ubuntu 中安装 .deb 文件?

use*_*432 13 installation command-line google-chrome deb

我正在尝试安装 Google Chrome,为此我下载了一个 google-chrome-stable_current_i386.deb 文件。

当我尝试install在终端中安装时使用

sudo install google-chrome-stable_current_i386.deb

它给出了以下错误。

install: missing destination file operand after ‘google-chrome-stable_current_i386.deb’ Try 'install --help' for more information.

Dee*_*pal 26

您可以像以前的答案所说的那样使用终端安装,

sudo dpkg -i google-chrome-stable_current_i386.deb
Run Code Online (Sandbox Code Playgroud)

或者,您可以双击下载的 .deb 文件,它将在Ubuntu 软件中心打开(如果您使用的是 ubuntu)。然后你可以点击安装按钮安装它。