UPDATE 2017-06: The easiest way to have a running ApE under Linux, which became critical for me after switching permanently to Linux at work, is to recover a Mac App bundle from the author’s web site: http://biologylabs.utah.edu/jorgensen/wayned/ape/Download/Mac/Ape_OSX_current.zip
After unzipping to a local folder, just launch the application (in my case):
wish /home/username/thefolder/ApeMac/Ape_8_6_0.app/ Contents/Resources/Scripts/AppMain.tcl
Tcl/Tk need to be installed to have the wish command available.
You can even alter the preferences of your file manager to open .ape files by using the same command followed by “%F” (on Ubuntu 17.04, MATE, Caja file manager).
OLDER CONTENT – safe to ignore follows:
ApE is the most useful DNA editor I know of. Although installation on Windows and Mac OS X is easy through pre-packaged binaries, Linux installation may be a little bit more complex. Don’t be discouraged – nice people, with the help from the ApE author himself, discovered all that is there to know about how to do it properly. Some useful information comes from the Ape wiki:
Information from http://pastebin.com/fJNjcW1G about how to install Ape on Linux (you might get some error results from wget, standard browser pointing to the address should work better):
# download latest windows version/package # >wget http://biologylabs.utah.edu/jorgensen/wayned/ape/Download/Windows/ApE_win_current.zip >unzip ApE_win_current.zip # download & setup tclkit (http://equi4.com/tclkit/index.html) # >wget http://www.equi4.com/pub/tk/8.5.1/tclkit-linux-x86.gz >gunzip tclkit-linux-x86.gz #make the binary executable: >chmod +x tclkit-linux-x86 # download SDX (Starkit Developer eXtension) # http://equi4.com/starkit/sdx.html wget http://equi4.com/pub/sk/sdx.kit # unwrap & run ApE # ./tclkit-linux-x86 sdx.kit unwrap ApE.exe ./tclkit-linux-x86 ApE.vfs/main.tcl
A recent version of the Tclkit can be recovered from:
Two i386 libraries were required for ApE to work on a Debian install (wheezy, 7.7, 64 bit version):
>su - root >apt-get install libxss1:i386 >apt-get install libxft2:i386
The old Ape version for Linux works with base Tcl/Tk, but lacks some of the nice features of the ApE 2 series.
Newer versions require some extensions from the tclkit.
Don’t forget to chmod +x the tclkit binary
Proof that it works:
EDIT: The 2.0.7 version is in fact available and works directly with wish. Once unzipped, just ‘cd’ to the ‘ApE Linux’ directory and from there > wish AppMain.tcl . This even works under Mac OS X Mavericks with Tcl/Tk 8.5.9!