Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

How to Set environment valiable on LINUX plateform for Quartus

Dear Friends,

I am trying to work on Linux RHEL-6 plate-form for Quartsu 9.1SP2.

now i am trying to set environmental variable using following command

export PATH=$PATH:/opt/altera9.1sp2/quartus/bin

and then on command prompt i write "quartus" and quartus starts

but if i close the command prompt and again reopen command prompt an write "quartus", it wont run...it seems my environmental variable not written.

so how do i set my environmental variable permanently.

regards

kaushal

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Your shell will read commands from one (or more) files files everytime it starts.

    Its probably bash and almost certainly reads .bashrc from your home directory.

    To avoid major mishaps keep the window with the editor open until you've got it working!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thanking you for your reply ...

    ok then i how do i run nios-eclipse ?, as it is not running the way i am running quartus