Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-21-2012, 01:59 PM   #1
LQ Newbie
Registered: Jan 2012
Posts: 26

Rep: Reputation: Disabled
Install application more than once.

Is it possible to install the same application more than once in linux. For example could I run open office 5.1 and 6.0 on the same machine? In windows this information is stored in the registry, is there some comparable file / place where this info is kept?

I have an application that the owner would like to install twice on a server and I honestly just don't know if you can.

...and I also don't know how to uninstall either.

We can't use rpm or yum because it's a shared server and the vendor gave us instructions which were something like....compile the code, run ./configure which somehow sets it up.
Old 03-21-2012, 02:20 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,755
Blog Entries: 14

Rep: Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052
Packages can be distributed in multiple formats. rpm is used by RPM for single packages and yum for yum repositories.

One can also distribute source code which is what it sounds like you have here. Typical procedure is:
Download the source package (usually ends with a .tgz or .tar.gz)

Use mkdir to make a directory in which to extract the files.

Run "tar tvf" against the downloaded file to see what it is going to extract.

Run "tar xvf" against the downloaded file to do the actual extract if you're comfortable with what the "tar tvf" displayed.

Run "./configure" in the directory in which the files were extracted. This discovers what is available on your system (mostly libraries and commands) that can be used by (or are required by) the package. Some things will give warnings meaning that you can proceed without them whereas other things might fail completely. (e.g. some applications can do ssl but don't require it - if they find ssl libraries they'll configure it in but if not they'll exclude it - if you WANT ssl capability in the application and it isn't already installed you'd need to install ssl then do the configure again).

After the configure is successful you run "make" which compiles the source into binaries based on the configuration options it set during the configure phase.

Many apps have "make install" that can be done after the "make" that will move binaries, libraries, scripts etc... into the standard locations expected by the application.

You could omit the "make install" if this particular package has it and/or review its documentation to see if it has a way to tell it to install in an alternate directory. You could just manually copy the binaries into alternate paths but need to be sure they don't have hard references to the default paths.

Some apps use certain resources (such as memory addresses) and can't run multiple copies unless you explicitly tell them what resources to use other than the default.

To sum it up: It depends on the app itself. Many apps can run multiple copies from multiple locations. Some can run multiple copies from a single location and some can not run more than one copy at all. You'll have to review the documentation for the app.

Many apps include README and/or README* files in the downloaded bundle that you can read to get more details. README is typically overall whereas the README* files could be for various purposes (e.g. README.configure might talk about what options to explicitly use on the command line when you run configure, README.runtime might give details about how to make a runtime only copy etc...)
Old 03-21-2012, 06:13 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,326

Rep: Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364
the vendor gave us instructions which were something like....
In that case, ask the vendor (seriously); they would know if it can be done and how.
It may not be possible.
Old 03-21-2012, 10:47 PM   #4
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I ran 2 versions off FF by renaming the /bin/ff & also the executable in the ff folder the only problrm I had was updating. Actually I was running iceweasel & ff
I renamed the real ff to /bin/firefox2 like I said it wouldn't get updates. But you can run 2 versions of applications by renaming thebin file & manually installi making links

Last edited by EDDY1; 03-21-2012 at 10:48 PM.


application, install, multiple

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
not able to install any application vpriya Linux - Software 12 02-10-2012 11:47 PM
how can install application itschandu143 Linux - Newbie 1 07-14-2009 01:12 AM
Where do u install any Application? jared78 Linux - Newbie 8 05-20-2005 03:22 AM
How-EXACTLY-can someone install an application georgeks Linux - Newbie 2 11-17-2003 10:05 PM
New Application install cap_tan Linux - Software 0 10-24-2002 08:51 AM

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration