First, install the google-chrome-stable
1. Open the terminal and download the corresponding package
#下载32位版本
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
#下载64为版本
wget Https://dl.google.com/linxu/direct/google-chrome-stable_current_amd64.deb
2. Install the corresponding Deb package, where the dpkg command is a utility used by the Debian Linux system to install, create, and manage software packages.
sudo dpkg-i google-chrome-stable_current_amd64.deb
#以下是dpkg命令的一些基本用法
dpkg-i package.deb #安装包
dpkg-r Pack #删除包
dpkg-p package #删除包 (including profiles)
Dpkg-l packs Age #列出与该包关联的文件
dpkg-l package #显示该包的版本
dpkg--unpack package.deb #解开deb包的内容
dpkg-s keyword #搜索所属的包内容
dpkg-l #列出当前已安装的包
dpkg-c package.deb #列出deb包的内容
dpkg--configure Package #配置包
3. Resolving package dependencies
Apt-get-f Install
#修复依赖关系 (depends) command, that is, if you have a package on your system that does not meet the dependencies, this command will be automatically repaired, install the software that is dependent
Second, uninstall Firefox
1. Enter in the terminal
sudo apt-get remove Firefox
rm-r ~/.mozilla
2. Check if there are any remaining files in the system
Whereis Firefox #找到文件路径后可以手动删除