run Linux applications on FreeBSD

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












is it possible at to run Linux applications on a FreeBSD machine? How can I do it? Thank in advance !










share|improve this question

















  • 2




    Read this: freebsd.org/doc/handbook/linuxemu.html
    – Bob
    Aug 11 at 5:33










  • You could use a Linux virtual machine on top of FreeBSD. What is the application you'd like to run?
    – Kusalananda
    Aug 11 at 7:13










  • As always, most FreeBSD questions are answered in The Handbook as linked to by @Bob . In most cases, there is a port/pkg of the same application from Linux available on FreeBSD.
    – Rob
    Aug 11 at 10:44











  • FreeBSD has a Linux subsystem which does run Linux applications natively w/o a need to recompile. Read up on that on freebsd.org where there are plenty of resources.
    – ajeh
    Aug 11 at 18:02














up vote
2
down vote

favorite












is it possible at to run Linux applications on a FreeBSD machine? How can I do it? Thank in advance !










share|improve this question

















  • 2




    Read this: freebsd.org/doc/handbook/linuxemu.html
    – Bob
    Aug 11 at 5:33










  • You could use a Linux virtual machine on top of FreeBSD. What is the application you'd like to run?
    – Kusalananda
    Aug 11 at 7:13










  • As always, most FreeBSD questions are answered in The Handbook as linked to by @Bob . In most cases, there is a port/pkg of the same application from Linux available on FreeBSD.
    – Rob
    Aug 11 at 10:44











  • FreeBSD has a Linux subsystem which does run Linux applications natively w/o a need to recompile. Read up on that on freebsd.org where there are plenty of resources.
    – ajeh
    Aug 11 at 18:02












up vote
2
down vote

favorite









up vote
2
down vote

favorite











is it possible at to run Linux applications on a FreeBSD machine? How can I do it? Thank in advance !










share|improve this question













is it possible at to run Linux applications on a FreeBSD machine? How can I do it? Thank in advance !







linux freebsd application






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 11 at 5:17









Denny00

11910




11910







  • 2




    Read this: freebsd.org/doc/handbook/linuxemu.html
    – Bob
    Aug 11 at 5:33










  • You could use a Linux virtual machine on top of FreeBSD. What is the application you'd like to run?
    – Kusalananda
    Aug 11 at 7:13










  • As always, most FreeBSD questions are answered in The Handbook as linked to by @Bob . In most cases, there is a port/pkg of the same application from Linux available on FreeBSD.
    – Rob
    Aug 11 at 10:44











  • FreeBSD has a Linux subsystem which does run Linux applications natively w/o a need to recompile. Read up on that on freebsd.org where there are plenty of resources.
    – ajeh
    Aug 11 at 18:02












  • 2




    Read this: freebsd.org/doc/handbook/linuxemu.html
    – Bob
    Aug 11 at 5:33










  • You could use a Linux virtual machine on top of FreeBSD. What is the application you'd like to run?
    – Kusalananda
    Aug 11 at 7:13










  • As always, most FreeBSD questions are answered in The Handbook as linked to by @Bob . In most cases, there is a port/pkg of the same application from Linux available on FreeBSD.
    – Rob
    Aug 11 at 10:44











  • FreeBSD has a Linux subsystem which does run Linux applications natively w/o a need to recompile. Read up on that on freebsd.org where there are plenty of resources.
    – ajeh
    Aug 11 at 18:02







2




2




Read this: freebsd.org/doc/handbook/linuxemu.html
– Bob
Aug 11 at 5:33




Read this: freebsd.org/doc/handbook/linuxemu.html
– Bob
Aug 11 at 5:33












You could use a Linux virtual machine on top of FreeBSD. What is the application you'd like to run?
– Kusalananda
Aug 11 at 7:13




You could use a Linux virtual machine on top of FreeBSD. What is the application you'd like to run?
– Kusalananda
Aug 11 at 7:13












As always, most FreeBSD questions are answered in The Handbook as linked to by @Bob . In most cases, there is a port/pkg of the same application from Linux available on FreeBSD.
– Rob
Aug 11 at 10:44





As always, most FreeBSD questions are answered in The Handbook as linked to by @Bob . In most cases, there is a port/pkg of the same application from Linux available on FreeBSD.
– Rob
Aug 11 at 10:44













FreeBSD has a Linux subsystem which does run Linux applications natively w/o a need to recompile. Read up on that on freebsd.org where there are plenty of resources.
– ajeh
Aug 11 at 18:02




FreeBSD has a Linux subsystem which does run Linux applications natively w/o a need to recompile. Read up on that on freebsd.org where there are plenty of resources.
– ajeh
Aug 11 at 18:02










2 Answers
2






active

oldest

votes

















up vote
2
down vote














  • Ports/packages There are tens of thousands of softwares in the ports/packages collection, installable and built from source on one's system in /usr/ports/ (with options that one can configure to one's local system) or available as pre-built binaries from the FreeBSD package repositories. It's quite likely that whatever you want to run has already been included.


  • Binary compatibility There's a subsystem in the FreeBSD kernel that can emulate many Linux system calls and the Linux /compat/linux/proc/ filesystem, although it deliberately does not provide some architecture-specific Linuxisms, for running Linux binaries. In contrast, note, ports/packages are native FreeBSD programs, compiled tailored to FreeBSD and its libraries.

