making /usr/local/bin accessible
pcpinkerton at gmail.com
Thu May 31 12:32:47 UTC 2007
On 5/31/07, Milos Prudek <prudek at bvx.cz> 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
> 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
> - but binary file compiled from sources that REPLACES a deb package file
> not run unless full path is specified.
> 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
> is in /usr/local/bin. Under the superuser, hnb runs without specifying the
> full path. Under non-privileged user, running hnb without specifying the
> 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 at lists.ubuntu.com
> Modify settings or unsubscribe at:
Try typing " which hnb" as root and remove it.
You could also link /usr/local/bin/hnb to /usr/bin if it does not exist
something like " ln -s /usr/local/bin/hnb /usr/bin/hnb "
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users