[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How To Permanently Add-to a Users PATH Statement in the Bash Shell



The Subject line is the problem with my Debian Buster platform. Now from Google I see that there has been a change in the way Debian handles this problem.

My user path statement is:

comp@AbNormal:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

Now I have a number of applications that have multiple executable in the app /bin subdirectory. Hence the need to add to the users PATH statement

As an example I have:

/home/comp/Apps/ADFRsuite-1.0/bin

which I would like to add to the PATH statement and:

export PATH=$PATH:'/home/comp/Apps/ADFRsuite-1.0/bin'

This works unless I open a new Terminal, in which case it is no longer in the PATH.

How do I make the addition persistent?

Thanks in advance.

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1


Reply to: