Doesn’t work. Your instructions do not specify which Raspbian OS should be used and what’s the oldest kernel that is compatible with your application. For example, there are two different Raspbian OS available, 32 and 64 bits.
Running your instructions verbatim gives the first error when running ./install_pivariety_pkgs.sh -p libcamera_dev
Error: N: Download is performed unsandboxed as root as file ‘/home/pi/libcamera-ipa_0.1.0+rpt20231205-1_armhf.deb’ couldn’t be accessed by user ‘_apt’. - pkgAcquire::Run (13: Permission denied).