How to install mtd-utils on Ubuntu 16.04?

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











up vote
0
down vote

favorite












I have already tried the following code:



sudo apt-get update
sudo apt-get install mtd-utils


But it does not work! It says:



elans@elans-TravelMate-P446-M:~$ mtd-utils
mtd-utils: command not found
elans@elans-TravelMate-P446-M:~$ mtd
No command 'mtd' found, but there are 18 similar ones
mtd: command not found


What can be done?










share|improve this question

























    up vote
    0
    down vote

    favorite












    I have already tried the following code:



    sudo apt-get update
    sudo apt-get install mtd-utils


    But it does not work! It says:



    elans@elans-TravelMate-P446-M:~$ mtd-utils
    mtd-utils: command not found
    elans@elans-TravelMate-P446-M:~$ mtd
    No command 'mtd' found, but there are 18 similar ones
    mtd: command not found


    What can be done?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have already tried the following code:



      sudo apt-get update
      sudo apt-get install mtd-utils


      But it does not work! It says:



      elans@elans-TravelMate-P446-M:~$ mtd-utils
      mtd-utils: command not found
      elans@elans-TravelMate-P446-M:~$ mtd
      No command 'mtd' found, but there are 18 similar ones
      mtd: command not found


      What can be done?










      share|improve this question













      I have already tried the following code:



      sudo apt-get update
      sudo apt-get install mtd-utils


      But it does not work! It says:



      elans@elans-TravelMate-P446-M:~$ mtd-utils
      mtd-utils: command not found
      elans@elans-TravelMate-P446-M:~$ mtd
      No command 'mtd' found, but there are 18 similar ones
      mtd: command not found


      What can be done?







      software-installation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 26 at 21:33









      Masoud

      31




      31




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          If apt-get install mtd-utils didn’t complain, then it worked. But the mtd-utils package doesn’t contain the commands you’re trying to use; try mtdinfo instead (as root). You can see the contents of the package by running dpkg -L mtd-utils.






          share|improve this answer




















          • When I do sudo mtdinfo it says: mtdinfo: error!: cannot get MTD information error 2 (No such file or directory). Even if I change to the package directory /usr/sbin it gives the same error.
            – Masoud
            Aug 26 at 22:41










          • That shows that it’s installed. If you want it to do something useful then you need to use it properly: mtdinfo -a, or something like mtdinfo /dev/mtd0; mtdinfo -h will show basic usage information.
            – Stephen Kitt
            Aug 27 at 6:34










          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%2f464965%2fhow-to-install-mtd-utils-on-ubuntu-16-04%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
          1
          down vote













          If apt-get install mtd-utils didn’t complain, then it worked. But the mtd-utils package doesn’t contain the commands you’re trying to use; try mtdinfo instead (as root). You can see the contents of the package by running dpkg -L mtd-utils.






          share|improve this answer




















          • When I do sudo mtdinfo it says: mtdinfo: error!: cannot get MTD information error 2 (No such file or directory). Even if I change to the package directory /usr/sbin it gives the same error.
            – Masoud
            Aug 26 at 22:41










          • That shows that it’s installed. If you want it to do something useful then you need to use it properly: mtdinfo -a, or something like mtdinfo /dev/mtd0; mtdinfo -h will show basic usage information.
            – Stephen Kitt
            Aug 27 at 6:34














          up vote
          1
          down vote













          If apt-get install mtd-utils didn’t complain, then it worked. But the mtd-utils package doesn’t contain the commands you’re trying to use; try mtdinfo instead (as root). You can see the contents of the package by running dpkg -L mtd-utils.






          share|improve this answer




















          • When I do sudo mtdinfo it says: mtdinfo: error!: cannot get MTD information error 2 (No such file or directory). Even if I change to the package directory /usr/sbin it gives the same error.
            – Masoud
            Aug 26 at 22:41










          • That shows that it’s installed. If you want it to do something useful then you need to use it properly: mtdinfo -a, or something like mtdinfo /dev/mtd0; mtdinfo -h will show basic usage information.
            – Stephen Kitt
            Aug 27 at 6:34












          up vote
          1
          down vote










          up vote
          1
          down vote









          If apt-get install mtd-utils didn’t complain, then it worked. But the mtd-utils package doesn’t contain the commands you’re trying to use; try mtdinfo instead (as root). You can see the contents of the package by running dpkg -L mtd-utils.






          share|improve this answer












          If apt-get install mtd-utils didn’t complain, then it worked. But the mtd-utils package doesn’t contain the commands you’re trying to use; try mtdinfo instead (as root). You can see the contents of the package by running dpkg -L mtd-utils.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 26 at 21:39









          Stephen Kitt

          146k22321386




          146k22321386











          • When I do sudo mtdinfo it says: mtdinfo: error!: cannot get MTD information error 2 (No such file or directory). Even if I change to the package directory /usr/sbin it gives the same error.
            – Masoud
            Aug 26 at 22:41










          • That shows that it’s installed. If you want it to do something useful then you need to use it properly: mtdinfo -a, or something like mtdinfo /dev/mtd0; mtdinfo -h will show basic usage information.
            – Stephen Kitt
            Aug 27 at 6:34
















          • When I do sudo mtdinfo it says: mtdinfo: error!: cannot get MTD information error 2 (No such file or directory). Even if I change to the package directory /usr/sbin it gives the same error.
            – Masoud
            Aug 26 at 22:41










          • That shows that it’s installed. If you want it to do something useful then you need to use it properly: mtdinfo -a, or something like mtdinfo /dev/mtd0; mtdinfo -h will show basic usage information.
            – Stephen Kitt
            Aug 27 at 6:34















          When I do sudo mtdinfo it says: mtdinfo: error!: cannot get MTD information error 2 (No such file or directory). Even if I change to the package directory /usr/sbin it gives the same error.
          – Masoud
          Aug 26 at 22:41




          When I do sudo mtdinfo it says: mtdinfo: error!: cannot get MTD information error 2 (No such file or directory). Even if I change to the package directory /usr/sbin it gives the same error.
          – Masoud
          Aug 26 at 22:41












          That shows that it’s installed. If you want it to do something useful then you need to use it properly: mtdinfo -a, or something like mtdinfo /dev/mtd0; mtdinfo -h will show basic usage information.
          – Stephen Kitt
          Aug 27 at 6:34




          That shows that it’s installed. If you want it to do something useful then you need to use it properly: mtdinfo -a, or something like mtdinfo /dev/mtd0; mtdinfo -h will show basic usage information.
          – Stephen Kitt
          Aug 27 at 6:34

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f464965%2fhow-to-install-mtd-utils-on-ubuntu-16-04%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