How decompree ".bin" files without installing/running them?

I want to get some files out of a “.bin” file but I don’t want it to install everything. Is there a way to do this?

Usually the .bin file is some kind of shell script with a data section that gets decoded and uncompressed then installed. The instructions would be in the shell commands. Since these depend on the provider of the .bin file, it’s not possible to give specific instructions how to modify the commands to just extract the files without installing them. So you’d have to understand shell language.