1

How do I install java, ant, and red5 on Ubuntu 14.04. All I see is Ubuntu 12.04, which doesn't work. Redhat tutorials do not work. UBUNTU 12.04 TUTORIALS DO NOT WORK!!!!

4 Answers4

0

http://linuxadminzone.com/quickly-install-java-ant-ivy-and-red5-flash-server-in-linux/ Google is your friend. It took 2 minutes to find the answer

David
  • 3,487
GUS
  • 1
0

I found packages for all of them, so I assume just apt-get installing the packages should work:

sudo apt-get install ant openjdk-7-jdk red5-server libtomcat6-java icedtea-7-plugin

The command works for me. I have ubuntu 14.04, and on my system red5-server depends on :

shackle@shackle-desktop:~$ apt-cache depends red5-server
red5-server

Depends: adduser
 |Depends: default-jre-headless
  Depends: <java6-runtime-headless>
    openjdk-6-jre-headless
    default-jre-headless
    openjdk-7-jre-headless
    oracle-java6-installer
    oracle-java7-installer
    oracle-java8-installer
    oracle-java9-installer
    sun-java6-jre
  Depends: libred5-java
  Depends: libtomcat6-java
  Conflicts: <red5>

It includes libtomcat6-java but not libtomcat7-java.

The answers to Unable to correct problems, you have held broken packages might be helpful.

Perhaps :

dpkg --get-selections | grep hold

to see list of held packages

sudo apt-get remove <packagesfromabove>

then

sudo apt-get update 

then retry the command above.

0

Open terminal and run the following commands:

sudo apt-get update

To install java:

   `java -version`

(If it returns "The program java can be found in the following packages", Java hasn't been installed yet, so execute the following command:)

sudo apt-get install default-jre

sudo apt-get install default-jdk

Reference here

Install ant:

sudo apt-get install ant

To install red5:

apt-get install -y red5-server

(Here you may get some dependency problem like:

The following packages have unmet dependencies: red5-server : Depends: libtomcat6-java (>= 6.0.20-7) but it is not going to be installed E: Unable to correct problems, you have held broken packages. ) then use the command

sudo apt-get install libtomcat6-java

to start red5:

service red5-server start

refrence here

Ravan
  • 9,567
0

this is bug with Red5 in Ubuntu version 14.04 reported here. it is working with lower version. you can do manual installation that will work . i have tested it on Ubuntu 14.04.

For installation of red5 follow steps of my another answer here

other packages you can install with apt-get

pl_rock
  • 11,715