xz /usr/src”Īfter copying is complete, we can start by using “cd / usr / src” and then “tar -xf linux-4.14.4.tar.xz” to extract the downloaded kernel version’s file. For this operation, “sudo su” command is executed and the set password is entered during installation.Īfter logging in, the downloaded kernel version is copied to the process directory. The downloaded “Linux-4.14.4.tar.xz” Firstly, terminal is opened to operate with the downloaded “Linux-4.14.4.tar.xz”. If you want to download from the command line, you can use the following command. Figure 2: Downloading the latest version of the kernel The latest version of the kernel, 4.14.4-ls is downloaded to the Debian operating system by entering the site with a web browser. KERNEL COMPILE PROCESSįirst of all, with the help of virtual machine program Virtualbox or VMware, the Debian operating system is installed on the virtual machine. These modules can be added to the kernel without shutting down the system. Modules can be written to add different functions to the kernel. Files and directories of kernel modules are located in / lib / modules and loaded when the system is open. We can use this program by adding it to the kernel of Linux. If we talk about module structure, modules are software developed with the C programming language. If you want to learn the Linux kernel version on a computer running GNU / Linux, you can do this by typing “uname -r” at the command line. Linux kernels are in a continuous development phase, fixes and releases are regularly published. In a Linux operating system, all other components are built around the kernel, with interface and the operation of the computer’s hardware and programs are provided on it. Figure 1: Relationship between kernel, shell and applications Later, developers and users of this operating system have contributed to the development of the code by adapting the original software projects. We mentioned in the previous chapter that the Linux kernel was originally developed by L. In this section, firstly the Linux kernel will be mentioned and then will mention to the kernel module. In this article, we will talk about the kernel module structure of Linux in the second part and how to make the compilation process in the third part. General information about Linux history protocols and operating system is given in this section. The most known of these are Ubuntu, Fedora, Pardus, OpenSUSE, Redhat, Slackware. Because of this, the Linux operating system has many distributions. Starting with version number 2.0 Linux kernels can support multiple processors.īecause Linux is open source, it has been developed by many different groups. Thanks to these protocols, there are thousands of users connected to the Internet, browsing the web pages, running on the graphic screen and compiling programs. Protocols such as NetBEUI (Netbios Extended user interface), Samba (a protocol that Windows machines use to talk to each other), and Appletalk (a protocol that Macintosh machines use to talk to each other) are supported. Linux operating system has TCP / IP support for internet connection. This operating system, which has been up to date, is still in use and is one of the most preferred. As a result of these developments, the first Linux version was released to the market in 1991. Thus, in the 1990s, Linus Torvalds wrote Kernel and the GNU project was named GNU / Linux. When this project is created, the kernel structure is insufficient. In 1983, the project “GNU is Not Unix” was developed by Richard Stallman. For this reason, users have started to write their own operating systems in response. Unix is free at first, but has been licensed and paid over time. One of these software produced in the 1970s is Unix. With the production of ENIAC, many new computers and software have begun to be produced. In 1945, the first computer, ENIAC, was produced, to mention the historical developments. This article will briefly explain the Linux kernel’s history&structure and then explain how to compile it. The main purpose of kernel compilation is to provide hardware support and software support that you do not need, or to add the software and hardware tools you need.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |