Sponsored Content
Operating Systems Linux SuSE Errors while trying to install software on SuSE 9.2 Pro Post 58111 by CTroxtell21 on Saturday 13th of November 2004 08:16:40 PM
Old 11-13-2004
Ok, I went in and installed the kernel source and ended up finally finding a rpm of MPlayer and getting it installed. I'd still like to know why it didn't want to compile so just in case I need to compile it one day. I had tryed a make on it before I installed the rpm and it was still complaining of libavcodec not being found when its a folder inside of the mplayer folder, then was talking about instances of something being mentioned and not being used. Oh well at least if nothing else I'm learning new stuff about linux Smilie

Last edited by CTroxtell21; 11-14-2004 at 05:42 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to install Suse Linux 8.1?

Can anyone tell me how to install Suse Linux 8.1? :( (6 Replies)
Discussion started by: Micheal
6 Replies

2. UNIX for Dummies Questions & Answers

absolute beginner with suse 9.2 and XP Pro

I'm sure this is pretty infantile but I can't figute it out. How to I load the nVidia driver for SuSE 9.2? I have no idea what the X environment is or how to quit it or how to run the nVidia patch. Secondly how do I persuade my SuSE 9.3 computer to talk with my Windows XP network. Linux... (9 Replies)
Discussion started by: mrgmwsnow
9 Replies

3. SuSE

Best Repository for SUSE 10.1 install?

I've made a few attempts at an OpenSuse10.1 clean install using a boot.iso and network repository install dir. I've succesfully done a few network installs before and know what I'm doing with the procedure, however I seem to be getting problems with the connection to the remote repository. It's... (0 Replies)
Discussion started by: Mark Ward
0 Replies

4. UNIX for Dummies Questions & Answers

Reflections & Pro Com Software?

I am looking for a replacement to my Pro-Com software to use on UNIX based applications at work. I am a virtual remote employee who works from my home using a windows XP machine. On my company laptop, another Win XP, we use REFLECTION v12 for UNIX and OPEN VMS. I really like REFLECTIONS a lot... (3 Replies)
Discussion started by: dereckbc
3 Replies

5. Linux

install macbook pro fedora10 ???((<<if can install, how to install? >> ))

If may install can Tells everybody ??? (0 Replies)
Discussion started by: kzBSD
0 Replies

6. Red Hat

Install Suse from RedHat

Hi, There are two systems: (1) HP server under RedHat Linux with CD drive. (2) Notebook under Windows Vista with DVD drive. Now I want to install Suse Linux on the HP server, but the installation media is a DVD. How can I do it? Thank you much in advance! (3 Replies)
Discussion started by: aixlover
3 Replies

7. UNIX for Dummies Questions & Answers

How to use yast2 to install software in SUSE?

Hi I ssh to a remote server which is running in SUSE. And I want to install apache2.0 there. Then I used yast2 to install it. But after installing it, I go to the terminal and type" apache -version" to check if apache is installed there. And it said "-bash: apache: command not found" I don't... (0 Replies)
Discussion started by: AlexCheung
0 Replies

8. Fedora

Install memcached on Suse 11 SP2

hi guys I am trying to install this extension for php named memcached but I am not really able to do it PECL :: Package :: memcached I have Suse 11 SP2 installed without any registration (I mean installed not paying subscription) so my question is there a way to install it like in... (0 Replies)
Discussion started by: karlochacon
0 Replies

9. UNIX and Linux Applications

Pro*c file Compiling Issue in suse Linux

The existing .pc (pro *C) file is running successfully in UNIX. But when Iam trying to compile this same file in LINUX using proc iname filename.pc, Iam getting an error, proc file not recognized. Could someone help how to generate execute file from the proc*c file. what are the prerequisites... (2 Replies)
Discussion started by: vikrambharat
2 Replies

10. AIX

Install software in another directory with smitty install

Hello, I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location? i would like to intall in /opt folder , but smitty installed it in /usr Thanks in advance (4 Replies)
Discussion started by: prpkrk
4 Replies
RPM2(3) 						User Contributed Perl Documentation						   RPM2(3)

NAME
RPM2 - Perl bindings for the RPM Package Manager API SYNOPSIS
use RPM2; my $db = RPM2->open_rpm_db(); my $i = $db->find_all_iter(); print "The following packages are installed (aka, 'rpm -qa'): "; while (my $pkg = $i->next) { print $pkg->as_nvre, " "; } $i = $db->find_by_name_iter("kernel"); print "The following kernels are installed (aka, 'rpm -q kernel'): "; while (my $pkg = $i->next) { print $pkg->as_nvre, " ", int($pkg->size()/1024), "k "; } $i = $db->find_by_provides_iter("kernel"); print "The following packages provide 'kernel' (aka, 'rpm -q --whatprovides kernel'): "; while (my $pkg = $i->next) { print $pkg->as_nvre, " ", int($pkg->size()/1024), "k "; } print "The following packages are installed (aka, 'rpm -qa' once more): "; foreach my $pkg ($db->find_by_file("/bin/sh")) { print $pkg->as_nvre, " "; } my $pkg = RPM2->open_package("/tmp/XFree86-4.1.0-15.src.rpm"); print "Package opened: ", $pkg->as_nvre(), ", is source: ", $pkg->is_source_package, " "; DESCRIPTION
The RPM2 module provides an object-oriented interface to querying both the installed RPM database as well as files on the filesystem. CLASS METHODS
Pretty much all use of the class starts here. There are two main entrypoints into the package -- either through the database of installed rpms (aka the rpmdb) or through a file on the filesystem (such as kernel-2.4.9-31.src.rpm or kernel-2.4.9-31.i386.rpm You can have multiple RPM databases open at once, as well as running multiple queries on each. open_rpm_db(-path => "/path/to/db") As it sounds, it opens the RPM database, and returns it as an object. open_package("foo-1.1-14.noarch.rpm") Opens a specific package (RPM or SRPM). Returns a Header object. RPM DB object methods find_all_iter() Returns an iterator object that iterates over the entire database. find_all() Returns an list of all of the results of the find_all_iter() method. find_by_file_iter($filename) Returns an iterator that returns all packages that contain a given file. find_by_file($filename) Ditto, except it just returns the list find_by_name_iter($package_name) You get the idea. This one is for iterating by package name. find_by_name($package_name) Ditto, except it returns a list. find_by_provides_iter($provides_string) This one iterates over provides. find_by_provides($provides_string) Ditto, except it returns a list. find_by_requires_iter($requires_string) This one iterates over requires. find_by_requires($requires_string) Ditto, except it returns a list. RPM Header object methods stuff goes here TODO
Package installation and removal. Signature validation. HISTORY
0.01 Initial release AUTHOR
Chip Turner <cturner@redhat.com> SEE ALSO
perl. The original RPM module. perl v5.8.0 2002-11-08 RPM2(3)
All times are GMT -4. The time now is 11:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy