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

Posted on 2010-01-08
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
    LVL 7

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
    Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    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.:

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now