drag and drop deb-package installer

One way is to install deb-packages is to use drag and drop script or program.

deb-installer2-09-all.deb-and-script

#!/bin/bash
# drag and drop deb-package installer
# RJP 28.6.2023
yad --dnd --geometry=600x200 --on-top --no-buttons --title="deb-package installer" --text="Drag and drop deb-package for installation into this box " | while read selection
do
FILE=$(echo "$selection" | sed 's/file:\/\///')
FILE2=$(sed 's/ /\\ /g' <<< "$FILE") x-terminal-emulator -e /bin/bash -c "sudo dpkg -i $FILE2 || x-terminal-emulator -e sudo apt-get -fy install" || \ sleep 1 yad --width=400 --center --buttons-layout=center --borders=5 --text-align=center --title="INFO" --text="READY" --button=gtk-ok:1 --center done