I want to install some packages in my pc that is already installed in another pc. I have created a text file containing those installed packages by using rpm -qa > /tmp/rpm.list.txt. Now how can I use zypper to read the package name from the text file and install it in my pc?
Thanks in advance
Maybe someone can move this post to the right sub-forum…
Closed temporarily and moving to the Install/boot/login subforum.
Hi
Thread moved and reopened
Welcome to the openSUSE forums What openSUSE release are you using (so I can fix the thread prefix).
Your probably better of to create the lists with zypper for easier parsing;
zypper se -i|cut -f2 -d"|"
Mesa
Mesa-32bit
Mesa-demo-x
Mesa-libEGL1
versus;
libgio-2_0-0-2.38.2-5.12.x86_64
libgnutls28-3.2.15-11.1.x86_64
libavahi-client3-0.6.31-23.1.x86_64
zypper in -f $( IFS=' ' cat /tmp/rpm.list.txt)
malcolmlewis:
Hi
Thread moved and reopened
Welcome to the openSUSE forums What openSUSE release are you using (so I can fix the thread prefix).
Your probably better of to create the lists with zypper for easier parsing;
zypper se -i|cut -f2 -d"|"
Mesa
Mesa-32bit
Mesa-demo-x
Mesa-libEGL1
versus;
libgio-2_0-0-2.38.2-5.12.x86_64
libgnutls28-3.2.15-11.1.x86_64
libavahi-client3-0.6.31-23.1.x86_64
Thanks…and sorry for the late reply…However, I am using Opensuse 13.1