how to install Jdk, Apache ant, gcc, rpm-build, which

Posted on 2010-01-08
Medium Priority
Last Modified: 2012-05-08
i am working on Ubuntu 8.04lts, i have to install these things in my server

Jdk, Apache ant, gcc, rpm-build, which

plz guide me so that i can install them properly.

Question by:pawanopensource
1 Comment

Accepted Solution

icenick earned 2000 total points
ID: 26210569
Dear pawanopensource,

Since you are using ubuntu, you can use ubuntu's repo in order to install software and tools.

In the command-line run the following:

sudo apt-get install ant gcc rpm

You can specify tools as many as you want.

In order to see if the package is there or to see different versions you do the following:

after you write "sudo apt-get install" you can add gcc and then press TAB. The latter would return anything related to the word gcc that you can install.

on my ubuntu when i run: "sudo apt-get install gcc" and then I press TAB, I get the following:

nick@nick:~$ sudo apt-get install gcc
gcc               gcc-3.4-doc       gcc-4.2-base      gcc-h8300-hms
gcc-2.95          gcc-4.1           gcc-4.2-doc       gcc-m68hc1x
gcc-3.2           gcc-4.1-base      gcc-4.2-locales   gcc-multilib
gcc-3.3           gcc-4.1-doc       gcc-4.2-multilib  gcc-snapshot
gcc-3.3-base      gcc-4.1-locales   gcc-4.2-source    gccxml
gcc-3.3-doc       gcc-4.1-multilib  gcc-avr          
gcc-3.4           gcc-4.1-source    gcc-doc          
gcc-3.4-base      gcc-4.2           gcc-docs

The above shows all the packets that you can install.

I hope I helped.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month17 days, 13 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question