View Single Post
  #5   (View Single Post)  
Old 3rd June 2008
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Default

ocicat's right - and here's how to make that permanently useful:

if logging in as root (or searching and adding packages as root), add the following line to your /root/.profile file-

PKG_PATH=ftp://ftp.usa.openbsd.org/pub/OpenBSD/4.x/packages/i386/

FIVE THINGS ABOUT THE PRECEDING LINE-
1) you may want to change to a different site other than usa.openbsd.org
2) change the 4.x to the version of OBSD you are using (i.e. 4.3 if you are running the current release.)
3) change the i386 if you are using a different archeticture.
4) Log out and back in as root for this line to take effect.
5) Make sure your DNS is working properly so the path can be properly resolved.


From there, running the pkg_info -Q xxxx (where xxxx is the package name you are looking for) should bring up the exact package name you are looking for (if it exists.)

From there run pkg_add yyyy (where yyyy is the exact package name you found above.)

Good luck
__________________
Network Firefighter
Reply With Quote