Solved

Need help to installing packages in suse 11

Posted on 2014-04-15
8
797 Views
Last Modified: 2014-04-16
Hi ALl,

I am new to suse but knows RHEL very well,

Please help me how to install packages in suse 11 and there dependencies ...or how create repositories in suse like we do in RHEL using yum.

Please help
0
Comment
Question by:apunkabollywood
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 40003324
yum equivalent in SUSE is zipper. So you would do

zipper search <package name>
zipper install <package name>
zipper remove <package name>

HTH,
Dan
0
 
LVL 88

Expert Comment

by:rindi
ID: 40003366
In SUSE, if you are using a GUI, you can also install software directly via the Yast Control Center. This is one of the most important and best utilities available in SUSE, as it centralizes practically everything you need to administer and setup your system. This makes things very easy.

In the "Software" section of Yast you can add repositories, configure and your updates, update the system, search for and install software etc.
0
 

Author Comment

by:apunkabollywood
ID: 40003384
I dont have GUI - i need to install via command line via zypper or yast .

i need to install "zip-3.0-4.7.1.src.rpm" package

i tried using zypper install zip-3.0-4.7.1.src.rpm
it gives

zypper install zip-3.0-4.7.1.src.rpm
Loading repository data...
Reading installed packages...
'zip=0:3.0-4.7.1' not found.
Resolving package dependencies...

then i tried rpmbuild

it gives

Patch #2 (zip-3.0-iso8859_2.patch):
+ patch -p0 --fuzz=0 -s
/var/tmp/rpm-tmp.64249: line 34: patch: command not found
error: Bad exit status from /var/tmp/rpm-tmp.64249 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.64249 (%prep)


please help

under /usr/src 2 folder present SPECS and SOURCES
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 88

Expert Comment

by:rindi
ID: 40003442
Is there a reason you need exactly THAT version of Zip? Won't the standard version available from your repository do? Just install the Standard version of Zip either using Zypper, or use the non GUI version of Yast (sudo /sbin/yast) to install and manage your software.
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40003913
Normally you dont install src rpms
You must rpmbuild it and install resulting package
0
 

Author Closing Comment

by:apunkabollywood
ID: 40004463
Yes Gheist - Done the same ....Install the src rpm using rpmbuild --rebuild command ..thanks
0
 
LVL 62

Expert Comment

by:gheist
ID: 40004544
You could install exactly same version with zypper but supported build from SUSE...
0

Featured Post

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.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…

860 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