如何使用终端在ubuntu中安装.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.

你可以使用终端安装,如前面的答案所说,

 sudo dpkg -i google-chrome-stable_current_i386.deb 

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

您可以使用dpkg命令安装它:

 sudo dpkg -i google-chrome-stable_current_i386.deb 

检查dpkg --help以获取更多信息。