Binary package “aptsh” in ubuntu bionic

apt interactive shell

 Aptsh helps in managing packages by providing nice pseudo-shell,
 with commands completion and simplified access to Apt's commands.
 Additional features, like command-queue and orphaned packages
 searcher are also included.