Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hi everyone ... I have this doubt since quite a long time.
The source code of a package of Linux ... Can be compiled and run in a BSD Platform???
I think it could be possible ... in theory.
Well, that's all ... Thanks for your answers, folks !
As far as I know, there is no such thing as a linux package.
Some distros use packages, like rpm, deb, tgz, autopackage and stuff, or tarballs.
Some are specific to linux (kernel modules like kqemu for instance make no sense for BSD) and some can be compiled on BSD (qemu for instance is not specific to linux, as fas as I know)
I am not sure exactly what you are asking. But if you're asking if "linux" programs like firefox, gimp, or whatever can be compiled on BSD... then yes. In fact, most of them are already in the ports (or pkgsrc) tree and you can install them with one command.
If you're asking about Linux itself [the kernel]... then no. There is no purpose or use to do that.
Edit: as a note, FreeBSD does have kqemu... it is patched and built specifically for its kernel though.
From the link: "In a nutshell, the compatibility allows FreeBSD users to run about 90% of all Linux applications without modification. This includes applications such as StarOffice™, the Linux version of Netscape®, Adobe® Acrobat®, RealPlayer®, VMware™, Oracle®, WordPerfect®, Doom, Quake, and more. It is also reported that in some situations, Linux binaries perform better on FreeBSD than they do under Linux."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.