当前位置: 技术问答>linux和unix
在CentOS下如何安装 GTK?
来源: 互联网 发布时间:2016-04-16
本文导语: 我的CentOS是5.2版本,GTK是GTK+-2.14.3版本,如何进行安装,请教大家~~ | 正常安装就可以 按下面顺序 1)pkg-config (pkg-config Site) 2)GNU make (GNU make Site) 3)JPEG, PNG and TIFF image libraries (GTK+ Sit...
我的CentOS是5.2版本,GTK是GTK+-2.14.3版本,如何进行安装,请教大家~~
|
正常安装就可以
按下面顺序
1)pkg-config (pkg-config Site)
2)GNU make (GNU make Site)
3)JPEG, PNG and TIFF image libraries (GTK+ Site)
4)FreeType (FreeType Site)
5)fontconfig (fontconfig Site)
6)GNU libiconv library (if your system doesn't have iconv()) (GNU libiconv Site)
7)GNU gettext (if your system doesn't have gettext()) (GTK+ Site)
8)GLib (GTK+ Site)
9)Pango (GTK+ Site)
9)ATK (GTK+ Site)
10)GTK+ (GTK+ Site)
相关下载资源可以到
http://library.gnome.org/devel/gtk-faq/stable/c192.html
按下面顺序
1)pkg-config (pkg-config Site)
2)GNU make (GNU make Site)
3)JPEG, PNG and TIFF image libraries (GTK+ Site)
4)FreeType (FreeType Site)
5)fontconfig (fontconfig Site)
6)GNU libiconv library (if your system doesn't have iconv()) (GNU libiconv Site)
7)GNU gettext (if your system doesn't have gettext()) (GTK+ Site)
8)GLib (GTK+ Site)
9)Pango (GTK+ Site)
9)ATK (GTK+ Site)
10)GTK+ (GTK+ Site)
相关下载资源可以到
http://library.gnome.org/devel/gtk-faq/stable/c192.html
|
你按那个顺序把相应的安装包下载下
然后安装
源码的需要编译
./configure -prefix=/usr/local
make
make install
rpm的直接
rpm -ivh *.rpm
就可以了
然后安装
源码的需要编译
./configure -prefix=/usr/local
make
make install
rpm的直接
rpm -ivh *.rpm
就可以了
|
yum install gtk*