0

I recently installed apache tomcat 7.0.67 on rhel 6 64-bit platform. All I did was simply unzipping tar.gz file into a specified directory where I have read/write access. I was able to deploy a web app and be able to access its resources from a browser just fine.

However I stumbled upon an article about installing software on linux platform. According to it, I should have run configure, make and make install commands for any software to be installed but I don't remember doing it.

What am I missing in this picture?

DaeYoung
  • 185
  • 1
  • 1
  • 6

2 Answers2

0

Probably the archive you installed had already been compiled on the same OS release and architecture.

Usually, configure generates the Makefiles that indicate what options you want and where you want it. make generally compiles the source code into binary files specific to the architecture it's run on, which is why in most cases the make is necessary. make install just moves the newly compiled software into the location that configure told it to. If someone else already ran the necessary commands and then just compressed everything that was installed, then you wouldn't need to run anything.

In fact, that's how software packaging works. I noticed you mentioned you installed on a RHEL platform; RPM packages are simply CPIO archives with additional metadata. According to a .spec file, rpmbuild extracts the source code, runs configure to tell the Makefiles to install to an alternate build root directory, builds the end product with make, and installs it into the alternate build root directory with make install. Then the .spec indicates which files are to be included in the final package and cleans itself up.

About GNU configuration standards, make, and autoconf

About RPMs: Maximum RPM and How to Create an RPM

doombird
  • 121
  • 6
0

Tomcat is a Java application thus it doesn't require any compilation "onsite" or installation tools. You just need tu unzip its archive.

Tomcat, and all java based apps, are "write-once, run everywhere". When java source code is compiled, it is converted to java bytecode which is not platform dependant.

But, as a Java app, it requires a JRE or JDK to run. And those may need compilation on your OS (usually, all OS vendors provide JRE/JDK in there repositories)