Klaus Hameyer wrote:
> 
> *BUT*, I have been frustrated in attempting to add additional
> programs from the slakware 3.5 site. I untarred MC.tgz, JOE.tgz,
> LYNX.tgz in the / directory and the files all seem to be placed
> in appropriate directories but bash says "files not found".

I've just booted BasicLinux and installed JOE.tgz and it 
works fine.  
---------------
cd /
gunzip joe.tgz
tar -xvf joe
joe
---------------
BTW have you tried e3 (in BasicLinux)?  I think it is
somewhat similar to joe.

I did not try MC and LYNX because those packages are too 
large.  BasicLinux has only 800kb of space available in
the filesystem.  The JOE package is less than this, so 
it works.  The MC and LYNX packages are more than a meg.

One way around this (if you have 16meg RAM or more) is to 
mount an additional 4meg ramdisk.  Assume, for example,
that we mount that ramdisk at /mnt.  The MC or LYNX
packages could then be installed at /mnt (or at any
subdirectory under /mnt).  But they still can not be
installed from /.  The extra space is only available
on the /mnt tree.  This is important.  When you mount a 
new branch (/mnt) to an existing tree (/), the contents
of the branch are accessible to the entire tree, but the 
extra filesystem space is only usable within the branch.
This means that / can run out of room, even though /mnt
has plenty of room.

So if you want to install MC or LYNX in BasicLinux, they
need to go in /mnt.  This, of course, will foul up the
installation because the files expected to be in /usr/bin
will be in /mnt/usr/bin (and so on).  Moreover, programs
(like LYNX) often expect support files to be in a particular 
place.  It will take some trial-and-error juggling to sort 
out where to put things.

> Is this a question of path? 

Not necessarily.  There are three ways to run a program.  
Let's assume, for example, that you have put program xxx
in the /mnt directory.
(1) cd to /mnt and execute xxx  =OR=
(2) execute /mnt/xxx from anywhere  =OR=
(3) add /mnt to the path and execute xxx from anywhere

> And where do I set it? 

To see the current path:
----------
echo $PATH  
----------

To define PATH:
-----------------------------
PATH="/bin:/usr/bin:/mnt/bin"
-----------------------------

To add to an existing PATH:
---------------------
PATH="$PATH:/mnt/bin"
---------------------

For a permanent PATH change, you can edit /etc/profile.

Cheers,
Steven

Reply via email to