How to install Open Virtual Switch











up vote
0
down vote

favorite












I want to install the Open Virtual Switch. How can I do so? I read the openvswitch.org page but that was not well explained and I did not understand it, perhaps because I am new to Linux.
Can any one introduce me some to a good and simple tutorial about installing Open Virtual Switch directly via the Linux kernel?










share|improve this question




























    up vote
    0
    down vote

    favorite












    I want to install the Open Virtual Switch. How can I do so? I read the openvswitch.org page but that was not well explained and I did not understand it, perhaps because I am new to Linux.
    Can any one introduce me some to a good and simple tutorial about installing Open Virtual Switch directly via the Linux kernel?










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I want to install the Open Virtual Switch. How can I do so? I read the openvswitch.org page but that was not well explained and I did not understand it, perhaps because I am new to Linux.
      Can any one introduce me some to a good and simple tutorial about installing Open Virtual Switch directly via the Linux kernel?










      share|improve this question















      I want to install the Open Virtual Switch. How can I do so? I read the openvswitch.org page but that was not well explained and I did not understand it, perhaps because I am new to Linux.
      Can any one introduce me some to a good and simple tutorial about installing Open Virtual Switch directly via the Linux kernel?







      kernel






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 '14 at 6:01









      Aibara

      5,99763259




      5,99763259










      asked Nov 14 '14 at 17:17









      sarah sh

      112




      112






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Do not download the tar file (link downloads v2.3.0) (other releases) because there are some important pointers AND at the end of writing this (made it on the fly) I found out it was easier than you would think (though the installation is so obvious I wasted time making this ;) ). Skip to below the image if you do not want to install the source version (ie. the download on their website).



          openvSwitch has a release for specific kernels.



          Version Linux kernel
          1.4.x 2.6.18 to 3.2
          1.5.x 2.6.18 to 3.2
          1.6.x 2.6.18 to 3.2
          1.7.x 2.6.18 to 3.3
          1.8.x 2.6.18 to 3.4
          1.9.x 2.6.18 to 3.8
          1.10.x 2.6.18 to 3.8
          1.11.x 2.6.18 to 3.8
          2.0.x 2.6.32 to 3.10
          2.1.x 2.6.32 to 3.11
          2.3.x 2.6.32 to 3.14




          Ubuntu 14.10 has 3.16 ...



          $uname -a
          Linux schijfwereld 3.16.0-24-generic #32-Ubuntu SMP
          Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux




          Here is a list of Ubuntu versions with their kernel versions:





          • List of Ubuntu Versions with Corresponding Linux Kernel Version



            Current supported Ubuntu releases:



            12.04   Precise Pangolin 3.2+
            14.04 Trusty Tahr 3.13


            If you want to be sure to get a working installation from the tar.gz (at the moment) 14.04 is adviced. In general I would not make a remark about this but this software clearly has a direct relation to the kernel version. So installing it on not supported kernel releases is not advised.






          After downloading you will have a tar.gz file in your ~/Downloads. Open the file with fileroler and check the installation file. "INSTALL: is a generic Linux installation guide but there are PLATFORM specific installation files in it (wow, that's a first!). You need "INSTALL.Debian" for Ubuntu.



          The installation starts with a comment:




          Before You Begin



          Before you begin, consider whether you really need to build packages
          yourself. Debian "wheezy" and "sid", as well as recent versions of
          Ubuntu, contain pre-built Debian packages for Open vSwitch. It is
          easier to install these than to build your own. To use packages from
          your distribution, skip ahead to "Installing .deb Packages", below.







          Installing .deb Packages



          These instructions apply to installing from Debian packages that you
          built yourself, as described in the previous section, or from packages
          provided by Debian or a Debian derivative distribution such as Ubuntu.
          In the former case, use a command such as "dpkg -i" to install the
          .deb files that you build, and in the latter case use a program such
          as "apt-get" or "aptitude" to download and install the provided
          packages.



          You must be superuser to install Debian packages.




          1. Start by installing an Open vSwitch kernel module. See debian/openvswitch-switch.README.Debian for the available options.


          2. Install the "openvswitch-switch" and "openvswitch-common" packages. These packages include the core userspace components of the switch.



          Open vSwitch .deb packages not mentioned above are rarely useful. Please refer to their individual package descriptions to find out whether any of them are useful to you.






          So the manual suggests that there are debian packages (of course... I should have started checking Ubuntu Software Center). So let's open up Ubuntu Softeware Center and search for it.



          enter image description here





          So to answer your question:




          Can any one introduce me to a good and simple tutorial about installing Open Virtual Switch directly via the Linux kernel?




          It seems the answer would be yes (it consists on 2 packages available in your software center) so you can do it from our software center or from command line:




          Installation made easy




          Depending on your needs you may need more components but the base installation will be:



          sudo apt-get install openvswitch-switch openvswitch-common


          Refer to the install guidelines in the tar.gz or the descriptions in our software center or the website your linked for more information about packages related to this installation.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f549656%2fhow-to-install-open-virtual-switch%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Do not download the tar file (link downloads v2.3.0) (other releases) because there are some important pointers AND at the end of writing this (made it on the fly) I found out it was easier than you would think (though the installation is so obvious I wasted time making this ;) ). Skip to below the image if you do not want to install the source version (ie. the download on their website).



            openvSwitch has a release for specific kernels.



            Version Linux kernel
            1.4.x 2.6.18 to 3.2
            1.5.x 2.6.18 to 3.2
            1.6.x 2.6.18 to 3.2
            1.7.x 2.6.18 to 3.3
            1.8.x 2.6.18 to 3.4
            1.9.x 2.6.18 to 3.8
            1.10.x 2.6.18 to 3.8
            1.11.x 2.6.18 to 3.8
            2.0.x 2.6.32 to 3.10
            2.1.x 2.6.32 to 3.11
            2.3.x 2.6.32 to 3.14




            Ubuntu 14.10 has 3.16 ...



            $uname -a
            Linux schijfwereld 3.16.0-24-generic #32-Ubuntu SMP
            Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux




            Here is a list of Ubuntu versions with their kernel versions:





            • List of Ubuntu Versions with Corresponding Linux Kernel Version



              Current supported Ubuntu releases:



              12.04   Precise Pangolin 3.2+
              14.04 Trusty Tahr 3.13


              If you want to be sure to get a working installation from the tar.gz (at the moment) 14.04 is adviced. In general I would not make a remark about this but this software clearly has a direct relation to the kernel version. So installing it on not supported kernel releases is not advised.






            After downloading you will have a tar.gz file in your ~/Downloads. Open the file with fileroler and check the installation file. "INSTALL: is a generic Linux installation guide but there are PLATFORM specific installation files in it (wow, that's a first!). You need "INSTALL.Debian" for Ubuntu.



            The installation starts with a comment:




            Before You Begin



            Before you begin, consider whether you really need to build packages
            yourself. Debian "wheezy" and "sid", as well as recent versions of
            Ubuntu, contain pre-built Debian packages for Open vSwitch. It is
            easier to install these than to build your own. To use packages from
            your distribution, skip ahead to "Installing .deb Packages", below.







            Installing .deb Packages



            These instructions apply to installing from Debian packages that you
            built yourself, as described in the previous section, or from packages
            provided by Debian or a Debian derivative distribution such as Ubuntu.
            In the former case, use a command such as "dpkg -i" to install the
            .deb files that you build, and in the latter case use a program such
            as "apt-get" or "aptitude" to download and install the provided
            packages.



            You must be superuser to install Debian packages.




            1. Start by installing an Open vSwitch kernel module. See debian/openvswitch-switch.README.Debian for the available options.


            2. Install the "openvswitch-switch" and "openvswitch-common" packages. These packages include the core userspace components of the switch.



            Open vSwitch .deb packages not mentioned above are rarely useful. Please refer to their individual package descriptions to find out whether any of them are useful to you.






            So the manual suggests that there are debian packages (of course... I should have started checking Ubuntu Software Center). So let's open up Ubuntu Softeware Center and search for it.



            enter image description here





            So to answer your question:




            Can any one introduce me to a good and simple tutorial about installing Open Virtual Switch directly via the Linux kernel?




            It seems the answer would be yes (it consists on 2 packages available in your software center) so you can do it from our software center or from command line:




            Installation made easy




            Depending on your needs you may need more components but the base installation will be:



            sudo apt-get install openvswitch-switch openvswitch-common


            Refer to the install guidelines in the tar.gz or the descriptions in our software center or the website your linked for more information about packages related to this installation.






            share|improve this answer



























              up vote
              0
              down vote













              Do not download the tar file (link downloads v2.3.0) (other releases) because there are some important pointers AND at the end of writing this (made it on the fly) I found out it was easier than you would think (though the installation is so obvious I wasted time making this ;) ). Skip to below the image if you do not want to install the source version (ie. the download on their website).



              openvSwitch has a release for specific kernels.



              Version Linux kernel
              1.4.x 2.6.18 to 3.2
              1.5.x 2.6.18 to 3.2
              1.6.x 2.6.18 to 3.2
              1.7.x 2.6.18 to 3.3
              1.8.x 2.6.18 to 3.4
              1.9.x 2.6.18 to 3.8
              1.10.x 2.6.18 to 3.8
              1.11.x 2.6.18 to 3.8
              2.0.x 2.6.32 to 3.10
              2.1.x 2.6.32 to 3.11
              2.3.x 2.6.32 to 3.14




              Ubuntu 14.10 has 3.16 ...



              $uname -a
              Linux schijfwereld 3.16.0-24-generic #32-Ubuntu SMP
              Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux




              Here is a list of Ubuntu versions with their kernel versions:





              • List of Ubuntu Versions with Corresponding Linux Kernel Version



                Current supported Ubuntu releases:



                12.04   Precise Pangolin 3.2+
                14.04 Trusty Tahr 3.13


                If you want to be sure to get a working installation from the tar.gz (at the moment) 14.04 is adviced. In general I would not make a remark about this but this software clearly has a direct relation to the kernel version. So installing it on not supported kernel releases is not advised.






              After downloading you will have a tar.gz file in your ~/Downloads. Open the file with fileroler and check the installation file. "INSTALL: is a generic Linux installation guide but there are PLATFORM specific installation files in it (wow, that's a first!). You need "INSTALL.Debian" for Ubuntu.



              The installation starts with a comment:




              Before You Begin



              Before you begin, consider whether you really need to build packages
              yourself. Debian "wheezy" and "sid", as well as recent versions of
              Ubuntu, contain pre-built Debian packages for Open vSwitch. It is
              easier to install these than to build your own. To use packages from
              your distribution, skip ahead to "Installing .deb Packages", below.







              Installing .deb Packages



              These instructions apply to installing from Debian packages that you
              built yourself, as described in the previous section, or from packages
              provided by Debian or a Debian derivative distribution such as Ubuntu.
              In the former case, use a command such as "dpkg -i" to install the
              .deb files that you build, and in the latter case use a program such
              as "apt-get" or "aptitude" to download and install the provided
              packages.



              You must be superuser to install Debian packages.




              1. Start by installing an Open vSwitch kernel module. See debian/openvswitch-switch.README.Debian for the available options.


              2. Install the "openvswitch-switch" and "openvswitch-common" packages. These packages include the core userspace components of the switch.



              Open vSwitch .deb packages not mentioned above are rarely useful. Please refer to their individual package descriptions to find out whether any of them are useful to you.






              So the manual suggests that there are debian packages (of course... I should have started checking Ubuntu Software Center). So let's open up Ubuntu Softeware Center and search for it.



              enter image description here





              So to answer your question:




              Can any one introduce me to a good and simple tutorial about installing Open Virtual Switch directly via the Linux kernel?




              It seems the answer would be yes (it consists on 2 packages available in your software center) so you can do it from our software center or from command line:




              Installation made easy




              Depending on your needs you may need more components but the base installation will be:



              sudo apt-get install openvswitch-switch openvswitch-common


              Refer to the install guidelines in the tar.gz or the descriptions in our software center or the website your linked for more information about packages related to this installation.






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                Do not download the tar file (link downloads v2.3.0) (other releases) because there are some important pointers AND at the end of writing this (made it on the fly) I found out it was easier than you would think (though the installation is so obvious I wasted time making this ;) ). Skip to below the image if you do not want to install the source version (ie. the download on their website).



                openvSwitch has a release for specific kernels.



                Version Linux kernel
                1.4.x 2.6.18 to 3.2
                1.5.x 2.6.18 to 3.2
                1.6.x 2.6.18 to 3.2
                1.7.x 2.6.18 to 3.3
                1.8.x 2.6.18 to 3.4
                1.9.x 2.6.18 to 3.8
                1.10.x 2.6.18 to 3.8
                1.11.x 2.6.18 to 3.8
                2.0.x 2.6.32 to 3.10
                2.1.x 2.6.32 to 3.11
                2.3.x 2.6.32 to 3.14




                Ubuntu 14.10 has 3.16 ...



                $uname -a
                Linux schijfwereld 3.16.0-24-generic #32-Ubuntu SMP
                Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux




                Here is a list of Ubuntu versions with their kernel versions:





                • List of Ubuntu Versions with Corresponding Linux Kernel Version



                  Current supported Ubuntu releases:



                  12.04   Precise Pangolin 3.2+
                  14.04 Trusty Tahr 3.13


                  If you want to be sure to get a working installation from the tar.gz (at the moment) 14.04 is adviced. In general I would not make a remark about this but this software clearly has a direct relation to the kernel version. So installing it on not supported kernel releases is not advised.






                After downloading you will have a tar.gz file in your ~/Downloads. Open the file with fileroler and check the installation file. "INSTALL: is a generic Linux installation guide but there are PLATFORM specific installation files in it (wow, that's a first!). You need "INSTALL.Debian" for Ubuntu.



                The installation starts with a comment:




                Before You Begin



                Before you begin, consider whether you really need to build packages
                yourself. Debian "wheezy" and "sid", as well as recent versions of
                Ubuntu, contain pre-built Debian packages for Open vSwitch. It is
                easier to install these than to build your own. To use packages from
                your distribution, skip ahead to "Installing .deb Packages", below.







                Installing .deb Packages



                These instructions apply to installing from Debian packages that you
                built yourself, as described in the previous section, or from packages
                provided by Debian or a Debian derivative distribution such as Ubuntu.
                In the former case, use a command such as "dpkg -i" to install the
                .deb files that you build, and in the latter case use a program such
                as "apt-get" or "aptitude" to download and install the provided
                packages.



                You must be superuser to install Debian packages.




                1. Start by installing an Open vSwitch kernel module. See debian/openvswitch-switch.README.Debian for the available options.


                2. Install the "openvswitch-switch" and "openvswitch-common" packages. These packages include the core userspace components of the switch.



                Open vSwitch .deb packages not mentioned above are rarely useful. Please refer to their individual package descriptions to find out whether any of them are useful to you.






                So the manual suggests that there are debian packages (of course... I should have started checking Ubuntu Software Center). So let's open up Ubuntu Softeware Center and search for it.



                enter image description here





                So to answer your question:




                Can any one introduce me to a good and simple tutorial about installing Open Virtual Switch directly via the Linux kernel?




                It seems the answer would be yes (it consists on 2 packages available in your software center) so you can do it from our software center or from command line:




                Installation made easy




                Depending on your needs you may need more components but the base installation will be:



                sudo apt-get install openvswitch-switch openvswitch-common


                Refer to the install guidelines in the tar.gz or the descriptions in our software center or the website your linked for more information about packages related to this installation.






                share|improve this answer














                Do not download the tar file (link downloads v2.3.0) (other releases) because there are some important pointers AND at the end of writing this (made it on the fly) I found out it was easier than you would think (though the installation is so obvious I wasted time making this ;) ). Skip to below the image if you do not want to install the source version (ie. the download on their website).



                openvSwitch has a release for specific kernels.



                Version Linux kernel
                1.4.x 2.6.18 to 3.2
                1.5.x 2.6.18 to 3.2
                1.6.x 2.6.18 to 3.2
                1.7.x 2.6.18 to 3.3
                1.8.x 2.6.18 to 3.4
                1.9.x 2.6.18 to 3.8
                1.10.x 2.6.18 to 3.8
                1.11.x 2.6.18 to 3.8
                2.0.x 2.6.32 to 3.10
                2.1.x 2.6.32 to 3.11
                2.3.x 2.6.32 to 3.14




                Ubuntu 14.10 has 3.16 ...



                $uname -a
                Linux schijfwereld 3.16.0-24-generic #32-Ubuntu SMP
                Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux




                Here is a list of Ubuntu versions with their kernel versions:





                • List of Ubuntu Versions with Corresponding Linux Kernel Version



                  Current supported Ubuntu releases:



                  12.04   Precise Pangolin 3.2+
                  14.04 Trusty Tahr 3.13


                  If you want to be sure to get a working installation from the tar.gz (at the moment) 14.04 is adviced. In general I would not make a remark about this but this software clearly has a direct relation to the kernel version. So installing it on not supported kernel releases is not advised.






                After downloading you will have a tar.gz file in your ~/Downloads. Open the file with fileroler and check the installation file. "INSTALL: is a generic Linux installation guide but there are PLATFORM specific installation files in it (wow, that's a first!). You need "INSTALL.Debian" for Ubuntu.



                The installation starts with a comment:




                Before You Begin



                Before you begin, consider whether you really need to build packages
                yourself. Debian "wheezy" and "sid", as well as recent versions of
                Ubuntu, contain pre-built Debian packages for Open vSwitch. It is
                easier to install these than to build your own. To use packages from
                your distribution, skip ahead to "Installing .deb Packages", below.







                Installing .deb Packages



                These instructions apply to installing from Debian packages that you
                built yourself, as described in the previous section, or from packages
                provided by Debian or a Debian derivative distribution such as Ubuntu.
                In the former case, use a command such as "dpkg -i" to install the
                .deb files that you build, and in the latter case use a program such
                as "apt-get" or "aptitude" to download and install the provided
                packages.



                You must be superuser to install Debian packages.




                1. Start by installing an Open vSwitch kernel module. See debian/openvswitch-switch.README.Debian for the available options.


                2. Install the "openvswitch-switch" and "openvswitch-common" packages. These packages include the core userspace components of the switch.



                Open vSwitch .deb packages not mentioned above are rarely useful. Please refer to their individual package descriptions to find out whether any of them are useful to you.






                So the manual suggests that there are debian packages (of course... I should have started checking Ubuntu Software Center). So let's open up Ubuntu Softeware Center and search for it.



                enter image description here





                So to answer your question:




                Can any one introduce me to a good and simple tutorial about installing Open Virtual Switch directly via the Linux kernel?




                It seems the answer would be yes (it consists on 2 packages available in your software center) so you can do it from our software center or from command line:




                Installation made easy




                Depending on your needs you may need more components but the base installation will be:



                sudo apt-get install openvswitch-switch openvswitch-common


                Refer to the install guidelines in the tar.gz or the descriptions in our software center or the website your linked for more information about packages related to this installation.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 13 '17 at 12:23









                Community

                1




                1










                answered Nov 15 '14 at 6:54









                Rinzwind

                202k26388521




                202k26388521






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f549656%2fhow-to-install-open-virtual-switch%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Category:香港粉麵

                    List *all* the tuples!

                    Channel [V]