Specify a location to contain the Python installation. To prepare an installation directory, run commands to create a directory and set it as the working directory.
To create a Python3 directory under the home directory, run the following command:
mkdir Python3
To create an environment variable called $workingdir and set the value to the present working directory, run the following command :
export workingdir=`pwd`
To verify the $workingdir environment variable, run the following command: