Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I install an RPM package on my openSUSE Linux system?

Posted on 2016-09-04
8
Medium Priority
?
160 Views
Last Modified: 2016-09-10
I have an RPM file which I downloaded from the software publisher's website. I'd like to install the software on a virtual machine running openSUSE Leap version 42.1. I've tried using YaST2's Software Management GUI, as well as the RPM's command-line interface. Neither method has worked. When I use the GUI, I get the following error:

openSUSE-software-manager-error.png
It appears as though the software manager is looking for a list, and that the list is missing from the RPM package file.

I saw an article suggesting that if I right-click on the RPM file name in the folder view, the pop-up menu should include an option to install the file. There is no such option on the menu. Perhaps that's because I'm not logged in as root – although I don't know why that would matter because the system could simply prompt me for root's password.

When I use the command line, the RPM complains about missing dependencies:

rpm-command-results.png
I'm assuming that if I can use the GUI, the software manager will automatically install any missing dependencies. Alternatively, from the command line, I could specify the "nodeps" option. However, I'm not sure that would result in a viable executable.

In the past, I have succeeded at installing this software! Unfortunately, I don't recall the steps I took. So, I don't remember whether it was via the GUI or the command line.
0
Comment
Question by:babyb00mer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 98

Expert Comment

by:John Hurst
ID: 41783908
My SuSe systems are a bit old. Two things to check:

1. Make sure your Kernel is up-to-date. You can update this with YAST or another tool. You must restart the system upon installation.

2. No, RPM does not always install dependencies - you have to go back and do them.
0
 

Author Comment

by:babyb00mer
ID: 41783942
My SuSE system is very new. In fact, it was installed within the last 24 hours.

I was not suggesting that RPM will resolve and install dependencies. Use of the "nordeps" option ignores dependencies.

When I've used YaST2 in the past to install software, it will identify and install dependencies – when it can find them.

When I download the file, one of the options I'm given is to open it with Ark. perhaps I'll try that route to see where it takes me.
0
 
LVL 98

Expert Comment

by:John Hurst
ID: 41783943
Yes, it should point you to where the dependencies are.
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 88

Expert Comment

by:rindi
ID: 41783951
Isn't teamviewer included in a repository for OpenSUSE? If not, make sure you have installed wine. Teamviewer needs that as one of it's dependencies, as it doesn't really exist as a native Linux package.
0
 

Accepted Solution

by:
babyb00mer earned 0 total points
ID: 41785035
I found the solution here. I had never heard of the zypper command.

I ran the zypper command to install each of the libraries listed in the author's example. Next, I ran the rpm command again (rpm --install teamviewer_11.0.57095.i686.rpm). Once again I got errors about failed dependencies. I don't know why I assumed that the missing dependencies in the authors example would be identical to mine!? Anyway, I ran the zypper command again, but this time I installed the 13 libraries previously identified as failed dependencies when I ran the rpm command on my system:

zypper install libSM.so.6
zypper install libXdamage.so.1
zypper install libXext.so.6
	.
	.
	.
zypper install libpng12.so.0

Open in new window


Finally, I ran the rpm command again:

rpm --install teamviewer_11.0.57095.i686.rpm

Open in new window


VOILÀ!

installation-success-1.png
Now the TeamViewer application appears in the Internet menu, and when I click it…

installation-success-2.png
As a footnote, I probably should mention that I ran the rpm and zypper commands from the superuser account.
0
 
LVL 98

Expert Comment

by:John Hurst
ID: 41785049
Thanks for the update. I have run RPM from superuser but I never used or heard about zipper
0
 

Author Closing Comment

by:babyb00mer
ID: 41792498
Although I answered my own question, I'd like to leave this thread in the knowledge base so that others might benefit
0
 
LVL 30

Expert Comment

by:serialband
ID: 41792708
You should learn
zypper ps

They've ID'd services that needed restarts after patching for a few years now.  That's one of the nice things about SUSE as well as their default Xen setup in the installs.

zypper ps makes it more "complete" than apt-get or yum.  Debian does have a separate check-restart in debian-tools, but it's separate from apt.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question