• nanook@friendica.eskimo.com
    link
    fedilink
    arrow-up
    6
    ·
    10 hours ago

    @pastermil If you want a newer kernel than is provided in the apt package manager, you can download the latest from kernel.org, unxz it with unxz kernel-version.tar.xz, then untar it. It will give you a directory like linux-6.14.6, cd to that directory and do a make mrproper to remove any residual crap that might have been left there by the maintainer or a previous build, then if you want the stock debian configuration copy the current config file from /boot to .config, then make any adjustments to the .config, including some automatic adjustments that get made for your environment with make config, make menuconfig, makexconfig, make gconfig, whatever you prefer. For xconfig and gconfig which are graphical configuration GUIs you may need to install some libs that aren’t installed by default on Debian but ARE provided in your apt package manager. Then make -j$(NPROC) bindeb-pkg, for example on my machine 18 cores, 36 threads, I would do make -j36 bindeb-pkg to fully utilize the CPU cores, on the 18 core machine this takes about 7 minutes, on my 8 core workstation about 18, when it’s done you’ll be left with three or four .deb packages (depending upon whether or not save DEBUG is turned on or off in the kernel config). When you are done install the packages with dpkg -i *.deb, check /boot and your new kernel should be installed.