how to set enviroment variable in debian

Asked by Marius Pfeffer

Hello

Are there instructions how to set the enviroment variable in Debian Wheezy ?
I Have unpacked the tarball in the /opt folder, but can't find a way to set the enviroment variable.

Or can you make a repsitory to install the toolchain with apt-get ?

Thanks :)

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
Marius Pfeffer
Solved:
Last query:
Last reply:
Revision history for this message
Terry Guo (terry.guo) said :
#1

I usually use Ubuntu and haven't tried Debian. Does command like "export PATH=/opt/gcc-arm-none-eabi-4_8/bin:$PATH" work for you?

And for repository, we only have one for Ubuntu so far.

Revision history for this message
Marius Pfeffer (pfeffer-marius) said :
#2

Hello

Thanks :)

This is my complete installation:
Please add this to a readme.txt, maybe this will help other users

ia32-libs are required !!!

cd ~
wget https://launchpad.net/gcc-arm-embedded/4.8/4.8-2013-q4-major/+download/gcc-arm-none-eabi-4_8-2013q4-20131204-linux.tar.bz2
tar -vjxf gcc-arm-none-eabi-4_8-2013q4-20131204-linux.tar.bz2
sudo mv gcc-arm-none-eabi-4_8-2013q4 /opt
export PATH=$PATH:/opt/gcc-arm-none-eabi-4_8-2013q4/bin
source ~/.profile