Install CentOS 32-bit C ++ compiling and development system

Source: Internet
Author: User
Tags xml parser
Shortly after the end of CentOS, many things were unfamiliar and had to be trained one by one. this time, a compilation system was installed. here we will record the simple steps to avoid forgetting them. My requirements are very simple. I can compile C ++, support openssl development, support xml parser, and support log4c output LOG. Soon after CentOS was installed, many things were unfamiliar and had to be practiced one by one. this time, a compilation system was installed. here we record the simple steps to avoid forgetting.
My requirements are very simple. I can compile C ++, support openssl development, support xml parser, and support log4c output LOG.
After CentOS is installed, many development kits need to be installed to make my program. The first step is to install the C ++ compiler g ++.
Yum install gcc-c ++
It can be seen that the installation command provided by linux is very strange. you can run yum and specific keywords to install it. During the installation process, you are prompted to download some rpm packages, select yes, and the installation will be completed automatically.
Then install the openssl runtime package and development kit:
Yum install openssl
Yum install openssl-devel
Similarly, this command will automatically download and install rpm. after installation, the openssl directory will be found under/usr/include and two libraries under/lib.
 
Install the xml parser:
Yum install expat
It also downloads some lib and header files of xml.
Yum install log4c-devel
 
In fact, we can see that the development kit is a fixed name plus-devel. However, it is difficult to know the specific name of the installation package if you do not know about installation.
 
The following are some standard installation packages for your reference:
Yum install gcc-c + + gcc-g77 flex bison autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel openssl readline -devel perl-Net-SSLeay pcre-devel
 
Author stupid
Related Article

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.