50%

🚀

4

Linux Unix- . .

Merion Academy


Linux . , Linux.

, Linux .

     Linux

Linux

Linux . , .

. - , .

1.

1. www.kernel.org . .

www.kernel.org

2. wget Linux:

wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.9.6.tar.xz

"saved".

saved

2:

, tar, :

tar xvf linux-5.9.6.tar.xz

:


3:

. :

sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison

, , :

  • git - . .
  • fakeroot - , .
  • build-essential - , C, C++, gcc g++.
  • ncurses-dev - , API .
  • xz-utils - .
  • libssl-dev - SSL TSL, - .
  • bc (Basic Calculator) - , .
  • flex (Fast Lexical Analyzer Generator) - , .
  • libelf-dev - ELF ( , )
  • bison - GNU, C.
sudo apt-get install

4:

Linux . . :

1. linux-5.9.6. cd:

cd linux-5.9.6

2. cp:

cp -v /boot/config-$(uname -r) .config
cp -v /boot/config-$(uname -r) .config<

3. , make:

make menuconfig

, :

make menuconfig

4. , , , . , , HELP, . , SAVE, .

Save
. , . , , .

5:

1. , :

make

Linux .

Linux: , , , .

make

2. :

sudo make modules_install
sudo make modules_install

3. , , :

sudo make install

, :

sudo make install

6. ()

GRUB - , .

make install , .

1. initramfs :

sudo update-initramfs -c -k 5.9.6

2. GRUB :

sudo update-grub

:

sudo update-grub

7:

, .

, uname:

uname -mrs

Linux.

uname -mrs

, Linux .


>