Using a file to install packages with apt-get
unix.stackexchange.com › questions › 179851Jan 19, 2015 · xargs sudo apt-get install <packages.txt. xargs is used to pass the package names from the packages.txt file to the command line. From the xargs manual: xargs reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a backslash) or newlines, and executes the command (default is /bin/echo ...
linux - How to install local .deb packages with apt-get ...
https://superuser.com/questions/19686406.10.2012 · usually I do dpkg -i <deb file>, it'll fail saying it needs dependencies.After that when you do an apt-get update it'll say at the end something like "dependencies are ready to install" I think it then advises to use apt-get install -f.. Once that's done, I use dpkg -i again.. Worked fine for me last few years. edit: looking a bit further, apparently a tool called gdebi can do this as gdebi ...