I have a few questions about moving from apt-get to zypper in bash scripts.
What is the equivalent of this?
sudo apt-get install curl --assume-yes
(where curl could be any package)
I found the Zypper Cheat Sheet - openSUSE. Very nice! But I would appreciate the voice of experience here -- what's the right way to use zypper in a script where I want to auto agree to all prompts and not skip things that need a response?
With my inexperience I would be tempted to use:
sudo zypper --non-interactive --no-gpg-checks --quiet install --auto-agree-with-licenses curl
But is that really the equivalent of
What about the equivalent for these?
sudo apt-get autoremove -y sudo apt-get autoclean -y
This suggests there isn't one...
Is there a replacement for gdebi-core? Or is gdebi not ever needed with zypper's "powerful satisfiability solver"? I use gdebi for situations where I need to install a package on an older version and I have a .deb file already (but not all the dependencies).