LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to run rpm files (https://www.linuxquestions.org/questions/linux-software-2/how-to-run-rpm-files-867380/)

naren123.k 03-09-2011 01:22 AM

how to run rpm files
 
Hi,
I want to know the alternate way to run "rpm" files which i downloaded through net but not through "yum"???

EricTRA 03-09-2011 01:26 AM

Hello,

If you mean by 'run' to install rpm files, then have a look at the man page for the rpm command:
Code:

man rpm
Simple install would be:
Code:

rpm -i <packagename>
Kind regards,

Eric

naren123.k 03-09-2011 01:35 AM

OK-- I did accordingly and i got following things

[root@localhost NS]# rpm -i gtkglext-1.2.0-4.fc6.src.rpm
warning: gtkglext-1.2.0-4.fc6.src.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
[root@localhost NS]#

knudfl 03-09-2011 01:37 AM

# 1
Don't expect all random rpm packages to be usable.

Anyway you can try if they are installable with :
1) su
2) The default "yum install command" # rpm -Uvh <package>.rpm

Or 2a) # yum localinstall --nogpgcheck <package>.rpm
.. Which will also take care of dependencies : 'rpm -Uvh' will not do that.

( The 'rpm -i(vh)' command is for special occasions :
a) When no other package with the same package name is installed.
b) If you want two versions of the same package (usually a library)
installed at the same time.)

..

EricTRA 03-09-2011 01:45 AM

Quote:

Originally Posted by naren123.k (Post 4283764)
OK-- I did accordingly and i got following things

[root@localhost NS]# rpm -i gtkglext-1.2.0-4.fc6.src.rpm
warning: gtkglext-1.2.0-4.fc6.src.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
[root@localhost NS]#

Hi,

The package you want to install is source code, not a simple installable RPM file. Have a look at this site to shed some light:
http://www.rpm.org/max-rpm/s1-rpm-mi...nia-srpms.html

Kind regards,

Eric

knudfl 03-09-2011 01:49 AM

Post # 3 : gtkglext-1.2.0-4.fc6.src.rpm : That is not an rpm package.

Packages with suffix ".src.rpm" are source code.

gtkglext for Fedora 14 : gtkglext-libs-1.2.0-10.fc12.i686.rpm
# yum search gtkglext
# yum install gtkglext-libs
If you want packages for download ( no internet, no yum ) then use
http://download.fedora.redhat.com/pub/fedora/linux/
Like http://download.fedora.redhat.com/pu...x/releases/14/
And http://download.fedora.redhat.com/pu...ux/updates/14/

Old versions http://download.fedora.redhat.com/pu.../fedora/linux/

Quote:

warning: group mockbuild does not exist - using root
A warning is a message : Here it shows the "Builder information"
which is an otherwise non readable information inside the cpio archive.

..


All times are GMT -5. The time now is 03:14 PM.