DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd June 2008
xCipherx xCipherx is offline
New User
 
Join Date: May 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default Install ports from cd?

Hi all,

Can I install packages from ports from a cd or do I have to have an internet connection?
Reply With Quote
  #2   (View Single Post)  
Old 2nd June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by xCipherx View Post
Can I install packages from ports from a cd or do I have to have an internet connection?
Note that the OpenBSD project recommends installing applications from packages over ports. Read Section 15.2.2 of the FAQ for more information:

http://openbsd.org/faq/faq15.html#Easy

If you have the official CD set, many of the packages available for the more popular hardware platforms can be found there. Otherwise, you will need an Internet connection to install these applications.

Note that for the i386 platform, there is little if any reason to ever compile applications as most are already available as packages. This does not hold true for the less common platforms.

If you are new to OpenBSD & its packages/ports system, studying Section 15 will save you significant time.
Reply With Quote
  #3   (View Single Post)  
Old 2nd June 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,711
Thanked 214 Times in 189 Posts
Default

Building ports requires an Internet connection in order to fetch the source files for each port and all of its dependencies. The ports tree contains makefiles, patches, packing lists, and other components needed to create packages. It does not contain any of the application source code.

Last edited by jggimi; 2nd June 2008 at 11:39 AM. Reason: clarity
Reply With Quote
  #4   (View Single Post)  
Old 2nd June 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,154
Thanked 182 Times in 149 Posts
Default

In another place, your friend or your work, you could fetch all the source files and write them to CD
Code:
make fetch
Of course you will have to repeat that for the dependency ports. I never had to do this but this should fetch all dependencies
Code:
make fetch depends
The only remaining problem is how to tell the ports makefile at home to retrieve the files from your CD instead through ftp.
I will leave that to others, as I don't have the time at this moment to figure that out
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #5   (View Single Post)  
Old 2nd June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Thanked 25 Times in 24 Posts
Default

You have a perfectly good working OpenBSD with the install iso.
__________________
da more I know I know I know nuttin'
Reply With Quote
  #6   (View Single Post)  
Old 2nd June 2008
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 194
Thanked 47 Times in 22 Posts
Default

Quote:
Originally Posted by J65nko View Post
The only remaining problem is how to tell the ports makefile at home to retrieve the files from your CD instead through ftp.
I will leave that to others, as I don't have the time at this moment to figure that out
I thought it first searches ${PORTSDIR}/distfiles first and then go to ftp sites if not found there?

I don't quite understand your post xCipherx - you want to install packages, ports or you want to download them on separate machine and then install at home?
If one has distfiles on a CD it should be enough to cp them to distfiles dir or set a DISTDIR variable pointing to there.
If installing packages (recommended as opposed to ports) from a CD then set PKG_PATH to the mount path of CDROM.

Have not used OpenBSD for a while, I hope I'm not wrong here.
Reply With Quote
Reply

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
cannot install wireshark from ports ccc FreeBSD Ports and Packages 1 1st February 2009 05:52 PM
Trying to install elinks via ports. Not having luck. Need help. unixdude FreeBSD Ports and Packages 2 11th November 2008 08:21 AM
unable to install Postfix from ports on OBSD 4.3 Pollywog OpenBSD Packages and Ports 25 22nd July 2008 03:32 AM
Can't install opera from ports erno FreeBSD Ports and Packages 2 25th June 2008 10:25 AM
Should i install 2 ports at same time ? bsdnewbie999 OpenBSD General 4 18th June 2008 04:34 AM


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


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