FS#7558 - /usr/local/bin in $PATH but not working!

Attached to Project: Arch Linux
Opened by Warren Dumortier (elwario91) - Wednesday, 04 July 2007, 12:37 GMT
Last edited by Aaron Griffin (phrakture) - Monday, 17 December 2007, 05:41 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Some third-party programs installs their links in /usr/bin but it doesn't work.
This is a general issue for games who are installed by a loki installer and is only possible to do it with the installer.

Example: Enemy Territory is installed but launching the game doesn't work:
bash: et: command not found

I know there is AUR but sometimes you can't download everything on slow connections...
This task depends upon

Closed by  Aaron Griffin (phrakture)
Monday, 17 December 2007, 05:41 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Packaging problem. /usr/local/bin is not in Arch's default path. Feel free to configure your machine properly
Comment by Roman Kyrylych (Romashka) - Wednesday, 04 July 2007, 14:27 GMT
et is in /opt/enemy-territory
/usr/bin/enemy-territory is a symlink to /opt/enemy-territory/et
to run Enemy Territory call enemy-territory instead of et
Comment by Warren Dumortier (elwario91) - Thursday, 05 July 2007, 07:50 GMT
Hi!

I made an error.
Some (loki) programs/installers installs their links in /usr/local/bin
Enemey Territory for exempla has 2 links: /usr/local/bin/et(ded)
When calling et(ded) in a prompt the command is not found.

P.S.: I'm not talking about the AUR build of ET :)
Comment by Roman Kyrylych (Romashka) - Thursday, 05 July 2007, 08:07 GMT
Sure, /usr/local/bin does not work.
There is export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin" in default /etc/profile
Those installers or packages should be modified to install in /usr/bin instead of /usr/local/bin, IMO.

P.S. check that you've added /usr/local/bin to your PATH and echo $PATH shows it.
Comment by Warren Dumortier (elwario91) - Friday, 06 July 2007, 09:38 GMT
The installers works on most disteos but not on arch.

So it would be great to add this by default to $PATH even if no package should be packaged like that...

It's a personal meaning :)

Loading...