Linux - Zypper and rpm commands, Zypper and rpm handy commands
Zypper and rpm commands
zypper commands# zypper se -s 'kernel-def' | grep '4.12' # zypper wp libc.s0.6 # zypper se --provides --match-exact 'libc.so.6' # zypper in package-name +i installed by user request i installed automatically (by the resolver, see section Automatically installed packages)se - search package
in - install package
# zypper lr -u # zypper repos -u
# zypper info glibc # rpm -qa | grep glibc # rpm -ql glibc-2.x86_64 # rpm -pql glibc-2.x86_64 # rpm -qf /usr/lib64/libcrypto.so.1.1
# ldd /usr/bin/openssl
#
Search only installed package
# zypper --instaled-only php7
Search packages among installed packages
# zypper se -i --requires <package_name>
To test repo connecivity
# wget https://suse.org../repo.xml -O /tmp/repo.xml # nc -vzw2 suse.org 443
The topic on Linux - Zypper and rpm commands is posted by - Vaish
Hope you have enjoyed, Linux - Zypper and rpm commandsThanks for your time