II.2.2 Installation under Linux

ASEM-51 for Linux is available as a tar archive and an rpm package.
If you have got the rpm package, login as root and simply type

rpm -i asem51-1.3-1.i386.rpm

The rpm package has been tested on S.u.S.E.-Linux only, but should also work on other Linux distributions that meet the FHS directory standard.
If you have got the tar archive, perform the following steps:

gzip -d asem51-1.3-ELF.tar.gz
tar xvf asem51-1.3-ELF.tar
cd asem51
sh install.sh

If you are installing ASEM-51 as root (preferred), the installation script install.sh will install the whole package in /usr/local/share/asem-51/1.3, and establish some symbolic links in /usr/local/bin and /usr/local/man/man1.

If you are installing ASEM-51 under another user-id, install.sh tries to install the software in your home directory under ~/asem-51/1.3, and establish some symbolic links in ~/bin and ~/man/man1.

For details see the messages, install.sh is displaying on the console, and do some fine-tuning accordingly:

If you haven't installed ASEM-51 as root, it may be necessary to add ~/bin to your PATH, and ~/man to your MANPATH.

To specify a search path for the include files *.mcu provided, you can define an optional environment variable ASEM51INC. For this, bash, ksh, and sh users should insert the following lines into their .profile file:

ASEM51INC=/usr/local/share/asem-51/1.3/mcu
export ASEM51INC

csh, tcsh, and zsh users should insert the following line into their .login file respectively:

setenv ASEM51INC /usr/local/share/asem-51/1.3/mcu

If you have installed ASEM-51 in your home directory, ASEM51INC should point to ~/asem-51/1.3/mcu of course.

To read the HTML manuals, invoke your web browser and bookmark the index page

/usr/local/share/asem-51/1.3/html/docs.htm          (installation as root)
~/asem-51/1.3/html/docs.htm   (local installation)

Note that you cannot reset your 8051 target system with a PC printer port, if you haven't installed ASEM-51 as root! (For details see the BOOT-51 documentation provided.)

If you have installed ASEM-51, but you don't like it, you can easily uninstall it. If you have installed the rpm package, simply type

rpm -e asem51

If you have installed the generic tar archive, be sure to uninstall ASEM-51 under the same user-id you previously used for installation! Run

uninst51.sh

and that's it.



[contents] [up] [back] [next]