fedora14安装常用软件出现的错误及解决办法

本人是linux菜鸟,此文章用于记录我在使用fedora14时,遇到的问题及对该问题的解决办法,避免下次再犯

1.安装google chrom浏览器

下载安装包后输入rpm -ivh google-chrom

出现warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY

error: Failed dependencies:

lsb >= 3.2 is needed by google-chrome-stable-12.0.742.112-90304.x86_64

解决办法:输入sudo yum install lsb

2.输入sudo yum install lsb

出现zhoujh is not in the sudoers file.  This incident will be reported.

sudo是让zhoujh成为拥有超级权限的普通用户,

解决方法如下: 

   1>、进入超级用户模式。输入"su -",系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。 

   2>、添加文件的写权限。输入命令"chmod u+w /etc/sudoers"。 

   3>、编辑/etc/sudoers文件。输入命令"vim /etc/sudoers",输入"i"进入编辑模式,找到这一行:"root ALL=(ALL) ALL"在起下面添加"xxx ALL=(ALL) ALL"(这里的xxx是你的用户名),然后保存(摁一下Esc键,然后输入":wq")退出。 

   4>、撤销文件的写权限。输入命令"chmod u-w /etc/sudoers"。 

3.安装flash player插件

到flash官网下载flashplayer10_2_p3_64bit_linux_111710.tar.gz

解压并把解压出来的libflashplayer.so文件复制到/usr/lib/mozilla/plugins/和/usr/lib64/mozilla/plugins/

目录下

在终端输入:sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

重新的打开google chrome浏览器就ok了

4.安装fcitx输入法

出现:configure: error: no acceptable C compiler found in $PATH

解决办法:在终端输入yum -y install gcc 

猜你喜欢

转载自zhoujianghai.iteye.com/blog/1122944