Solved

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

Posted on 2016-09-04
8
65 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
8 Comments
 
LVL 94

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 94

Expert Comment

by:John Hurst
ID: 41783943
Yes, it should point you to where the dependencies are.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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 94

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 29

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

685 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