What is the equivalent of a .exe or .app, but for Linux? I think it's .deb but I'm not sure, and I need this for a block or two. Basically:
Windows = Scratch.exe
Apple = Scratch.app
Linux = ???

Offline
There is no actual .exe/.app like file extension. The .deb is an installer, like a .msi. What happens is the compiled program is just compiled, it doesn't really have a specific file extension. It's just "program". I'm sure Google has a few answers somewhere.
Offline
Magnie wrote:
There is no actual .exe/.app like file extension. The .deb is an installer, like a .msi. What happens is the compiled program is just compiled, it doesn't really have a specific file extension. It's just "program". I'm sure Google has a few answers somewhere.
Well, what's the extension for the Scratch file that runs the program?

Offline
Greenatic wrote:
Magnie wrote:
There is no actual .exe/.app like file extension. The .deb is an installer, like a .msi. What happens is the compiled program is just compiled, it doesn't really have a specific file extension. It's just "program". I'm sure Google has a few answers somewhere.
Well, what's the extension for the Scratch file that runs the program?
it doesn't really have an extension... it has a mime-type
Offline
the scratch executable will just be called 'scratch' or something like that, no .exe.
the scratch program might be in /usr/bin/, /usr/share/ or somewhere else.
Last edited by rookwood101 (2011-10-11 17:07:48)
Offline
rookwood101 wrote:
the scratch executable will just be called 'scratch' or something like that, no .exe.
the scratch program might be in /usr/bin/, /usr/share/ or somewhere else.
So, the file is just called Scratch? I need to know exactly what the file is called...

Offline
http://pantherprogramming.weebly.com/pa … buntu.html On Ubuntu there is the command "scratch_squeak_vm" which runs the Squeak vm (virtual machine, I think) which runs the source code of Scratch (wherever the source code is located). So if you want the exact program that runs Scratch ( like the Scratch.exe ) that would probably be the terminal command "scratch" or "scratch_squeak_vm" or it is a Shortcut which runs the command "scratch_squeak_vm -plugins /usr/lib/scratch/Plugins/ /path/to/scratch/source/code". Hope that is somewhat helpful.
Offline
Magnie wrote:
http://pantherprogramming.weebly.com/pa … buntu.html On Ubuntu there is the command "scratch_squeak_vm" which runs the Squeak vm (virtual machine, I think) which runs the source code of Scratch (wherever the source code is located). So if you want the exact program that runs Scratch ( like the Scratch.exe ) that would probably be the terminal command "scratch" or "scratch_squeak_vm" or it is a Shortcut which runs the command "scratch_squeak_vm -plugins /usr/lib/scratch/Plugins/ /path/to/scratch/source/code". Hope that is somewhat helpful.
![]()
Is it possible to access that command in Squeak using commands such as primOpenURL: and fileExists: ?

Offline
I know absolutely no Squeak, so I have no idea. You'd have to search for an OS Squeak command.
Offline
Is there anybody with a Linux who could test it for me?

Offline
Greenatic wrote:
Is there anybody with a Linux who could test it for me?
i have heaps of linux discs lying around but i haven't got any installed at the moment coz i have win7 and 8 dual booted
Offline
most programs register a bash script
scratch has two files in /usr/bin/, scratch, which is an executable shell script, and scratch_squeak_vm, which is the virtual machine and an 'executable (application/x-executable)'
Last edited by roijac_test (2011-10-18 07:11:17)
Offline
Look at this:http://hacktolive.org/wiki/RUNZ
Offline