1

It is equal to type "d" here:

1 new package to install.
Overall download size: 1.0 MiB. Already cached: 0 B. After the operation, additional 6.7 MiB will be used.
Continue? [y/n/v/...? shows all options] (y):

In such case zypper shows all in columns and becomes more informative:

glances

So I just need to get the same "d" behaviour by default (for each zypper usage).

2
  • Don't post pictures/screenshots of text. In this case I recommend you copy and paste the content of the image in your question. Dec 14, 2022 at 5:36
  • It is pasted as image to show layout only, text does not matter in such case.
    – Maxim
    Dec 14, 2022 at 11:36

1 Answer 1

1

From man zypper:

--details

Show the detailed installation summary.

So you if you are installing some package(s) (e.g. fish) you should use:

sudo zypper install --details fish

The same applies for other zypper options such as remove,update,dist-upgrade, etc.

You can create an alias in ~/.bashrc,~/.zshrc (according to your shell) to avoid typing the whole command each time:

alias zypinsd='sudo zypper install --details'

So now, instead of typing the whole command you can use:

zypinsd fish
2
  • So it means we cannot do it in some config as I understood it. Creation alias will be problematic. It means you need to create it for each command for example "zypper update". So as result you will have commands zoo. So my question was exactly how to avoid this --details in command line, like for example can be omitted --no-recomends (enabled by default in config).
    – Maxim
    Dec 14, 2022 at 11:40
  • @Maxim It seems is not possible. I tried searching in the manual as well as in wikis/forums but nothing useful (only for --no-recomends and other options such as kernel versions,etc.). I guess what you can do is create a function called zypper and inside this one specify --details for options such as install, update, remove... Dec 14, 2022 at 19:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .