*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221
Rep:
Available installation methods for FreeBSD ports
"sysinstall" utility gives you an option to install "ports" from "local filesystem" in addition to "CD/DVD ROM" along with many network installation methods.
I copied all the ports in one folder and while installing the ports I specified the respective local directory but it threw an "index" error. How do I need to copy the ports on local filesystem?
Also is there any "yum" like utility available in FreeBSD where in I can have one centralized repository in which I can place all the ports and use it to install the ports along with the required dependencies.
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221
Original Poster
Rep:
Let me rephrase it....What I want to do is that I want to place the ports present in "All" folder of all the 3 Disks of FreeBSD in one place: It can be either Local filesystem or remote location like FTP server.
And I should be able to install the ports in following manner:
#pkg_add <local-filesystem>/port.tbz
Why would you want to do this? It's a pretty big waste of space. If you have them on the installation CD, just mount the cdrom (most depends are on the same CD as the program you want). But, even that is probably not worth it to me.
If you have a decent internet connection (basically anything but dialup), just use "pkg_add -r vim" or whatever program you want. This will use the project's repositories (which have all the programs and not just the ones on the CD) and will use the most current version of the program.
Edit: if you insist on doing it this way... just copy the ports from each CD into that location. But you're going to be wasting a lot of disk space on ports you won't be using and which will soon be out of date.
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221
Original Poster
Rep:
Quote:
Why would you want to do this? It's a pretty big waste of space. If you have them on the installation CD, just mount the cdrom (most depends are on the same CD as the program you want). But, even that is probably not worth it to me.
I completely agree with you. Actually I am running FreeBSD on VMware and also Internet connection doesn't have that lightning speed and on VMware it starts crawling. Hence I wanted to go for local FTP Server.
"pkg_add -r <pkg-name>" works with no issue but it's just bit slow on my machine.
Also I copied all the ports on my local ftp server and following did work:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.