Re: making /usr/local/bin accessible
- From: Anthony Gardner <cyclewood_ltd@xxxxxxxxxxx>
- Date: Thu, 31 May 2007 13:35:19 +0100 (BST)
what happens if you type either .....
type hnb
or
which hnb
-Ants
Milos Prudek <prudek@xxxxxx> wrote: I am new to Ubuntu.
How can I make Ubuntu run a binary file in /usr/local/bin, when such file
compiled from sources has a same name as a REMOVED/DELETED file from debian
package that used to be in /usr/bin?
- /usr/local/bin is in my PATH
- shell files that I create in /usr/local/bin can be run from any directory.
- but binary file compiled from sources that REPLACES a deb package file does
not run unless full path is specified.
Details:
I want hnb (Hierarchical Notebook). I installed it via apt-get and it
installed into /usr/bin but it exhibited some errors, so I removed the hnb
deb package. I got hnb sources, compiled and installed them. The hnb binary
is in /usr/local/bin. Under the superuser, hnb runs without specifying the
full path. Under non-privileged user, running hnb without specifying the full
path results in this error message:
-bash: /usr/bin/hnb: No such file or directory
I have never seen this behaviour under Mandriva. What configuration is
responsible for this?
--
Milos Prudek
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
---------------------------------
Yahoo! Answers - Got a question? Someone out there knows the answer. Tryit now.--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- making /usr/local/bin accessible
- From: Milos Prudek
- making /usr/local/bin accessible
- Prev by Date: Re: making /usr/local/bin accessible
- Next by Date: meaning of 'suspend'
- Previous by thread: Re: making /usr/local/bin accessible
- Next by thread: Re: making /usr/local/bin accessible
- Index(es):
Relevant Pages
|