you need to install linix headers generic by:
sudo apt-get update
sudo apt-get install linux-generic
I see you already have downloaded the realtek wifi drivers make sure you are in the right directory and run this to install them:
cd rtlwifi_new
sudo dkms add ../rtlwifi_new
sudo dkms build rtlwifi-new/0.6
sudo dkms install rtlwifi-new/0.6
sudo modprobe -v rtl8723de ant_sel=2
Congrats you have running wifi.
Save the config with this command:
sudo /bin/sh -c 'echo "options rtl8723de ant_sel=2" >> /etc/modprobe.d/rtl8723de.conf'
Restart.
Details here:
https://h30434.www3.hp.com/t5/Notebook-Wireless-and-Networking/Realtek-8723DE-wifi-module-amp-Bluetooth-Linux-driver/td-p/6477307
Answer from Wolfie on askubuntu.comDebian
packages.debian.org › sid › libelf-dev
Debian -- Details of package libelf-dev in sid
This package contains development libraries and header files for libelf1.
Pkgs.org
pkgs.org › download › libelf-dev
Libelf-dev Download for Linux (apk deb)
Download libelf-dev packages for Adélie, Debian, Ubuntu
Ubuntu
launchpad.net › ubuntu › bionic › +package › libelf-dev
libelf-dev : Bionic (18.04) : Ubuntu - Launchpad
libelf1 provides a shared library which allows reading and writing of ELF files on a high level. . This package contains development libraries and header files for libelf1.
GitHub
github.com › WolfgangSt › libelf
GitHub - WolfgangSt/libelf: libelf · GitHub
Starred by 87 users
Forked by 28 users
Languages C 92.5% | Makefile 6.0%
Fedora
packages.fedoraproject.org › pkgs › elfutils › elfutils-libelf-devel
elfutils-libelf-devel - Fedora Packages
The elfutils-libelf-devel package contains the libraries to create applications for handling compiled objects.
Debian
packages.debian.org › bullseye › libelf-dev
Debian -- Details of package libelf-dev in bullseye
This package contains development libraries and header files for libelf1.
Ubuntu
launchpad.net › ubuntu › focal › +package › libelf-dev
libelf-dev : Focal (20.04) : Ubuntu - Launchpad
libelf1 provides a shared library which allows reading and writing of ELF files on a high level. . This package contains development libraries and header files for libelf1.
Ubuntu
launchpad.net › ubuntu › xenial › +package › libelf-dev
libelf-dev : Xenial (16.04) : Ubuntu
libelf1 provides a shared library which allows reading and writing of ELF files on a high level. . This package contains development libraries and header files for libelf1.
Ubuntu
launchpad.net › ubuntu › bionic › amd64 › libelf-dev
libelf-dev : amd64 : Bionic (18.04) : Ubuntu
libelf1 provides a shared library which allows reading and writing of ELF files on a high level. . This package contains development libraries and header files for libelf1.
Ubuntu
launchpad.net › ubuntu › noble › +package › libelf-dev
libelf-dev : Noble (24.04) : Ubuntu - Launchpad
libelf1t64 provides a shared library which allows reading and writing of ELF files on a high level. . This package contains development libraries and header files for libelf1.
Ubuntu
launchpad.net › ubuntu › trusty › +package › libelf-dev
libelf-dev : Trusty (14.04) : Ubuntu
libelf1 provides a shared library which allows reading and writing of ELF files on a high level. . This package contains development libraries and header files for libelf1.
UbuntuUpdates
ubuntuupdates.org › package › core › focal › main › base › libelf-dev
UbuntuUpdates - Package "libelf-dev" (focal 20.04)
libelf1 development libraries and header files · There is no recent update for this package
Debian Manpages
manpages.debian.org › testing › libelf-dev › libelf.3.en.html
libelf(3) — libelf-dev — Debian testing — Debian Manpages
The libelf library provides an API for reading, writing, and manipulating ELF (Executable and Linkable Format) files. ELF is a standard format for object files, shared libraries, core dumps, and executables.
Linux Mint Community
community.linuxmint.com › software › view › libelf-dev
libelf-dev
Libelf1 provides a shared library which allows reading and writing of elf files on a high level. this package contains development libraries and header files for libelf1.
Debian
packages.debian.org › bookworm › libelf-dev
Debian -- Details of package libelf-dev in bookworm
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
Ubuntu
packages.ubuntu.com › bionic › libelf-dev
Ubuntu – Error
two or more packages specified (libelf-dev bionic) Content Copyright © 2026 Canonical Ltd.; See license terms. Ubuntu is a trademark of Canonical Ltd. Learn more about this site.
Debian
packages.debian.org › buster › libelf-dev
Debian -- Details of package libelf-dev in buster
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
Debian
packages.debian.org › libelf-dev
I Challenge Thee
I Challenge Thee · AI scrapers break the web, to use this page you'll need JavaScript enabled