Conventional wisdom for the masses is dpkg, but we have pupzip that runs executing .deb in a gui and a command line version which displays help for adding and extracting files, but not installing packages.
Code: Select all
root# pupzip --help
++ tr '[:upper:]' '[:lower:]'
++ echo --help
+ EXT=--help
+ for i in xarchive xarchiver file-roller arc
++ which xarchive
+ '[' '' ']'
+ for i in xarchive xarchiver file-roller arc
++ which xarchiver
+ '[' '' ']'
+ for i in xarchive xarchiver file-roller arc
++ which file-roller
+ '[' /usr/bin/file-roller ']'
+ ARCHIVER=file-roller
+ for i in xarchive xarchiver file-roller arc
++ which arc
+ '[' '' ']'
+ '[' file-roller = '' ']'
+ '[' --help = '' ']'
+ case $EXT in
+ exec file-roller --help
Usage:
file-roller [OPTION...] - Create and modify an archive
Help Options:
-?, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
--help-sm-client Show session management options
Application Options:
-a, --add-to=ARCHIVE Add files to the specified archive and quit the program
-d, --add Add files asking the name of the archive and quit the program
-e, --extract-to=FOLDER Extract archives to the specified folder and quit the program
-f, --extract Extract archives asking the destination folder and quit the program
-h, --extract-here Extract the contents of the archives in the archive folder and quit the program
--default-dir=FOLDER Default folder to use for the '--add' and '--extract' commands
--force Create destination folder without asking confirmation
--display=DISPLAY X display to use
My goal is to automate installation of all the packages needed in a FOR DO loop for an app.