How to install EnergyMech

How to install EnergyMech IRC bot

The examples in this text shows how things can look when you install your EnergyMech. UNIX shells can differ alot nowadays. There will be atleast small differences between the sample outputs on this page and how it looks on your own shell.
Also note that this is not a UNIX tutorial. If you dont know enough basic UNIX commands to install your EnergyMech with the help of this document, then you shouldn’t even try.

First of all, you need to retrieve a suitable distribution package. There are a few packages to choose from currently, please refer to the download page to see which one suits you the best.

When you know which package you want, start ftp and connect to ftp.eggheads.org.

You can find the distribution packages in the directory /pub/energymech. Just pick the one you want and download it to your shell. Don’t forget to turn on BINARY mode (a.k.a. IMAGE mode) before you transfer the file as it otherwise might be corrupted.

As an alternative, you can use Lynx to access the download page of this website and download the package of your choice from there. If you’re not familiar with Lynx, use ftp.

If security is a concern to you (it should be if you are planning on running the EnergyMech as root), be sure to grab the PGP signature file or the MD5 checksums from the download page to verify the package with once you have downloaded it.

It might look something like this:

~$ ftp
ftp> open ftp.irc.webcam
Connected to ftp.irc.webcam.
220 ftp.eggheads.org NcFTPd Server (licensed copy) ready.
Name (ftp.irc.webcam:mech): ftp
331 Guest login ok, send your complete e-mail address as password.
Password: (you enter your email address here)
230-You are user #2 of 50 simultaneous users allowed.
230-
230 Logged in anonymously.
ftp> cd pub/energymech
250 "/pub/energymech" is new cwd.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
-r--r--r--   1 ftpuser  ftpusers   123269 Oct 24 07:00 emech-2.7.0.tar.bz2
-r--r--r--   1 ftpuser  ftpusers   148726 Oct 24 06:59 emech-2.7.0.tar.gz
-r--r--r--   1 ftpuser  ftpusers     1653 Mar 19 14:49 spaceman-pgp.asc
226 Listing completed.
ftp> bin
200 Type okay.
ftp> get emech-2.7.0.tar.gz
local: emech-2.7.0.tar.gz remote: emech-2.7.0.tar.gz
200 PORT command successful.
150 Opening BINARY mode data connection for emech-2.7.0.tar.gz (148726 bytes).
226 Transfer completed.
148726 bytes received in 146 secs (0.84 Kbytes/sec)
ftp> quit
221 Goodbye.
~$ ls -l emech-2.7.0.tar.gz
-rw-r--r--   1 mech     users      148726 Mar 19 13:37 emech-2.7.0.tar.gz
~$
----

Unpacking

Once you have downloaded your selected package, you need to unpack it. The package will unpack into a directory called “emech” so there is no need to make a directory to unpack the files in.

If your shell has GNU TAR the command would look like:

~$ tar zxvf emech-2.7.0.tar.gz

And if your shell has any other version of TAR, it would look like:

~$ gzip -dc emech-2.7.0.tar.gz | tar xvf –

The filename would of course vary depending on the package you chose to download. 

As the files are being decompressed and untarred the filenames with path will be listed. If any errors occur you most likely have a corrupted package or your shell quota limit has been reached.

 

Leave a Reply

Your email address will not be published. Required fields are marked *