PDA

View Full Version : [SOLVED] Program installed, yet...not found by bash how do I redirect?



Mepoe
23rd February 2013, 06:03 PM
Hi,

Fedora || Bash is looking for Python3 in /usr/local/bin

It's not there. How do I get it to reset to Python3's default place...

RupertPupkin
23rd February 2013, 06:35 PM
Run /usr/bin/python3, as you've already been told to do in another thread.

Mepoe
23rd February 2013, 07:05 PM
that's why I said I want to redirect. Unfortunately, it isn't easy for me to type and the fewer letters the better. So instead of having to type usr/bin/python3

I just want python3 (or better yet py3

mikee
23rd February 2013, 07:07 PM
Add the line:

alias py3=/usr/bin/python3

to your .profile file.
You'll need to log out and log back in for it to take effect.