Click to See Complete Forum and Search --> : installing apps
dvdnut
02-24-2001, 03:44 PM
i have installed under root the moz 0.8 tar and it runs fine under root, but unable to under any other user. how do i do this?
also to apps like staroffice and realplayer installed under root, how is this overcome?
and another thing
when i install under mandrake 7.2 where is it best to install so the path need not change so users can execute the application, eg micq, xwhois etc.
any help would be much appreciated, and in addition would a symlink be easier than installing in certain places, if so how is ln used?
still learning as you can see.
neffu
02-24-2001, 11:34 PM
The mandrake distros and rpms install their programs under the /usr/bin directories. This allows all users the ability to execute it the program without being in the actual directory of the program. Personally any additional software I install I place in the /usr/local/bin directory. If the sofware creates on executable elsewhere you can always place a symlink in the /usr/bin or /usr/local/bin directory that why you can execute from any location in your system.
dvdnut
02-25-2001, 04:18 AM
so how is this link created, sorry to be a pain but it is one thing which has eluded me, also if root installs it, "should" everyone else have execute access to it, as i have installed moz 0.8 but only root can run it.
dante_d
02-25-2001, 10:19 AM
so how is this link created
ln -s [full path and filename] [my name for link]
If you skip the second part [my name for link], it will use the filename or directory name you chose to link. For linking an executable, I would go that route.
For example, if the program "myprogram" was installed to /home/dvdnut/programs/ and I want a link in /usr/bin:
Go to directory /usr/bin and type
ln -s /home/dvdnut/programs/myprogram
If you do an ls after that, you'll see
myprogram@
If you do an ls -l, you'll see
myprogram -> /home/dvdnut/programs/myprogram
Note that if you rm 'myprogram' from /usr/bin, it will remove the link, and not the actual program in your directory in this example.