歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Fedora 軟件問題 make menuconfig問題

Fedora 軟件問題 make menuconfig問題

日期:2017/2/28 16:26:46   编辑:Linux教程

設置第三方源RPM Fusion

su -c 'rpm -ivh http://download1.rpmfusion.org/free/Fedora/rpmfusion-free-release-stable.noarch.rpm'

su -c 'rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'


安裝 yum-fastestmirror 加速插件

su -c 'yum install yum-fastestmirror'

make menuconfig出現錯誤:
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] 錯誤 1
make: *** [menuconfig] 錯誤 2
解決辦法:
yum install ncurses
yum install ncurses-devel
yum install ncurses-devel
成功!


fedora10運行make xconfig出錯: 【6688電子商務網站 www.6688.cc 】
CHECK qt
*
* Unable to find the QT3 installation. Please make sure that
* the QT3 development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
make[1]: *** 沒有規則可以創建“scripts/kconfig/qconf.o”需要的目標“scripts/kconfig/.tmp_qtcheck”。停止。
make: *** [xconfig] 錯誤 2
解決方法:
yum install qt3
yum install qt3-devel
仍然有錯誤:
CHECK qt
/usr/lib/qt-3.3/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
HOSTCXX scripts/kconfig/qconf.o
/bin/sh: g++: command not found
make[1]: *** [scripts/kconfig/qconf.o] 錯誤 127
make: *** [xconfig] 錯誤 2
解決方法:(是說系統沒有安裝g++)
yum install gcc-c++
仍然有錯誤:
HOSTCXX scripts/kconfig/qconf.o
HOSTLD scripts/kconfig/qconf
/usr/bin/ld: cannot find -lXi
collect2: ld 返回 1
make[1]: *** [scripts/kconfig/qconf] 錯誤 1
make: *** [xconfig] 錯誤 2


make menuconfig 在此出現問題
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1] : *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2


yum install ncurses
yum install ncurses-devel

Fedora 安裝後的快速設置

設置第三方源RPM Fusion

su -c 'rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'

su -c 'rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'


安裝 yum-fastestmirror 加速插件

su -c 'yum install yum-fastestmirror'

更新數據源

su -c 'yum makecache'

如果你學沒有安裝中文支持

su -c 'yum groupinstall chinese-support'

安裝 QQ for Linux

上官方網站下載後,點擊安裝

安裝 ibus 輸入法

如果你不想使用SCIM,可以先刪去它

su -c 'yum remove scim'

su -c 'yum install ibus\*'

安裝rar軟件

su -c 'yum install unrar'

安裝Q7z

yum install PyQt4-devel

到 http://k7z.sourceforge.net/ 下載Q7z rpm 包


rpm -ivh Q7z......rpm


安裝chm 閱讀器

su -c 'yum install gnochm'

安裝下載工具

目前wxdfast很容易崩潰,不推薦

su -c 'yum install multiget'

su -c 'yum install gwget'

安裝32位flash 插件

su -c 'rpm -ivh http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm'

su -c 'rpm -- import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux'

su -c 'yum install flash-plugin'

安裝Skype

su -c 'gedit /etc/yum.repos.d/skype.repo'

在這個文件中復制下面幾行:
[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
enabled=1
gpgkey=http://www.skype.com/products/skype/linux/rpm-public-key.asc
gpgcheck=0

su -c 'yum install skype'
su -c 'yum update skype'

安裝BT下載軟件Azureus
su -c 'yum install azureus'

安裝音樂播放器audacious(推薦)

su -c 'yum install audacious'

su -c 'yum install audacious-plugins*'


播放mp3

su -c 'yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly'

kde下的播放器Dragon Player

yum search demultiplexer

yum install compat-libstdc++-33

yum install xine-lib-extras-nonfree

yum install lame

需要安裝mplayer解碼器 用essential 就行。


Totem 播放視頻

su -c 'yum install totem-xine totem-gstreamer xine-lib-extras-freeworld'

su -c 'yum install libdvdread libdvdnav lsdvd'

su -c 'yum install totem-xine totem-gstreamer xine-lib-extras-freeworld'

Totem播放rm視頻

移去已有的totem

yum remove totem
安裝totem-xine

yum install totem-xine
安裝extras

yum install xine-extras (這個如果沒有就不安)
安裝DVD播放

yum install libdvdnav (這一步中如果有 libdvdcss 也安上,提示沒有也可不安)
安裝lame

yum install lame
安裝mpeg支持

yum install ffmpeg
安裝RM播放支持

yum install compat-libstdc++-33 (如果沒安裝這個realplayer是用不了,totem播放出現沒圖象與沒聲音)
安裝聲音支持

yum install xine-lib-extras-nonfree (如果沒安裝這個totem播放rm有圖象沒聲音)

在播放rm 如果還提示安裝其它包,就按提示安裝

安裝mplayer

su -c 'yum install mplayer '

安裝smplayer

su -c 'yum install smplayer'

安裝VLC

su -c 'yum install vlc'

安裝Avidemux多媒體編輯器

su -c 'yum install avidemux'

安裝SWF播放器

su -c 'yum install swfdec swfdec-gnome swfdec-gtk swfdec-mozilla'

安裝wine

su -c 'yum install wine'

升級wine

su -c 'yum --enablerepo=updates-testing upgrade wine'

刪除舊的配置文件

su -c 'rm -fr ~/.wine'

安裝stardict

su -c 'yum install stardict'

su -c 'yum install stardict-dic-en.noarch'

su -c 'yum install stardict-dic-zh_CN.noarch'

安裝KDE

su -c 'yum groupinstall 'KDE (K Desktop Environment)''

GTK程序使用QT樣式

su -c 'yum install gtk-qt-engine'

托盤GNOME程序圖標背景不透明的問題
不要安裝 gtk-qt-engine

使用KDM作默認登錄管理器

安裝switchdesk-gui程序,進行DM切換 (這個好象不起作用)

su -c 'yum install switchdesk-gui'

或者直接創建配置文件

su

(root password)

vim /etc/sysconfig/desktop

DISPLAYMANAGER="KDE" (如果是其它桌面則為:GNOME/XDM)


KDE4中的GNOME程序顯示英文的修正

vim /etc/sysconfig/i18n (確保裡面為下面的內容)

#LANG="en_US.UTF-8"
LANG="zh_CN.UTF-8"

在KDE4中改變Firefox

Step 1
su -c 'install gtk-qt-engine package'

代碼:
yum install gtk-qt-engine
Now go to System Settings > Appearance > Click on the Gtk Styles and Fonts tab on the left side and select the following options there
Use my KDE style in Gtk applications
Use my KDE fonts Gtk applications
Click the image to open in full size.
Then finally click on install scrollbar fix

Step 2:
Install KFirefox theme for Firefox from here
I found Kfirefox theme better than the oxygen theme for firefox coz kfirefox integrates better with firefox and looks good

Step 3:
Open With

Right-Click on a downloaded file and click on ‘Open Containing Folder’ and click on Select Application and give it a path to /usr/bin/dolphin and every file will open with dolphin.

Next for other file types open Firefox > Edit > Preferences click on Applications tab and choose the appropriate file types needed to open.

Copyright © Linux教程網 All Rights Reserved