This is all documented in the FreeBSD Handbook.



OpenBSD and NetBSD have ports/packages systems, too. NetBSD refers to it as just the packages collection, because in NetBSD jargon "ports" are ports of the operating system to different platforms and architectures. NetBSD has a similar binary compatibility layer, likewise documented in the NetBSD Guide.






share|improve this answer



























    up vote
    0
    down vote













    If the source is available, try compiling it within FreeBSD. If not, use the Linux compatibility layer as others have mentioned.






    share|improve this answer




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f461949%2frun-linux-applications-on-freebsd%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote














      • Ports/packages There are tens of thousands of softwares in the ports/packages collection, installable and built from source on one's system in /usr/ports/ (with options that one can configure to one's local system) or available as pre-built binaries from the FreeBSD package repositories. It's quite likely that whatever you want to run has already been included.


      • Binary compatibility There's a subsystem in the FreeBSD kernel that can emulate many Linux system calls and the Linux /compat/linux/proc/ filesystem, although it deliberately does not provide some architecture-specific Linuxisms, for running Linux binaries. In contrast, note, ports/packages are native FreeBSD programs, compiled tailored to FreeBSD and its libraries.

      This is all documented in the FreeBSD Handbook.



      OpenBSD and NetBSD have ports/packages systems, too. NetBSD refers to it as just the packages collection, because in NetBSD jargon "ports" are ports of the operating system to different platforms and architectures. NetBSD has a similar binary compatibility layer, likewise documented in the NetBSD Guide.






      share|improve this answer
























        up vote
        2
        down vote














        • Ports/packages There are tens of thousands of softwares in the ports/packages collection, installable and built from source on one's system in /usr/ports/ (with options that one can configure to one's local system) or available as pre-built binaries from the FreeBSD package repositories. It's quite likely that whatever you want to run has already been included.


        • Binary compatibility There's a subsystem in the FreeBSD kernel that can emulate many Linux system calls and the Linux /compat/linux/proc/ filesystem, although it deliberately does not provide some architecture-specific Linuxisms, for running Linux binaries. In contrast, note, ports/packages are native FreeBSD programs, compiled tailored to FreeBSD and its libraries.

        This is all documented in the FreeBSD Handbook.



        OpenBSD and NetBSD have ports/packages systems, too. NetBSD refers to it as just the packages collection, because in NetBSD jargon "ports" are ports of the operating system to different platforms and architectures. NetBSD has a similar binary compatibility layer, likewise documented in the NetBSD Guide.






        share|improve this answer






















          up vote
          2
          down vote










          up vote
          2
          down vote










          • Ports/packages There are tens of thousands of softwares in the ports/packages collection, installable and built from source on one's system in /usr/ports/ (with options that one can configure to one's local system) or available as pre-built binaries from the FreeBSD package repositories. It's quite likely that whatever you want to run has already been included.


          • Binary compatibility There's a subsystem in the FreeBSD kernel that can emulate many Linux system calls and the Linux /compat/linux/proc/ filesystem, although it deliberately does not provide some architecture-specific Linuxisms, for running Linux binaries. In contrast, note, ports/packages are native FreeBSD programs, compiled tailored to FreeBSD and its libraries.

          This is all documented in the FreeBSD Handbook.



          OpenBSD and NetBSD have ports/packages systems, too. NetBSD refers to it as just the packages collection, because in NetBSD jargon "ports" are ports of the operating system to different platforms and architectures. NetBSD has a similar binary compatibility layer, likewise documented in the NetBSD Guide.






          share|improve this answer













          • Ports/packages There are tens of thousands of softwares in the ports/packages collection, installable and built from source on one's system in /usr/ports/ (with options that one can configure to one's local system) or available as pre-built binaries from the FreeBSD package repositories. It's quite likely that whatever you want to run has already been included.


          • Binary compatibility There's a subsystem in the FreeBSD kernel that can emulate many Linux system calls and the Linux /compat/linux/proc/ filesystem, although it deliberately does not provide some architecture-specific Linuxisms, for running Linux binaries. In contrast, note, ports/packages are native FreeBSD programs, compiled tailored to FreeBSD and its libraries.

          This is all documented in the FreeBSD Handbook.



          OpenBSD and NetBSD have ports/packages systems, too. NetBSD refers to it as just the packages collection, because in NetBSD jargon "ports" are ports of the operating system to different platforms and architectures. NetBSD has a similar binary compatibility layer, likewise documented in the NetBSD Guide.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 11 at 11:04









          JdeBP

          29.3k460136




          29.3k460136






















              up vote
              0
              down vote













              If the source is available, try compiling it within FreeBSD. If not, use the Linux compatibility layer as others have mentioned.






              share|improve this answer
























                up vote
                0
                down vote













                If the source is available, try compiling it within FreeBSD. If not, use the Linux compatibility layer as others have mentioned.






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  If the source is available, try compiling it within FreeBSD. If not, use the Linux compatibility layer as others have mentioned.






                  share|improve this answer












                  If the source is available, try compiling it within FreeBSD. If not, use the Linux compatibility layer as others have mentioned.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 21 at 2:52









                  Jonathan F

                  11




                  11



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f461949%2frun-linux-applications-on-freebsd%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Bahrain

                      Postfix configuration issue with fips on centos 7; mailgun relay