export command not found

Harvey

Registered
Just trying to export ImageMagick into my path... but I am getting that the export command is not found.

whereis export' turns up nothing.

The Imagemagick readme tells me to do this in order to get the Imagemagick bin directory into m y PATH.
---
If the 'bin' subdirectory of the extracted package is not
already in your executable search path, add it to your
PATH environment variable. For example

export PATH; PATH="$HOME/ImageMagick:$PATH"
---

[HB:~/Imagemagick/ImageMagick-5.5.3] HB% export MAGICK_HOME="$HOME/ImageMagick"
export: Command not found.

This is what I get when I try that.
Hrm....
 
which shell you're using? in bash you could add to your /etc/profile following lines:
Code:
PATH=~/ImageMagick/ 
export PATH
you will note that there's much more on that PATH= -line, just append the ~/ImageMagic/ to the end of list and open new terminal, export path is already there.

in csh and tcsh you use command setenv, which I know nothing...
also, it could be possible that you've not installed BSD-subsystem?
 
# System-wide .profile for sh(1)

PATH="/bin:/sbin:/usr/bin:/usr/sbin"

export PATH

there is my /etc/profile. I am using the default shell on my system which is...

echo $SHELL
/bin/tcsh

I better switch to Bash... since that's what I'm used to.

I'm not sure if the BSD subsystem is installed or not... running it -out of the box-. How can I chekc that?

Thanks thanks. I'll be able to edit my PATH this way.
 
Back
Top