Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

someguy

macrumors 68020
Original poster
Dec 4, 2005
2,351
21
Still here.
I downloaded Links.pkg from http://links.sourceforge.net/ and intalled it on my PowerBook (OS 10.4.5), but for some reason it just won't work. I must be doing something wrong, but I can't figure it out.

I've restarted Terminal after the installation, even restarted the entire system.

Any clue as to what might be wrong?

P.S. Sorry if this is covered in another thread, I searched, but the word "links" is almost never used to describe this particular program.. :)
 
I just downloaded the package and it works fine.

What error are you getting when you try to run it from the terminal?

Off the top of my head the only thing I can think of is you don't have /usr/local/bin in your path?
 
Last login: Sat Feb 18 16:01:09 on ttyp1
Welcome to Darwin!
Mac:~ Gary$ links
-bash: links: command not found
 
Check your path first

echo $PATH

You probably don't have /usr/local/bin in there, what you need to do is edit a file called ~/.profile and add the following:

##
# DELUXE-USR-LOCAL-BIN-INSERT
# (do not remove this comment)
##
echo $PATH | grep -q -s "/usr/local/bin"
if [ $? -eq 1 ] ; then
PATH=$PATH:/usr/local/bin
export PATH
fi


You might not even have a .profile so just create one and add that script. Once you've done that quit the terminal and restart it (you might need to log out) and try again.

If you aren't sure what that script above does I recommend you read the man pages for all of the commands there, you can trust me but it's best to be sure. ;)

If you do have /usr/local/bin in your path did you install it to default drive / location?
 
Mac:~ Gary$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin


Again, total n00b. :) Does this tell you anything, though?
 
Will do. How do I edit .profile if I can't see it in the finder? Do I have to use Terminal somehow?
 
Since you seem to be pretty new at this try pico from the terminal:

pico ~/.profile

add the script and then save and quit using ctrl + o then ctrl + x.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.