Linux compatibility in FreeBSD

Boris Samorodov bsam at
Wed Oct 14 15:50:20 UTC 2009

On Wed, 14 Oct 2009 10:57:58 -0300 Leandro F Silva wrote:

> Does anyone know or already configured the linux compatibility in FreeBSD to
> install rpm packages and so on.

hm, actually (almost) all linux applications are installed using 
RPM packages. Did you mean using linux RPM database?

> Actually I'm running the i386 7.2 FreeBSD and the following package.

> %pkg_info |grep linu
> linux_base-fc-4_14  Base set of packages needed in Linux mode (for
> i386/amd64)

FYI: You may use `pkg_info -Ix linux_base` for this.

> I already saw the linux compatibility in the hand book of FreeBSD, but I
> didn't find too much information regarding rpm packages.

> Is there any way to do it ? any help is really welcome !

Using RPM database is not supported since FreeBSD has its own
package database for all applications including linux ones.

Said that I don't mean it doesn't work. If you need to use RPM
database to register applications that does not exist at ports
you may give it a try.

But the best way is to create ports for those applications
and install them from ports. BTW, they really don't need to
exist at the official portstree. You may place them, say, to
/usr/ports/local. A PR with them will be a good thing though.

WBR, Boris Samorodov (bsam)
Research Engineer, Telephone & Internet SP
FreeBSD Committer, The Power To Serve

More information about the freebsd-questions mailing list