INSTALL GUIDE: Apple Shake 4.1 Linux 32-bit & 64-bit


These installation directions combine the best of others’ advice for installing Shake for Linux, borrowing heavily from scattered conversations on VFXTalk, CGTalk, and Ubuntu Forums. VMware Fusion was used to rapidly test Shake on various Linux distributions.

             [b]Distribution Compatibility[/b]
             On some newer 32-bit Linux releases, an X11 library has changed in a way that makes Shake hang.  For that reason, we will install a previous version—and there may be other necessary replacements in the future—to circumvent the problem (Step 2).  Red Hat Enterprise and CentOS work without this modification.
             Working [b]32-bit[/b] distributions (this list is not exclusive):

[li]CentOS 5.3 / Red Hat Enterprise[/li][li]Fedora 7+[/li][li]Ubuntu 9.04, openSUSE 10+, and others (need an older X11 library, see Step 2)[/li][/ul]For 64-bit Linux you may need to install 32-bit legacy compatibility libraries (Step 2 addendum).

             Depending on your video card brand, visit ATI, Nvidia, or your notebook manufacturer’s website for hardware OpenGL Linux drivers.  You may need to edit the x.conf file for proper behavior.  Search the web for more installation hints.
          [b]Installing Shake[/b]   
             [b]1.[/b] With root privileges create an installation directory.  Common choices are
          Choose whichever convention you prefer but make sure that you adjust the environment variables properly in Step 4.
              [b]2.[/b] Depending on your installation media, move/unzip the Shake folder to the installation directory.
             [b]Ubuntu:[/b] [Download]( the Fedora Core RPM package libX11-1.0.3-8.fc7.i386.rpm and extract Change its name to and move it to Shake’s lib folder.  This may work for other Linux distributions that have freezing troubles upon launching Shake. RPM packages can be opened with utilities such as [7-Zip]( or [alien](
             [b]Ubuntu 64-bit:[/b]  We need these shared compatibility libraries when running 32-bit programs under the Debian 64-bit kernel.     sudo apt-get install ia32-libs
        A Fedora-based 64-bit OS may need the compat* libraries, but so far the default installations work.
             [b]3.[/b] Set permissions for the Shake executables.  If you don't do this, certain GUI functionality like thumbnail generation  won't work.     chmod 755 * /[...[i]Shake directory[/i]]/bin
        [b]Note:[/b]  Although some of the files in Shake’s bin directory have .exe suffixes like Windows executables, they are still Linux binaries.
             [b]4.[/b] Set your environment variables so that your system sees Shake properly.
             Open a new shell in your home directory (/home/username).  For bash, type vi .bashrc.  For tcsh, see the Shake documentation on setting environment variables.  Add the following lines to the bottom of .bashrc and adjust the paths to match your configuration.  If any lines like PATH already exist, then append to them.  Afterwards, be sure to exit your desktop and re-log in or type source .bashrc.     PATH=$PATH:/usr/nreal/shake-v4.10.0606/bin
             ### omit the next line if running 32-bit Linux ###
             ### always include this last line ###
        [b]64-bit Linux:[/b]  The LD_LIBRARYN32_PATH environment variable is necessary on 64-bit systems so that Shake knows where to find 32-bit libraries.
             [b]5.[/b] [i]Optional.[/i]  In your home directory (/home/username) create the following folders:     nreal
        If your environment variables and Shake launch script are set up properly, I believe Shake will automatically create these directories as needed.
             [b]6.[/b] Now open a new shell, type shake, and it should run.  Alternatively, go to Shake's bin directory and type csh shake or ./shake.  If it hangs or there’s an error then review Steps 2–4.
             [b]Ubuntu:[/b]  csh and tcsh aren’t included by default.  You’ll need to download and install the packages:     sudo apt-get install csh
             sudo apt-get install tcsh
        [b]CentOS:  [/b]Because Fedora, CentOS, and Red Hat have a security feature, SeLinux, the following error may appear in relation to a Shake library:cannot restore segment prot after reloc
        Either disable SELinux and restart, or register each offending Shake library with the security module using the chcon command.  You may need to log in as su for this operation.chcon -t texrel_shlib_t [path to Shake library causing error]


very cool, little late but still good enough to make it a sticky :slight_smile:


on 64-bit does LD_LIBRARYN32_PATH should points to liblua5.1-lpeg2 liblua5.1-leg0 liblua5.1-filesystem0 lua5.1 ?