PDA

View Full Version : [ubuntu] install from .zip file?



James58321
July 18th, 2009, 11:03 PM
Hi Everyone,
I am a n00b to ubuntu (and therefore, linux) and am wondering how to install a program called Biogenesis. I have the link here and if anyone can be of assistance, I would appreciate it. (I've also attached the .zip file I downloaded.)
Thanks.

Link:http://linux.softpedia.com/progDownload/Biogenesis-Download-19248.html


Remember, you can do anything with a command prompt.
Play now, Play later.

Partyboi2
July 19th, 2009, 04:12 AM
Hi, one way to run the program is to open a terminal (Applications>Accessories>Terminal) and download the binary version with wget

wget http://downloads.sourceforge.net/sourceforge/biogenesis/biogenesis_jar_0_5.zip?use_mirror=transactthen unzip it with

unzip biogenesis_jar_0_5.zip then enter the newly created directory

cd biogenesis_jarthen make the 'biogenesis.jar' file executable

chmod +x biogenesis.jarthen you can run it from the terminal in its source directory (Where you currently are) with

./biogenesis.jaror if you want to launch it from your Desktop you can right click on the Desktop and choose "Create launcher" then fill in the details
Type: Application
Name: biogenesis
Command: Browse to '/home/user/biogenesis_jar/biogenesis.jar' (replace user with your username)
Comments: Leave blank or add something
Change icon pic (left top) to what ever you like.

James58321
July 19th, 2009, 02:42 PM
thanks, but i got this during the end:

boris@james-laptop:~$ cd biogenesis_jar
boris@james-laptop:~/biogenesis_jar$ chmod +x biogenesis.jar
boris@james-laptop:~/biogenesis_jar$ ./biogenesis.jar
bash: ./biogenesis.jar: cannot execute binary file
boris@james-laptop:~/biogenesis_jar$

I also tried the launcher, didn't work, tried going to directory, didn't work.

I am attaching pics of the screen

Partyboi2
July 19th, 2009, 03:34 PM
ok, instead of using './biogenesis.jar' to run the program use

java -jar biogenesis.jarIf that works you will need to change the "command" field for the launcher to

java -jar /home/boris/biogenesis_jar/biogenesis.jar

James58321
July 19th, 2009, 04:10 PM
both times it gave me this:(check attachment for screenshot)

Partyboi2
July 19th, 2009, 04:21 PM
Have you got java installed?

java -versionAlso what version of Ubuntu are you using?

Edit: If you don't have java installed the output to 'java -version' will be

bash: /usr/bin/java: No such file or directoryIf its not installed you can install java with

sudo apt-get install openjdk-6-jre

java -jar biogenesis.jar