Computations in Commutative Algebra
Install and run CoCoA
You may use the Textual Interface (within Terminal) or Emacs Interface (within Emacs) or the GraphicalUserInterface:
Download CoCoA and DRAG the CoCoA-4.7 folder into the Applications folder.Double-click on the cocoa icon. This should automatically open the application Terminal and run CoCoA into it.
If you want to add cocoa to your Dock just drag the icon into the file area of your Dock (next to the Trash icon)
This way you will have NO EDITING facilities, so you might want to:
Download CoCoA and DRAG the CoCoA-4.7 folder into the Applications folder.May 2006: Suggested Emacs application (a proper Emacs with a remarkable Macintosh "feel")
new-prefs.commandcreates a brand new .emacs file
update-prefs.commandadds one line to your current .emacs file
Open by dragging: You may open any file in Emacs by dragging it onto the Emacs icon or into an Emacs window.
Open by double-click: If you want all your cocoa files to open with Emacs when double-clicked, this is what you need to do:
foo.cocoaand select File - Get Info, click the Open with: triangle and choose Other... to select Emacs.
A few words for the Emacs beginners...
The code will (should) automatically expand into a folder called "CoCoA 4.0".
When you are in the folder "CoCoA 4.0", double-click on "CoCoA 4" to run the program.
The manual is called by typing
If you want to know
about some topic, e.g. Hilbert-Poincare' Series, type a suitable
To quit CoCoA select "Quit" from the "Edit" menu.
Download CoCoA and gunzip-tar your binary in the directory you want, e.g.
cp cocoa-4.7-text-linux.tar.gz /usr/local/ cd /usr/local/ gunzip cocoa-4.7-text-linux.tar.gz tar xf cocoa-4.7-text-linux.tarIt will produce a directory called "cocoa-4.7".
When you are in the directory "cocoa-4.7/", type
./cocoa_textto run the program.
To allow all users in a Unix system to share the same installation you should:
if your cocoa directory is NOT
/usr/local/cocoa-4.7then you need to edit the file called
cocoaaccording to the instructions contained therein (you probably want to change only the value of the variable
link it to some publicly accessible directory of executables like this:cd /usr/local/bin ln -s /usr/local/cocoa-4.7/cocoa cocoa
Any user may then type
cocoato run the program from any directory.
cocoain a shell and follow these instructions.
.emacsfile with any editor (it should be in your home, and it may not exist!):
/usr/local/then you need to correct the path in the files:
The manual is called by typing
If you want to know about some topic, e.g. Hilbert-Poincare' Series, type a suitable substring, e.g.
?hilb<Enter> (starting from version 4.2)
To quit CoCoA type
To enter commands from the interactive buffer click on the "cog" symbol in the top bar or type <Control><Enter>.
To enter commands from an editing buffer (file): a one-line command from a file or a selected region, type <Control><Enter>.
To quit enter
Quit; or select Quit from the Edit menu.
You get a Windows help system which is self-explanatory.
You can search for all commands containing (in their name or
description) a given string.
The GUI help system is also available on-line and downloadable at