How to download programming tools for Assembly?

I am new to Linux kernel module programming. How do I download and install the module-init-tools package?

  • Just to make sure that I have all the correct tools installed, I ran the command "$depmod -v" following a documentation. Instead of the version number, I got a big log of warnings (or maybe, errors). Part of it looked like this: /lib/modules/3.13.0-24-generic/kernel/net/appletalk/appletalk.ko needs "unregister_snap_client": /lib/modules/3.13.0-24-generic/kernel/net/802/psnap.ko depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.dep.tmp, 1101, 644): Permission denied To fix the problem, I thought of downloading and installing the module-init-tools package. But I can't figure out how to go about it as I am new to Ubuntu. Kindly guide me on this. Also, is there any other way of solving this problem?

  • Answer:

    You have to make sure that linux-headers are installed in your system. Secondly use sudo for all the administrative commands. Permission denied error reasons could be, you are not using sudo. Let me know, if you face anymore issues. Best of Luck!

Pankaj Saraf at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.