6.10

Install Apache Maven 3.0.X
su –l
cat > /etc/yum.repos.d/epel-apache-maven.repo << EOF [epel-apache-maven] name=maven from apache foundation. baseurl=http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-6Server/x86_64/ enabled=1 skip_if_unavailable=1 gpgcheck=0 EOF cat > /etc/yum.repos.d/epel-apache-maven-source.repo << EOF [epel-apache-maven-source] name=maven from apache foundation. – Source baseurl=http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-6Server/SRPMS enabled=0 skip_if_unavailable=1 gpgcheck=0 EOF yum update yum yum install apache-maven ln -s /usr/share/apache-maven/bin/mvn /usr/bin/mvn3 # close and reopen terminal # confirm Apache Maven 3.0.X mvn3 –version

6.11

Install Apache Maven 2.2.X su –l cd /usr/share/ # Reminder: check signature of download and check maven site for alternate mirror if link broken wget http://apache.petsads.us/maven/maven-2/2.2.1/binaries/apache-maven-2.2.1-bin.tar.gz tar -xzf apache-maven-2.2.1-bin.tar.gz touch /usr/bin/mvn2 chmod ugo+rx /usr/bin/mvn2 vi /usr/bin/mvn2 Edit /usr/bin/mvn2 #!/bin/bash MAVEN_HOME=/usr/share/apache-maven-2.2.1 M2_HOME=$MAVEN_HOME PATH=$MAVEN_HOME/bin:$PATH export MAVEN_HOME export M2_HOME export PATH /usr/share/apache-maven-2.2.1/bin/mvn “$@”

6.12

Install asciidoc doxygen help2man, source-highlight and Python 2.7.3 su -l # Reminder: Downloads from the standard repos automatically do # signature check if /etc/yum.repos.d directory is # configured correctly. yum install asciidoc doxygen help2man yum install boost-devel cd /tmp/ curl -O http://mirrors.kernel.org/gnu/src-highlite/source-highlight-3.1.7.tar.gz.sig curl -O http://mirrors.kernel.org/gnu/src-highlite/source-highlight-3.1.7.tar.gz # Reminder: Confirm signature is OK before running or installing anything. # Reminder: If mirror downloads fail, locate an alternate mirror # by searching the main site of the project. tar xzvf source-highlight-3.1.7.tar.gz cd source-highlight-3.1.7 ./configure make make install cd ~/ rm -fr /tmp/source-highlight-3.1.7* cd /usr/lib/ wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz.asc tar xzvf Python-2.7.3.tgz && cd /usr/lib/Python-2.7.3 ./configure make # Note: the following line is not a typo and it really must be “altinstall” make altinstall chmod ugo+rx /usr/lib/Python-2.7.3 ln -s /usr/lib/Python-2.7.3/python /usr/bin/python273 python273 –version ln -s /usr/lib/hadoop-0.20-mapreduce/hadoop-core.jar /usr/lib/hadoop/hadoop-core.jar