export
only sets the environment variable in your current shell session and any child processes started by that shell session. It is certainly not “permanent”. The only way to set an environment variable for future shell sessions is to add the export
command to a shell start-up file. Your best bet is probably to put it in ~/.profile
(unless the file ~/.bash_profile
exists).
13
solved Cannot create permanant environment variable in Ubuntu