Project

General

Profile

Support #322

Installation instructions (on website)

Added by John Abbott over 11 years ago. Updated about 2 years ago.

Status:
In Progress
Priority:
High
Category:
Manual/documentation
Target version:
Start date:
26 Feb 2013
Due date:
% Done:

60%

Estimated time:
5.00 h
Spent time:

Description

The installation instructions on the website for Linux users is insufficient; the instrs for C4 were better!


Related issues

Related to CoCoA-5 - Support #348: CoCoA website: CoCoA-5.0.3 pagesClosed2013-05-17

Related to CoCoA-5 - Support #439: CoCoA website: download pages and installing instructionsClosed2014-02-08

Related to CoCoALib - Support #467: Keep CoCoALib web page up to date! All pages!Closed2014-03-12

Related to CoCoA-5 - Support #985: Microsoft (Windows 10, maybe other versions): more help for installationNew2016-11-28

Related to CoCoA-5 - Design #1120: Web siteClosed2017-11-13

Related to CoCoA-5 - Design #1453: Use symbolic links for release filesNew2020-04-30

Related to CoCoA-5 - Feature #1543: Default path for packagesClosed2020-12-04

Related to CoCoA-5 - Support #1534: Install CoCoA-5 on MacOS-10.15+In Progress2020-11-10

History

#1 Updated by Anna Maria Bigatti about 11 years ago

  • Category set to CoCoA-4 function: obsolete

#2 Updated by Anna Maria Bigatti about 11 years ago

  • Category changed from CoCoA-4 function: obsolete to Manual/documentation
  • Target version set to CoCoA-5.1.0 Easter14
  • % Done changed from 0 to 30

slight improvement (at cocoaschool 2013)

#3 Updated by Anna Maria Bigatti about 10 years ago

  • Status changed from New to In Progress
  • Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.1.1 Seoul14

#4 Updated by John Abbott almost 10 years ago

  • Target version changed from CoCoA-5.1.1 Seoul14 to CoCoA-5.1.2 summer 2015

#5 Updated by John Abbott almost 9 years ago

The instructions should tell the user what to do with the file cocoa-XYZ.tgz.

Where should it be saved (or moved to)? [personal installation, system-wide installation]
How should it be unpacked? (sufficient to run tar xf cocoa-XYZ.tgz)
Any install scripts which should be run (e.g. for updating the .emacs file)

Not all linux users are knowledgeable about tar etc.

#6 Updated by John Abbott over 8 years ago

  • Target version changed from CoCoA-5.1.2 summer 2015 to CoCoA-5.1.3/4 Jan 2016

The instructions for GUI on Linux are missing -- it just says "to do".

#7 Updated by Anna Maria Bigatti about 8 years ago

  • Target version changed from CoCoA-5.1.3/4 Jan 2016 to CoCoA-5.2.0 spring 2017

#8 Updated by John Abbott over 7 years ago

  • Priority changed from Normal to High

The instructions for installing CoCoA-5 on linux still need improvement!

  • what to do with the file cocoa-XYZ.tar.gz?
  • the path for finding ConfigEmacs.sh is mildly wrong
  • better guidance for what to do after starting emacs

I still think it might be nice to supply a very simple example.cocoa5 file for people to open in Emacs (this should automatically put it into cocoa5-mode).

#9 Updated by John Abbott over 7 years ago

  • Related to Support #985: Microsoft (Windows 10, maybe other versions): more help for installation added

#10 Updated by Anna Maria Bigatti about 7 years ago

  • Estimated time set to 3.00 h

#11 Updated by Anna Maria Bigatti about 7 years ago

  • Target version changed from CoCoA-5.2.0 spring 2017 to CoCoA-5.2.2

#12 Updated by Anna Maria Bigatti over 6 years ago

Adding a comment from John:

Some points to clarify on the website:

what to download and do for a completely new installation (CoCoA+emacs)
ditto for the GUI
what to do to upgrade an existing installation (emacs/GUI -- 2 cases)
what to do to upgrade emacs

I wonder if we can make a "tarball" containing both CoCoA and emacs: technically it should be not be too hard, might there be some legal problem?

#13 Updated by Anna Maria Bigatti over 6 years ago

  • Target version changed from CoCoA-5.2.2 to CoCoA-5.2.4

#14 Updated by Anna Maria Bigatti almost 6 years ago

#15 Updated by John Abbott over 5 years ago

  • Target version changed from CoCoA-5.2.4 to CoCoA-5.3.0

#16 Updated by John Abbott over 4 years ago

  • % Done changed from 30 to 40

A student here had trouble installing CoCoA-5.2.5 on a Microsoft Windows 10 computer.

The problem was that he had unpacked the zip file in c:\, which created a directory with a name like cocoa-5.2.5-microsoft-text/.
It was not obvious that one should move the subdirectory cocoa-5.2 from inside to c:\. We should make this clearer!

For some reason he already had a c:\cocoa-5.2 directory, but it contained nothing useful (it did contain a file whose name began with .saves which certainly should not have been there).

