# Revision history [back]

Before running SageMath, define the environment variable DOT_SAGE by typing the following command in a terminal:

export DOT_SAGE=/full_path/.sage


where /full_path must be substituted by the actual path to the directory where the file .sage is located.