download it from Ubuntu package archives from a working computer, save it in a usb drive, mount it from tty1, and then use dpkg to install it.
By Annette Waelchi at Jul 20 2021
how to install dpkg in ubuntu
By Lynne Bednar at Dec 05 2020