Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 12th March 2012
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
Join Date: Mar 2012
Posts: 73
Default Using Ports are there any tools (newbie)


I'm having a bit of difficulty in understanding the OpenBSD way of using "ports"......

Actually in all truth and honesty I'm lost

So apart from the standard package tools:

pkg_add, pkg_info etc.....

how do I fetch the Ports collection or Ports tree???

I'm running OpenBSD RELEASE 5.0 x64 under VirtualBox and using it as a learning platform.

What is confusing is that there are no tools such as portsnap or portmanager in order to handle the downloading and building and management of ports.

Currently what I've done in order to get packages is add this line to my .profile:

export PKG_PATH=ftp://ftp.mirrorservice.org/pub/OpenBSD/5.0/packages/`machine -a`/
now packages can be installed by using pkg_add <pkg> without any issue.... but if there is software that I would like to install eg. lcdproc (which is claimed to be able to install under OpenBSD) I got recommended to "create a port" rather then "hand compile".

Unfortunately I'm too new to OpenBSD to know what that means using this OS....

My previous experience I would put the source code into the /usr/ports/distfiles folder; but there isn't a /usr/ports/ directory on OpenBSD so I'm totally lost.

Could anyone help me making sense of this or perhaps help me understanding the different mentality here?

Many thanks.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD Complete ports thaw after ports freeze for 7.3 Release J65nko News 0 24th March 2010 11:46 PM
PF Configuration for newbie slakic OpenBSD Security 1 20th August 2009 02:35 PM
UML tools bichumo Programming 2 12th September 2008 02:23 PM
Newbie NAT problem TiN-MAN FreeBSD Installation and Upgrading 2 26th June 2008 06:42 AM
Benchmarking Tools JMJ_coder NetBSD General 8 16th June 2008 10:42 PM

All times are GMT. The time now is 07:53 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick