I downloaded processing-2.0.1-linux64.tgz.
In Windows, when I download a non-install software (.exe) I locate it under Program Files directory so that it stays with other software. I don't want it to run in Downloads or somewhere else. I'm vety miticulous about my directory structure.
So in Ubuntu I want processing software to run just like firefox. I mean when I write 'proc' , it should show up in gnome activities window. I don't know where to locate a tgz file and contents of it? There is "Add downloaded package" in Synaptic file menu. I tried it however the tgz file was disabled, not clickable.
This is contents of processing-2.0.1 folder.
Firstly a
.tgz
file is not a program file. It is angz
compressedtar
archive file, and as such is not runnable. Usually, this will be a source package and will need to be built.It appears you have already expanded it into a directory. If not the command
tar xzf processing-2.0.1-linux64.tgz' will expand it. I would copy or move it to
/opt` and expand it thereFrom the contents it appears to be Java based program. And will fail if you don't have Java installed.
Open a terminal window and
cd
to directory where you have expanded the archive. Try runningprocessing
andprocessing-java
. Remember which one starts the program as you want.To run the program from the classpath (assumes expanded to
/opt/processing-2.0.1
) create the following file in a different directory. (I'll use the nameprocessing
).Then run the following command to add make it executable it to
/usr/local/bin
.You can also edit the menu to add a new item, or create a desktop icon. In either case you would use the full path to the program.
To understand where
linux
puts its file read the output of the commandman hier
.