Translating to Bash Command

Posted by user3424684 on Ask Ubuntu See other posts from Ask Ubuntu or by user3424684
Published on 2014-06-11T20:57:53Z Indexed on 2014/06/11 21:40 UTC
Read the original article Hit count: 280

Filed under:

So for a project for school I had to install the DPJ extension to the Java language. I downloaded and unpacked a tarball containing the files, and then was told to run the following:

setenv DPJ_ROOT ${Home}/dpjbin

setenv PATH ${PATH}:${DPJ_ROOT}/Implementation/bin

How do I do these commands using bash? I know I have to open up the /etc/profile file and add 2 lines (or for the PATH one do I just append something to the top line of the file after a colon?). Any help in how to do this would be appreciated. If it helps I run Ubuntu 14.04 on Virtualbox (and have little to no experience)

© Ask Ubuntu or respective owner

Related posts about bash