You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Debian Linux中安装dpkg文件及.deb软件包(以chromex64.deb为例)

Hey there! Since you're new to Linux and Debian specifically, let's break down exactly how to install .deb packages—using your chromex64.deb file as an example. I'll walk you through two reliable methods so you can pick what feels most comfortable.

Method 1: Using the dpkg Command (The Basic Approach)

This is the core tool for handling .deb packages in Debian, so it's good to know how it works:

  • First, make sure your chromex64.deb file is downloaded (it's probably in your Downloads folder by default). Open a terminal quickly with Ctrl+Alt+T.
  • Navigate to the folder where the file is stored. If it's in Downloads, run:
    cd ~/Downloads
    
  • Install the package with dpkg—you'll need admin privileges, so use sudo:
    sudo dpkg -i chromex64.deb
    
    Quick breakdown: sudo gives you root access, dpkg is Debian's package manager, and -i stands for "install".
  • Common hiccup: You might see an error about missing dependencies. Don't panic! Fix this by running:
    sudo apt-get install -f
    
    This command automatically downloads and installs all the missing libraries needed for Chrome to run. Once it finishes, your installation should be complete.

apt is a more user-friendly tool that wraps around dpkg and handles dependencies automatically. Here's how to use it:

  • Open your terminal and navigate to the folder with chromex64.deb (again, likely cd ~/Downloads).
  • Run this command—make sure to include ./ before the filename to tell apt it's a local file:
    sudo apt install ./chromex64.deb
    
  • That's it! apt will install the package and resolve any dependency issues in one go. No extra commands needed.

Quick Post-Install Tips

  • To launch Chrome, you can find it in your system's application menu, or just type google-chrome into the terminal.
  • If you ever need to uninstall it later, use the official package name (not the .deb filename):
    sudo apt remove google-chrome-stable
    

内容的提问来源于stack exchange,提问作者Amit Singh

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.08 10:02:51