#17 Updated by Anna Maria Bigatti over 4 years ago

John Abbott wrote:

The problem was that he had unpacked the zip file in c:\, which created a directory with a name like cocoa-5.2.5-microsoft-text/.
It was not obvious that one should move the subdirectory cocoa-5.2 from inside to c:\. We should make this clearer!

I thought it was clear. I have improved it .... now testing on my students ;-)

#18 Updated by John Abbott over 4 years ago

  • % Done changed from 40 to 50

Yes, that is clearer, thanks! As you say, it is also a good idea to test it with some "volunteers" ;-)

It is easier to explain what to do using a command line interface (rather than some interactive graphical interface).

#19 Updated by John Abbott over 4 years ago

Actually this issue was about helping "install" the CoCoA executable on LINUX.

Probably we should handle two cases: user is a "sudoer", and user is not.

Also there should probably be a few hints about installing "emacs" (via a package manager).

For a normal user (inexperienced, not sudoer):

(1)  Create a directory where you would like to keep all files related to the CoCoA-5 system
     (we recommend that you do not put any other files in this directory).  For example,
     to make a suitable directory in your "home" type the following:
       cd
       mkdir CoCoA-5

(2)  Download the distribution file -- it will have a name like cocoa-5.3.0-linux.tgz.
     And move this file into the directory you created in step (1); you can use drag-and-drop
     or a shell command like
       mv ~/Downloads/cocoa-5.3.0-linux.tgz  ~/CoCoA-5

(3)  Unpack the TGZ file: double-click may work, or else use these commands
       cd ~/CoCoA-5 
       tar xzf cocoa-5.3.0-linux.tgz

(4)  If you plan to use the Emacs interface (recommended) then immediately after the steps in (3) do
        cd emacs
        ./ConfigureEmacs.sh

(5)  If you do not already have Emacs installed then ask you computer administrator to install it for you
     (it should be freely available as a linux package).

What should an experienced sudoer do?
Do we have a reasonable suggestion for making a system-wide installation?

#20 Updated by John Abbott about 4 years ago

  • Target version changed from CoCoA-5.3.0 to CoCoA-5.4.0

#21 Updated by John Abbott about 4 years ago

Someone (Abdelali ABOUHALI) recently (2020-05-11) asked for guidance installing CoCoA on Ubuntu.

This is what I answered.

From the CoCoA website you should download the file  cocoa-5.3.2-linux.tgz

Assuming you used a browser, the file will probably have been placed in a
directory for downloaded file (on my computer it is ~/Downloads).

It is probably a good idea to create a special directory into which
the CoCoA executable (and other support files) will be stored:
  cd
  mkdir CoCoA
The above "shell" commands will create a directory called CoCoA in your home.
The next commands will unpack CoCoA into that directory:
  cd  ~/CoCoA
  mv ~/Downloads/cocoa-5.3.2-linux.tgz  .
  tar xzf cocoa-5.3.2-linux.tgz
  cd cocoa-5.3/emacs
  ./ConfigEmacs.sh

These instruction will make a "personal" installation on your linux computer.
It is also possible to make a "system-wide" installation (in which case you should
already know enough to know what to do).

#22 Updated by John Abbott about 4 years ago

  • Related to Design #1453: Use symbolic links for release files added

#23 Updated by John Abbott over 3 years ago

Last week a student came with some problems with making CoCoA work on her MacBook; most of these are dealt with elsewhere.

One problem she had was that Emacs recognized that her system language was czech, so it adapted itself to the czech keyboard. This meant that some useful characters (such as square brackets) were difficult to type in. The solution was to tell emacs to make it easier: namely, she opened the menu "Options" and found somewhere "Option for composed characters" (which she activated), then it was easier to type in square brackets.
[I have no idea how she found out what to do inside emacs]

Perhaps we should give a hint about this in the instructions for MacOS?

#24 Updated by Anna Maria Bigatti over 3 years ago

  • Assignee set to Anna Maria Bigatti

I must check what happens for old MacOS

#25 Updated by Anna Maria Bigatti over 3 years ago

#26 Updated by John Abbott over 2 years ago

  • Related to Support #1534: Install CoCoA-5 on MacOS-10.15+ added

#27 Updated by John Abbott over 2 years ago

I would still like o see more helpful guidance for linux users; not all linux users are experts.

How can one unpack a TGZ file? Probably double-clicking using a file manager will work.
Or else we should mention the CLI command tar xzf cocoa-5.3.4.tgz
(since not everyone will be familiar with tar).

#28 Updated by Anna Maria Bigatti over 2 years ago

  • % Done changed from 50 to 60
  • Estimated time changed from 3.00 h to 5.00 h

Notes for myself:
compare the 3 installation pages and check they are similarly structured and informative.

#29 Updated by Redmine Admin about 2 years ago

  • Target version changed from CoCoA-5.4.0 to CoCoA-5.4.2

Also available in: Atom PDF