Installing the CentOS Development Tools (gcc, flex, etc)


Applicable Plans - All Cloud Hosting Plans

Installing the CentOS Development Tools (gcc, flex, autoconf, etc)

Overview

If you are going to do any software development on your Virtual Server, or manually install software or applications that need to be compiled in order to work, you will need to install the CentOS Development Tools. These tools are installed from the command line of the VS using yum.

The "Development tools" are a yum group, which is a predefined bundle of software that can be installed at once, instead of having to install each application separately.

The Development tools will allow you to build and compile software from source code. Tools for building RPMs are also included, as well as source code management tools like Git, SVN, and CVS.

Installing the Development Tools
    Development Tools - included applications
    Installing the Development tools using yum


Installing the Development Tools

To install the CentOS Development tools, you will need to be able to connect to your Virtual Server using SSH, and work as the root user. Information on connecting to your VS using SSH is found here - http://support.eapps.com/ispmgr/ssh

Development Tools - included applications

The current applications available with the CentOS Development tools yum group are:

bison
byacc
cscope
ctags
cvs
diffstat
doxygen
flex
gcc
gcc-c++
gcc-gfortran
gettext
git
indent
intltool
libtool
patch
patchutils
rcs
redhat-rpm-config
rpm-build
subversion
swig
systemtap

There are also dependencies that will install with these tools.

Installing the Development tools using yum

Before installing the Development tools, run the yum clean all command. This will clear the yum cache and force it to reread any changed configuration files.

[root@eapps-example ~]# yum clean all
Loaded plugins: fastestmirror, priorities, remove-with-leaves
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@eapps-example ~]#


To install the Development tools, use the yum groupinstall "Development tools" command. This will search the yum repositories, and install the tools from the closest repo. This creates several screens of output, which are truncated in this example.

[root@eapps-example ~]# yum groupinstall "Development tools"

....Output truncated....

Install      86 Package(s)
Upgrade       0 Package(s)

Total download size: 77 M
Installed size: 234 M
Is this ok [y/N]:

You will need to confirm that you want to continue the installation. Enter a y to continue.

How many packages will be installed depends on your template. A LAMP template will require fewer packages than a non-LAMP template.

It will take anywhere from 3 to 5 minutes to install all the packages. Once everything is installed, you will see a Complete! message, and be returned to the command prompt.

Complete!
[root@eapps-example ~]#


The Development tools are now installed.



Comments

Please login to comment