Can someone please explain what this command does?

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











up vote
-4
down vote

favorite












I understand the first part of the command sudo apt-get install -y, but do not understand the rest.



sudo apt-get install -y dkms linux-headers-$(uname -r)






share|improve this question


























    up vote
    -4
    down vote

    favorite












    I understand the first part of the command sudo apt-get install -y, but do not understand the rest.



    sudo apt-get install -y dkms linux-headers-$(uname -r)






    share|improve this question
























      up vote
      -4
      down vote

      favorite









      up vote
      -4
      down vote

      favorite











      I understand the first part of the command sudo apt-get install -y, but do not understand the rest.



      sudo apt-get install -y dkms linux-headers-$(uname -r)






      share|improve this question














      I understand the first part of the command sudo apt-get install -y, but do not understand the rest.



      sudo apt-get install -y dkms linux-headers-$(uname -r)








      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 23 '17 at 11:15









      user4556274

      4,97811123




      4,97811123










      asked Dec 23 '17 at 11:13









      HardRebootHackerHD

      1617




      1617




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          4
          down vote



          accepted










          The remainder of your apt-get command is specifying the packages you want to install. In this case, you have chosen two packages: dkms (Dynamic Kernel Module Support) and the linux header files for your currently running version of the linux kernel.



          uname returns some basic information about your system; the -r option specifies the running kernel version. The $() shell construct in the command gets replaced by the output of the command contained within parentheses. linux-headers-$(uname -r) is a generic copy-pastable way to specify headers needed for the current kernel, as opposed to explicitly typing a version as linux-headers-4.4.0.101-generic.



          This general question on Kali may also be relevant.






          share|improve this answer




















          • Why am I being ban for asking general questions ? Is this site not for learning because all my posts keep getting flagged, I'm so confused, maybe I got the wrong site to be asking questions on. Can a mod or someone please tell me how I contact someone from the site?
            – HardRebootHackerHD
            Dec 23 '17 at 11:31







          • 1




            @HardRebootHackerHD, check the help page for this stack to see what are appropriate questions. Given the questions you've asked recently, I'd also strongly recommend the general Kali question already linked in my answer.
            – user4556274
            Dec 23 '17 at 11:39










          • Read the question guidelines of the Unix and linux site. If you get more reputation you'll be able to ask about the site on the meta, which is the correct place for this question, not this comment. Also try the chat if you can.
            – Zip
            Dec 23 '17 at 11:42










          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%2f412661%2fcan-someone-please-explain-what-this-command-does%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          4
          down vote



          accepted










          The remainder of your apt-get command is specifying the packages you want to install. In this case, you have chosen two packages: dkms (Dynamic Kernel Module Support) and the linux header files for your currently running version of the linux kernel.



          uname returns some basic information about your system; the -r option specifies the running kernel version. The $() shell construct in the command gets replaced by the output of the command contained within parentheses. linux-headers-$(uname -r) is a generic copy-pastable way to specify headers needed for the current kernel, as opposed to explicitly typing a version as linux-headers-4.4.0.101-generic.



          This general question on Kali may also be relevant.






          share|improve this answer




















          • Why am I being ban for asking general questions ? Is this site not for learning because all my posts keep getting flagged, I'm so confused, maybe I got the wrong site to be asking questions on. Can a mod or someone please tell me how I contact someone from the site?
            – HardRebootHackerHD
            Dec 23 '17 at 11:31







          • 1




            @HardRebootHackerHD, check the help page for this stack to see what are appropriate questions. Given the questions you've asked recently, I'd also strongly recommend the general Kali question already linked in my answer.
            – user4556274
            Dec 23 '17 at 11:39










          • Read the question guidelines of the Unix and linux site. If you get more reputation you'll be able to ask about the site on the meta, which is the correct place for this question, not this comment. Also try the chat if you can.
            – Zip
            Dec 23 '17 at 11:42














          up vote
          4
          down vote



          accepted










          The remainder of your apt-get command is specifying the packages you want to install. In this case, you have chosen two packages: dkms (Dynamic Kernel Module Support) and the linux header files for your currently running version of the linux kernel.



          uname returns some basic information about your system; the -r option specifies the running kernel version. The $() shell construct in the command gets replaced by the output of the command contained within parentheses. linux-headers-$(uname -r) is a generic copy-pastable way to specify headers needed for the current kernel, as opposed to explicitly typing a version as linux-headers-4.4.0.101-generic.



          This general question on Kali may also be relevant.






          share|improve this answer




















          • Why am I being ban for asking general questions ? Is this site not for learning because all my posts keep getting flagged, I'm so confused, maybe I got the wrong site to be asking questions on. Can a mod or someone please tell me how I contact someone from the site?
            – HardRebootHackerHD
            Dec 23 '17 at 11:31







          • 1




            @HardRebootHackerHD, check the help page for this stack to see what are appropriate questions. Given the questions you've asked recently, I'd also strongly recommend the general Kali question already linked in my answer.
            – user4556274
            Dec 23 '17 at 11:39










          • Read the question guidelines of the Unix and linux site. If you get more reputation you'll be able to ask about the site on the meta, which is the correct place for this question, not this comment. Also try the chat if you can.
            – Zip
            Dec 23 '17 at 11:42












          up vote
          4
          down vote



          accepted







          up vote
          4
          down vote



          accepted






          The remainder of your apt-get command is specifying the packages you want to install. In this case, you have chosen two packages: dkms (Dynamic Kernel Module Support) and the linux header files for your currently running version of the linux kernel.



          uname returns some basic information about your system; the -r option specifies the running kernel version. The $() shell construct in the command gets replaced by the output of the command contained within parentheses. linux-headers-$(uname -r) is a generic copy-pastable way to specify headers needed for the current kernel, as opposed to explicitly typing a version as linux-headers-4.4.0.101-generic.



          This general question on Kali may also be relevant.






          share|improve this answer












          The remainder of your apt-get command is specifying the packages you want to install. In this case, you have chosen two packages: dkms (Dynamic Kernel Module Support) and the linux header files for your currently running version of the linux kernel.



          uname returns some basic information about your system; the -r option specifies the running kernel version. The $() shell construct in the command gets replaced by the output of the command contained within parentheses. linux-headers-$(uname -r) is a generic copy-pastable way to specify headers needed for the current kernel, as opposed to explicitly typing a version as linux-headers-4.4.0.101-generic.



          This general question on Kali may also be relevant.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 23 '17 at 11:21









          user4556274

          4,97811123




          4,97811123











          • Why am I being ban for asking general questions ? Is this site not for learning because all my posts keep getting flagged, I'm so confused, maybe I got the wrong site to be asking questions on. Can a mod or someone please tell me how I contact someone from the site?
            – HardRebootHackerHD
            Dec 23 '17 at 11:31







          • 1




            @HardRebootHackerHD, check the help page for this stack to see what are appropriate questions. Given the questions you've asked recently, I'd also strongly recommend the general Kali question already linked in my answer.
            – user4556274
            Dec 23 '17 at 11:39










          • Read the question guidelines of the Unix and linux site. If you get more reputation you'll be able to ask about the site on the meta, which is the correct place for this question, not this comment. Also try the chat if you can.
            – Zip
            Dec 23 '17 at 11:42
















          • Why am I being ban for asking general questions ? Is this site not for learning because all my posts keep getting flagged, I'm so confused, maybe I got the wrong site to be asking questions on. Can a mod or someone please tell me how I contact someone from the site?
            – HardRebootHackerHD
            Dec 23 '17 at 11:31







          • 1




            @HardRebootHackerHD, check the help page for this stack to see what are appropriate questions. Given the questions you've asked recently, I'd also strongly recommend the general Kali question already linked in my answer.
            – user4556274
            Dec 23 '17 at 11:39










          • Read the question guidelines of the Unix and linux site. If you get more reputation you'll be able to ask about the site on the meta, which is the correct place for this question, not this comment. Also try the chat if you can.
            – Zip
            Dec 23 '17 at 11:42















          Why am I being ban for asking general questions ? Is this site not for learning because all my posts keep getting flagged, I'm so confused, maybe I got the wrong site to be asking questions on. Can a mod or someone please tell me how I contact someone from the site?
          – HardRebootHackerHD
          Dec 23 '17 at 11:31





          Why am I being ban for asking general questions ? Is this site not for learning because all my posts keep getting flagged, I'm so confused, maybe I got the wrong site to be asking questions on. Can a mod or someone please tell me how I contact someone from the site?
          – HardRebootHackerHD
          Dec 23 '17 at 11:31





          1




          1




          @HardRebootHackerHD, check the help page for this stack to see what are appropriate questions. Given the questions you've asked recently, I'd also strongly recommend the general Kali question already linked in my answer.
          – user4556274
          Dec 23 '17 at 11:39




          @HardRebootHackerHD, check the help page for this stack to see what are appropriate questions. Given the questions you've asked recently, I'd also strongly recommend the general Kali question already linked in my answer.
          – user4556274
          Dec 23 '17 at 11:39












          Read the question guidelines of the Unix and linux site. If you get more reputation you'll be able to ask about the site on the meta, which is the correct place for this question, not this comment. Also try the chat if you can.
          – Zip
          Dec 23 '17 at 11:42




          Read the question guidelines of the Unix and linux site. If you get more reputation you'll be able to ask about the site on the meta, which is the correct place for this question, not this comment. Also try the chat if you can.
          – Zip
          Dec 23 '17 at 11:42












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412661%2fcan-someone-please-explain-what-this-command-does%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?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?