Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

One of the open source web crawlers (Heritrix) requires Java to run. I have to install this on my CENTOS via the command line (aptitude). How?

share|improve this question
Quick note: The standard package manager for CentOS is YUM. Aptitude is a package manager for Debian and Ubuntu Linux or more generally, DEB-based Linux distributions, in contrast to RPM-based distributions like CentOS. – joschi Oct 8 '09 at 21:11
up vote 2 down vote accepted

Here is a list of good HOWTOs for Java on Centos.

BTW, CentOS' package manager is called yum. It generally works like aptitude, like

yum search $packagename
yum install $packagename
yum remove $packagename
yum check-update
yum upgrade

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.