LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2011, 02:22 AM   #1
naren123.k
Member
 
Registered: Jan 2011
Posts: 85

Rep: Reputation: 17
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"???
 
Old 03-09-2011, 02:26 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
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
 
Old 03-09-2011, 02:35 AM   #3
naren123.k
Member
 
Registered: Jan 2011
Posts: 85

Original Poster
Rep: Reputation: 17
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]#
 
Old 03-09-2011, 02:37 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,329

Rep: Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583
# 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.)

..
 
Old 03-09-2011, 02:45 AM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
Quote:
Originally Posted by naren123.k View Post
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
 
Old 03-09-2011, 02:49 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,329

Rep: Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583
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.

..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant run gz and rpm files vertozia Red Hat 1 06-11-2006 08:32 PM
how do i run .rpm files in linspire? linux_n00bs Linux - Newbie 7 04-10-2006 12:33 PM
I can't run applications that have been installed from rpm files pisaac Red Hat 9 04-11-2004 11:42 AM
Cant run RPM files hargabyte Mandriva 1 12-22-2003 09:59 PM
Where do RPM files go after I run them? glenn69 Linux - Newbie 3 08-31-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration