You are not logged in.

#1 2009-05-16 15:59:26

pluckcitizen
Member
Registered: 2009-05-16
Posts: 7

Adding installed programs to bash

How do I add an installed program to the bash script when I build the program from source? For example, i installed elinks form source using './configure && make && make install' but i have to browse to /usr/bin/ and ./elinks to run it. How can I run it from anywhere by just typing 'elinks'? Thanks for your help.

Offline

#2 2009-05-16 16:15:54

arvixx
Member
Registered: 2009-05-11
Posts: 8

Re: Adding installed programs to bash

What is the output if you run

echo $PATH

Offline

#3 2009-05-16 16:34:08

pluckcitizen
Member
Registered: 2009-05-16
Posts: 7

Re: Adding installed programs to bash

/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core

Thanks for your reply.

Offline

#4 2009-05-16 16:57:21

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Adding installed programs to bash

Why would you install anything from source like that? Don't get me wrong... I install most software 'from source', but I do it through ABS, or writing my own PKGBUILDs... that's the recommended way to install software in Arch.


.:[My Blog] || [My GitHub]:.

Offline

#5 2009-05-16 17:05:48

pluckcitizen
Member
Registered: 2009-05-16
Posts: 7

Re: Adding installed programs to bash

Ghost1227 wrote:

Why would you install anything from source like that? Don't get me wrong... I install most software 'from source', but I do it through ABS, or writing my own PKGBUILDs... that's the recommended way to install software in Arch.

I installed it from source because I don't have an internet connection (to see why you can read my other topic in this forum). I've never heard of ABS, maybe I'll try that. Thanks

Offline

Board footer

Powered by FluxBB