LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help me understand how to install this software (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-understand-how-to-install-this-software-932925/)

pedenski 03-05-2012 09:43 PM

help me understand how to install this software
 
I want to install davmail on my fedora 16. please assume that i have no background in any linux and might need spoonfeeding for this.

Quote:

Manual setup

1) Prerequisite : OpenJDK or Sun J2SE 1.5 or 1.6. Tray icon is now implemented with SWT and compatible with Java 1.5.

2) You should first download and install Java, with the graphical package manager or through command line.

3) Under Ubuntu, launch System/Administration/Synaptic Package Manager, quick search default-jre, mark for installation and click Apply

Or use the following command:
sudo apt-get install default-jre

4) Download the linux x86 DavMail package from Sourceforge and uncompress it with your favorite tool. The standard package will run natively on x86,

5)to use DavMail on any other hardware platform, replace the SWT with the right one from http://www.eclipse.org/swt/ or use the platform independent package.

Questions:

1) how do i install OPENJDK or SUN J2SE on my system? tried doing yum install and that doesnt seem to work

2) the JAVA is being referred to OPENJDK or SUN J2SE?

3) n/a since im using fedora 16

4) I downloaded DavMai package and uncompressed it, now it shows 3 files
a davmail.jar , davmail.sh , lib

5) So i went to download SWT, unzipped it and all i see are these .jar files

please correct me if im wrong:
In order for davmail to work, i need to install java first and then install SWT?

j-ray 03-06-2012 02:02 AM

I guess you simply have to run
/Path/to/davmail.sh

John VV 03-06-2012 03:13 AM

openjdk is installed by default

there is NO "sun " java anymore. Oracle bought them out

so as to #1
the NEWER 1.7
java-1.7.0-openjdk-1.7.0.0-0.1.20110803.1.fc16.i686.rpm
is in the fedora 16 install
so there is no need it install java

#2
" the JAVA is being referred to OPENJDK or SUN J2SE? "

OpenJDK ,Oracle wants to keep a hold on the OTHER Java ( it is the sun VS. Microsoft java versions REPEATING all over again )




what exactly did you download from
http://sourceforge.net/projects/davm...davmail/3.9.8/
was it the 32 bit " davmail-linux-x86-3.9.8-1921.tgz"
or was it the 64 bit "davmail-linux-x86_64-3.9.8-1921.tgz "

What version of fedora 16 do you have ? the 32 bit or the 64 bit


just running the shell script should do it
"davmail.sh "
from the download folder ( the one you used "file-rollor" to extract the tgz in )
Code:

cd /To/the/location/that/this/file/is/davmail-linux-x86_64-3.9.8-1921

----- fedora DEFAULTS to "~/Downloads"------------
cd ~/Downloads/davmail-linux-x86_64-3.9.8-1921
./davmail.sh


pedenski 03-06-2012 08:25 AM

Hi john, thanks for the informative reply

i managed to make it work.

running the "davmail.sh" didn't work for me.

what i did after research, i based the idea from your reply and found out that in order to run the application
i need to put 'sh'.

#sh ./davmail.sh

i just wonder whats 'sh'
is it short for 'shell'?

j-ray 03-06-2012 09:10 AM

On linux system "sh" refers to /bin/sh which usually is a symlink to /bin/bash the bourne again shell


All times are GMT -5. The time now is 07:07 PM.