Install GTK2.24.10 in Ubuntu12.04

Source: Internet
Author: User
I use this method successfully install GTK2.24.10 in Ubuntu12.04 record 1, install gcc/g ++/gdb/make and other basic programming tools sudoapt-getinstallbuild-essential2, install libgtk2.0-devlibglib2.0-dev and other development-related library File sudoapt-getinstallgnome-core-devel

I used this method to install GTK 2.24.10 in Ubuntu12.04 and record it.

1. Install basic programming tools such as gcc/g ++/gdb/make

Sudo apt-get install build-essential

2. Install libgtk2.0-dev libglib2.0-dev and other development-related library files

Sudo apt-get install gnome-core-devel

3. It is used to automatically find the header file and library file location when compiling the GTK program.

Sudo apt-get install pkg-config

4. Install the devhelp GTK file viewing program.

Sudo apt-get install devhelp

5. Install gtk/glib API reference manual and other help documents

Sudo apt-get install libglib2.0-doc libgtk2.0-doc

6. Install GTK-based interface. GTK is the c/c ++ language graphics library for developing Gnome windows.

Sudo apt-get install glade libglade2-dev

7. Install gtk2.0 or download and install all the files required by gtk + 2.0.

Sudo apt-get install libgtk2.0-dev

View the GTK library version

1. View version 2.x

Pkg-config -- modversion gtk +-2.0

2. view the version of pkg-config.

Pkg-config -- version

3. Check whether gtk is installed.

Pkg-config -- list-all grep gtk

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.