It's not an Ubuntu OS issue.
You can select csh from among csh , bash , tcsh ... etc. in the /etc/passwd file for the user account shell configuration.
If you wish to use a shell other than csh, you can use the shell's equivalent command.
Search the keywords below on Google.
setenv equivalent in bash
setenv equivalent in ksh