This module revitalize c program. Ubuntu and other Linux distributions have extensive package repositories to save the user from the trouble of compiling. With just a single command, you can build from source like a pro. It is comfort with Ubuntu and centOS.
This help command guide the user about Ubuntu compiler. It is less time consuming because it can installed automatically. Suitable for C program.
ptconfigure Ubuntucompiler help
The following help command will assist the user for installation.
kevell@corp:/# ptconfigure UbuntuCompiler help
******************************
This allows you to Complie programs written in C Source
UbuntuCompiler, ubuntu-compiler, ubuntucompiler
- install
Installs Ubuntu Compiling tools through apt-get.
example: ptconfigure ubuntu-compiler install
------------------------------
End Help
******************************
This is a noticeable process to install Ubuntu compiler module under ptconfigure by just using the command given below,
ptconfigure Ubuntu-compiler install
After giving the command, the Ubuntu compiler will be installed with new updates.
If the user input as N the following screen will come.
kevell@corp:/# ptconfigure ubuntu-compiler install
Install Ubuntu Compiler? (Y/N)
y
*******************************
* Pharaoh Tools *
* Ubuntu Comp! *
*******************************
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
dh-apparmor libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libmail-sendmail-perl libsys-hostname-long-perl
po-debconf
Use 'apt-get autoremove' to remove them.
Suggested packages:
g++-multilib
The following NEW packages will be installed:
g++
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 1,490 B of archives.
After this operation, 34.8 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1,490 B]
Fetched 1,490 B in 1s (1,438 B/s)
Selecting previously unselected package g++.
(Reading database ... 393110 files and directories currently installed.)
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
[Pharaoh Logging] Adding Package g++ from the Packager Apt executed correctly
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
dh-apparmor libmail-sendmail-perl libsys-hostname-long-perl po-debconf
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
dpkg-dev make
Suggested packages:
debian-keyring make-doc
The following NEW packages will be installed:
build-essential dpkg-dev make
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 850 kB of archives.
After this operation, 2,039 kB of additional disk space will be used.
Get:1 http://security.ubuntu.com/ubuntu/ trusty-security/main dpkg-dev all 1.17.5ubuntu5.3 [726 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4,838 B]
Fetched 850 kB in 37s (22.5 kB/s)
Selecting previously unselected package make.
(Reading database ... 393115 files and directories currently installed.)
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.3_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up make (3.81-8.2ubuntu3) ...
Setting up dpkg-dev (1.17.5ubuntu5.3) ...
Setting up build-essential (11.6ubuntu6) ...
[Pharaoh Logging] Adding Package build-essential from the Packager Apt executed correctly
[Pharaoh Logging] Package make from the Packager Apt is already installed, so not installing
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************
Single App Installer:
--------------------------------------------
UbuntuCompiler: Success
------------------------------
Installer Finished
******************************
| Parameter | Alternative Parameter | Options | Comments |
|---|---|---|---|
| Install Ubuntu compiler? (Y/N) | UbuntuCompiler, ubuntu-compiler, ubuntucompiler | Yes | The system starts installation process |
| Install Ubuntu compiler? (Y/N) | UbuntuCompiler, ubuntu-compiler, ubuntucompiler| | No | It stops the installation process |