Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [bsd-ports]

BSD official package collections

Filter by
Sorted by
Tagged with
0 votes
2 answers
1k views

Install pkg for FreeBSD 10

I'm getting the following error while trying to install pkg on FreeBSD 10.4- Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:10:amd64/latest, please wait... pkg: Error fetching http://pkg....
Shradha's user avatar
  • 109
0 votes
1 answer
603 views

rsnapshot.conf - reducing verbose parameter not having the desired effect?

TL;DR Is there some configuration for rsnapshot (see versions below) that would allow me to restrict output to the shell commands, errors and start/finish notifications generated by rsnapshot itself, ...
BISI's user avatar
  • 136
1 vote
1 answer
1k views

How can I use cloud-init NoCloud with OPNsense 21?

I'm new to OPNSense (also to FreeBSD in general) and I'm interested to use cloud-init to configure at least LAN (vtnet0) with static ip address, root password and eventually running custom scripts (or ...
Stefano Cappa's user avatar
0 votes
2 answers
504 views

Change ports mirror in FreeBSD

The initial portsnap fetch command is talking forever. I'm getting speeds of 3427 Bps. Bps. So 3.4 KBps. Where's the config to change the mirror. Please note I'm not talking about the actual building ...
Andy Chow's user avatar
  • 103
0 votes
2 answers
168 views

/usr/ports in OpenBSD [closed]

From the https://www.openbsd.org/faq/ports/ports.html. "The ports tree is meant for advanced users" .Who is 'advanced user' in OpenBSD world? Make file wizard, Port maintainer, core ...
John John's user avatar
0 votes
0 answers
56 views

FreeBSD packages on Linux distributions? Request for advices

When evaluating operating system for our next server, we have the following needs: An OS with a stable version of Python3 so that machine codes compiled from C/C++/etc. sources from our pip packages ...
DannyNiu's user avatar
  • 620
4 votes
1 answer
1k views

FreeBSD ports: want to recompile everything, a few packages fail because "uninstall error" / "already installed"

Only used binary packages via pkg install for a long time. Then had to compile one package from source, since additional options had to be activated. Since that went so well, I wanted to switch ...
Lasse Kliemann's user avatar
1 vote
1 answer
303 views

FreeBSD: How do I install port which doesn't show in searches?

I'd like to install version 6 of unifi network controller in a jail on my FreeNAS server. I can see that a net-mgmt/unifi6 port exists in bugs.freebsd.org: https://bugs.freebsd.org/bugzilla/show_bug....
zwiebelspaetzle's user avatar
0 votes
2 answers
250 views

What is the default ports tree in FreeBSD 12.1? Easiest way to change it?

Starting with a fresh install of FreeBSD-12.1-RELEASE, when I run # portsnap fetch # portsnap extract does it extract the release branch, quarterly branch, HEAD or some other branch? Is there a ...
Dave's user avatar
  • 1
3 votes
1 answer
1k views

OpenBSD: Where to seek for the source of programs in the base system?

In OpenBSD, I use pkg_info -E $(which [cmd]) to be supplied with the name of the package/port to the executable/command [cmd]. Having this information I can further look for the source code to the ...
fraleone's user avatar
  • 837
0 votes
2 answers
712 views

Using FreeBSD Ports & Packages, Installing Tomcat on FreeBSD 12 installs Java 8 rather than my already-installed Java 12

On FreeBSD 12, I already installed Java 12 successfully using: sudo pkg install openjdk12 And I edited etc/fstab as directed by the text emitted by that installer. Then I set the PATH to include ...
Basil Bourque's user avatar
1 vote
1 answer
969 views

Installing Java on FreeBSD: `sudo pkg install openjdk11-11.0.4+11.1` fails to find package despite being listed in the "FreeBSD Ports Search" page

On the FreeBSD Ports Search page, I see results listing an item openjdk11-11.0.4+11.1. When I try to install that: $ sudo pkg install openjdk11-11.0.4+11.1 …I get error saying the package could not ...
Basil Bourque's user avatar
2 votes
1 answer
295 views

Install only a portion of the Ports tree in FreeBSD

I know how to install and update the entire Ports tree in FreeBSD. portsnap fetch extract portsnap update This brings down all the meta-data (and source code?) for some 30,000 apps. This bloats my ...
Basil Bourque's user avatar
1 vote
1 answer
71 views

On FreeBSD can I download a port on a separate device

I have an old PC with FreeBSD 8.4 on it. I would like to install software from the ports collection but the computer doesn’t have the hardware necessary to access the internet. Is there a way to ...
ClausWorks's user avatar
1 vote
2 answers
2k views

Download just one port from the Ports Collection of FreeBSD

On a fresh FreeBSD 11.2 machine, my /usr/ports folder is empty. Running: portsnap fetch extract …as discussed in the Handbook results in filling my /usr/ports with a gig of content. If I only ...
Basil Bourque's user avatar
1 vote
0 answers
719 views

How to modifying & building Freebsd port (e2fsprogs)

I'm trying to build /usr/ports/sysutils/e2fsprogs/ on FreeBSD. For that I'm following below steps: cd $port go to port directory: /user/ports /sysutils/e2fsprogs run 'make extract' --> will ...
Satpal Parmar's user avatar
0 votes
1 answer
108 views

MySQL 5.5 Upgrade Issue

I'm trying to upgrade "databases/mysql55-server" from 5.5.55 to 5.5.56 These are the errors I am receiving. I recently upgraded readline to version 7. Any idea what I need to do to fix this mess? $ ...
Brian Smith's user avatar
1 vote
1 answer
215 views

How does FreeBSD track files installed via ports?

It looks like pkg remove <pkg> is able to remove a package installed via ports. But I didn't find any packages built by typing make in the ports dir. So what's the magic here? How does pkg ...
Cyker's user avatar
  • 4,364
1 vote
0 answers
139 views

Differences between BSD ports and Debian apt

I read recently that installing dependencies in Linux, let's say through apt for example, is quite different from BSD style ports. (And I guess MacPorts borrows from this style?) But I'm not entirely ...
jerome's user avatar
  • 131
7 votes
1 answer
11k views

You have security/openssl installed but do not have DEFAULT_VERSIONS+=ssl=openssl set in your make.conf

On FreeBSD, ever since I installed openssl explicitly I have the following message when I install most ports that require openssl: /!\ WARNING /!\ You have security/openssl installed but do not have ...
cimnine's user avatar
  • 173
0 votes
2 answers
407 views

FreeBSD ports collection under PC-BSD?

I'm toying with the idea of installing FreeBSD or PC-BSD... as it looks now, I'll probably go for PC-BSD. However, one thing I really would like, is the FreeBSD ports collection. So I was wondering ...
Baard Kopperud's user avatar
6 votes
1 answer
1k views

Turn DOCS, NLS, and EXAMPLES options off by default for all FreeBSD ports

The Porters Handbook says in "5.12.1.3. Default Options" that DOCS, NLS, and EXAMPLES are on by default for all ports. I want them off, so I have to unchecked them manually during make config-...
not-a-user's user avatar
  • 1,607
3 votes
1 answer
4k views

How to install portmaster on FreeBSD?

I'm trying to install portmaster on FreeBSD but I get an error about the port format: root@freebsd:/usr/ports/ports-mgmt/portmaster # make install clean ===> portmaster-3.17.8_1 pkg(8) must be ...
ruipacheco's user avatar
6 votes
1 answer
978 views

PC-BSD PBI, what reasons made it to be scrapped?

What are the detailed specific technical/organizational reasons that the PC-BSD team faced that ultimately lead them to scrap PBI and return to ports? Was because of the difficulties compiling and ...
null_pointer's user avatar
1 vote
1 answer
4k views

How to use new ports on ancient FreeBSD versions?

So I have some of the older FreeBSD versions (6.4, 8.4) still running at the company and I'd like to install and update a bunch of tools, such as Python 2.7, Midnight Commander, Tmux, Vim and so on. ...
0xC0000022L's user avatar
  • 16.8k
0 votes
1 answer
1k views

"ruby: Command not found" on FreeBSD, despite having installed it

I just tried to run a ruby script on a FreeBSD box I hadn't used in a while, and got "ruby: Command not found." So I figured I just hadn't previously installed it. Went to /usr/ports/lang/ruby22 and ...
Bob Vesterman's user avatar
0 votes
1 answer
232 views

virtio-kmod in /usr/ports is not compatible; what can I do?

I tried to install virtio-kmod in a FreeBSD guest. make in /usr/ports/emulators/virtio-kmod gives virtio-kmod--0.250249 not supported ${OSREL} (10.1). The ports-tree is up to date. Is that a bug or ...
Jodka Lemon's user avatar
  • 3,183
1 vote
2 answers
2k views

Cross compile ports freebsd 11

I want to make cross compile environment for raspberrypi. Now I have VM with qemu-arm based cross compilation environment (based on this article), and it is VERY SLOW. I think that native i386 ...
Consul's user avatar
  • 11
0 votes
1 answer
2k views

What does "Error code 1" mean when upgrading Firefox port?

I have several of these errors while trying to upgrade Firefox. I have updated my ports. Here are the last few lines of Firefox install: ===> Registering installation for py27-setuptools27-5.5....
Paul Pinkstaff's user avatar
1 vote
0 answers
90 views

How to make a port recalculate dependencies

I am trying to install mail/pine-pgp-filters on my FreeBSD box, but I am running into a problem. I first tried to install it without having GPG installed, and it listed security/gpg1 as a dependency. ...
felixphew's user avatar
  • 360
1 vote
1 answer
477 views

Build devel/boost-libs

I'm trying to build the devel/boost-libs on my FreeBSD 10.1. But I alway get this error ./boost/math/special_functions/detail/lanczos_sse2.hpp:13:10: fatal error: 'emmintrin.h' file not found #...
Sir l33tname's user avatar
3 votes
1 answer
411 views

FreeBSD - major and minor upgrades using ports?

while upgrading my FreeBSD for the first time (from 10.0 --> 10.1) I got confused about the different possibilities. As far as I understand, freebsd-update does a binary update of FreeBSD like pkg ...
Stefan K.'s user avatar
  • 143
10 votes
1 answer
7k views

Is there an easy way to rebuild all ports?

In the upgrade process for 10.1-RELEASE, I'm prompted with this: Installing updates... Completing this upgrade requires removing old shared object files. Please rebuild all installed 3rd party ...
Garrett Albright's user avatar
2 votes
0 answers
654 views

Airport Extreme BCM4331 not recognised on FreeBSD

So I have recently installed FreeBSD 10.1 (now UEFI native!) on my Mid-2012 MacBook Pro. The install went fine, except for one problem: my wireless card wasn't recognised. I looked into bwi and bwn as ...
felixphew's user avatar
  • 360
0 votes
1 answer
2k views

CMake fetch failed on FreeBSD when installing KDevelop

I'm trying to install KDevelop on my machine, How do I solve this issue Steps followed cd /usr/ports/devel/kdevelop-kde4 make install clean Output # make install clean ===> Found saved ...
JaDogg's user avatar
  • 103
1 vote
1 answer
1k views

FreeBSD - delete a partially installed gnome2?

I've been trying to compile x11/gnome2 under FreeBSD 10.0-REL, but have been running into all sorts of issues. Eventually I found things indicating that gnome2 is no longer really supported, and that ...
Bob Vesterman's user avatar
7 votes
1 answer
2k views

How To Download All FreeBSD distfiles

How can I download all FreeBSD distfiles into /usr/ports/distfiles so that I have them for offline use? I realize it will be a huge download. I remember reading how to do this (possibly in the ...
user avatar
6 votes
1 answer
3k views

Replace FreeBSD base clang with ports clang

FreeBSD 10 was the first release that officially released with Clang as the default, base compiler. Most ports, unless specially marked, now compile using the base ("pre-installed") clang. However,...
antiduh's user avatar
  • 367
4 votes
2 answers
1k views

Non-interactive customization and installation of FreeBSD Ports

I'm new to FreeBSD, coming from a Linux background. I want to install a port, changing one of the default configuration options, in a non-interactive way (so that I can script the installation for ...
oakservice's user avatar
3 votes
2 answers
918 views

How do I enable options for installed Ports in FreeBSD?

I installed the Vim editor using Ports and in the process didn't enable GTK2 or GNOME option. I assume that either these 2 options will let me use gvim. Here's my pkg info vim: vim-7.4.430_1 Name ...
baktin's user avatar
  • 963
1 vote
1 answer
8k views

Freebsd equivalent build-essential

I'm already familiar with Debian and Ubuntu. At the moment I'm fiddling around with FreeBSD on a server, after installing it I'm wondering what the best way would be to install the 'essential' ...
DescX's user avatar
  • 21
4 votes
1 answer
1k views

GCC not runnable on FreeBSD

I'm trying to run GCC on FreeBSD and I get this error: % gcc ar: unrecognized option `--plugin' usage: ar -d [-Tjsvz] archive file ... ar -m [-Tjsvz] archive file ... ar -m [-...
ase's user avatar
  • 203
2 votes
1 answer
53 views

What means the labels =>, ==>, ===>, ====>, -, -- and a certain number of spaces after them in an output of the command make install?

I'm writing a script and I need to mark several blocks of its output. To unify is not bad to use the labels like the output of the command such as make install. They are at the beginning of many lines....
Apostle's user avatar
  • 371
2 votes
1 answer
1k views

Why am I still getting pkg deprecation warnings?

I'm still getting warnings about the old pkg tools being deprecated and saying I should switch to pkgng, despite the fact that I followed the directions to switch weeks ago. I did the pkg2ng thing, ...
Brian Knoblauch's user avatar
1 vote
1 answer
300 views

How do I upgrade TCL on FreeBSD?

I updated the PORTS tree and run portmaster -a, but came to a screeching halt at: ===>>> The lang/tcl-modules port has been deleted: Modules are now part of the base Tcl distributions ===>...
Brian Knoblauch's user avatar
5 votes
4 answers
2k views

How to see the output produced by make install in freebsd

When in freebsd you install any software using cd /usr/ports/mysql56-server make install It produces a lot of output on the screen. How you can read that output latter in a file. I tried cd /usr/...
Nishan's user avatar
  • 508
3 votes
1 answer
130 views

Can I rely on binary packages (pkg) in FreeBSD

Since last October binary packages have been available for FreeBSD (http://lists.freebsd.org/pipermail/freebsd-pkg/2013-October/000107.html). Before that, they had some trouble, preventing binary ...
Peter Smit's user avatar
  • 1,164
18 votes
1 answer
12k views

How to update a mix of packages and ports on FreeBSD

I mostly use packages on FreeBSD, because most of them suit me just fine. Some don't suit me, however, like the vim package, which does not include a graphical gvim. No problem. I can install the ...
Ricardo Buring's user avatar
1 vote
1 answer
1k views

Why's my FreeBSD OpenJDK port update failing (and how do I fix it)?

Makes good progress for the first half hour or so, then dies at: cd bsd_amd64_compiler2/product && ./test_gamma Using java runtime at: /usr/local/openjdk7/jre Error occurred during ...
Brian Knoblauch's user avatar
2 votes
1 answer
240 views

Can I figure out why port X is a dependency of port Y?

Is there an easy way to figure out why, when I'm trying to install a certain port in FreeBSD, some other certain port is listed as a dependency? Specifically, I'm trying to install the Webalizer port ...
Garrett Albright's user avatar