
# wget
安装 Google Chrome
在 Kali Linux 安装 Google Chrome 最容易的方法就是使用 gdebi,它会自动帮你下载所有的依赖包。
# gdebi google-chrome-stable_current_amd64.deb
启动 Google Chrome
开启一个终端(terminal),执行 google-chrome 命令来启动 Google Chrome 浏览器。
$ google-chrome
附录
非法指令 (Illegal Instruction)
当以 root 用户特权来运行 google-chrome 命令是,会出现 非法指令 (Illegal Instruction) 错误信息。因为通常情况下,Kali Linux 默认情况下的默认用户是 root 用户,我们需要创建一个虚的非特权用户,比如 linuxconfig,然后使用这个用户来启动 Google Chrome 浏览器。如下:
# useradd -m -d /home/linuxconfig linuxconfig # su linuxconfig -c google-chrome
libappindicator1 包未安装
dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libappindicator1however: Package libappindicator1 is not installed.
2、用以下命令安装:dpkg -i google-chrome-stable_current_i386.deb
3、添加到启动菜单
打开Applications ->Accessories ->Main Menu
然后点击右侧的 New Item 按钮,输入以下信息:
然后通过刚才添加的菜单启动Chrome时会d窗提示错误,提示chrome不能再root权限下使用。
到以下路径用编辑器打开google-chrome
File System ->opt ->google ->chrome
在文件末尾处的代码
exec -a
"$0" "$HERE/chrome" "$@"
后面添加
--user-data-dir
保存退出。
然后重新启动chrome,就会看到chrome界面。
在Kali Linux系统安装谷歌chrome浏览器很简单,但有时会出现问题,比如不能以root身份打开谷歌浏览器的问题,下面小编就给大家介绍下Kali Linux在安装谷歌浏览器时会出现的问题及如何解决。
安装本身很简单,步骤如下:
1,到google官网下载最新版本;
2,dpkg -i google-chrome-stable_current_i386.deb 安装
可我安装完成后出现两个问题:
1,没有自动生成菜单,我不确认是不是所有人都会这样的;
解决办法:
a,点开应用程序-》系统工具-》首先项-》主菜单
b,选择你需要放置的菜单栏,点击新建项目,如下图:
2,因为安全原因,root用户无法使用;
解决办法:
a,安装十六进制编辑器
apt-get insatll hexedit
b,修改chrome
hexedit /opt/google/chrome/chrome
按TAB键切换到ASCII码模式,按ctrl+s打开搜索功能,输入geteuid查找,如下图:
然后把geteuid改为getppid,如下图:
最后crtl+x保存退出
上面就是Kali Linux安装chrome浏览器所遇到的问题及解决方法介绍了,如果你在安装谷歌的时候也遇到了这些问题,不妨使用上面的方法解决吧。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)