LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2006, 04:11 AM   #1
hevymac
LQ Newbie
 
Registered: Nov 2006
Distribution: Vine Linux 4.0
Posts: 12

Rep: Reputation: 0
Don't understand how to run "RPM"


Hello everyone.
My name is Danny and I've tried several times before to become a linux user but always run into problems.

My problem is that I am trying to install Opera and I'm using Vine Linux 4.0 (It's a Redhat Linux one)
I don't know how to even run this "rpm" file. I've tried reading the itructions but it assumes that you have Linux knowlege.
Please be patient with me.
Thanks
Dan
 
Old 11-24-2006, 04:18 AM   #2
gv_rajasekhar
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Rep: Reputation: 0
in linux its easy

all u have to do type rpm --help
all the options are display or type "man rpm" manual for rpm is showed.

to install --> rpm -ivh name.rpm

Last edited by gv_rajasekhar; 11-24-2006 at 04:20 AM.
 
Old 11-24-2006, 04:21 AM   #3
hevymac
LQ Newbie
 
Registered: Nov 2006
Distribution: Vine Linux 4.0
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks (that was quick)
I'll try that.
Also I'm having trouble with skype (if anyone uses it??)
 
Old 11-24-2006, 04:27 AM   #4
hevymac
LQ Newbie
 
Registered: Nov 2006
Distribution: Vine Linux 4.0
Posts: 12

Original Poster
Rep: Reputation: 0
Ummm........
How do you run an rpm file if it's on the desktop??
IE:What do I have to type in to get to run it?
 
Old 11-24-2006, 04:45 AM   #5
hevymac
LQ Newbie
 
Registered: Nov 2006
Distribution: Vine Linux 4.0
Posts: 12

Original Poster
Rep: Reputation: 0
[Danny@localhost Danny]$ Danny/Desktop/rpm -U skype-1.3.0.53-fc5.i586.rpm
bash: Danny/Desktop/rpm: No such file or directory
[Danny@localhost Danny]$


This is what happin if I try to run it!!!!????
 
Old 11-24-2006, 04:50 AM   #6
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
start a terminal window. type "cd Desktop" at the command prompt#. type "ls -la" to see all the files in Desktop (u should see ur downloaded rpm file there). then as suggested by gv_rajasekhar type rpm -ivh name.rpm or rpm -Uvh name.rpm to install the file. u can use the Tab key to autocomplete the file name also (if u press the tab key after typing rpm -Uvh +few alphabet of the file name, it will auto complete the file name. This way u can minimize typo in file name).
 
Old 11-24-2006, 04:51 AM   #7
hevymac
LQ Newbie
 
Registered: Nov 2006
Distribution: Vine Linux 4.0
Posts: 12

Original Poster
Rep: Reputation: 0
Will try that
 
Old 11-24-2006, 04:56 AM   #8
hevymac
LQ Newbie
 
Registered: Nov 2006
Distribution: Vine Linux 4.0
Posts: 12

Original Poster
Rep: Reputation: 0
What does this mean?
[Danny@localhost Desktop]$ rpm -ivh opera-9.02-20060919.1-static-qt.i386-en.rpm
error: can't create transaction lock on /var/lib/rpm/__db.000
[Danny@localhost Desktop]$
 
Old 11-24-2006, 05:03 AM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Means you got temp files from a previous operation.
Do "rm -f /var/lib/rpm/__db.00?" (without the quotes), then try again.
 
Old 11-24-2006, 05:04 AM   #10
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
seems like ur rpm database is corrupt, try by typing "rpm --rebuilddb". u may have to acquire root previlage to do that. type "su -" it will ask u for the root passwd after that.
 
Old 11-24-2006, 05:07 AM   #11
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
UnSpawn - does he need to rebuild the rpm database after removing the file or only removing the file will work fine?
 
Old 11-24-2006, 05:17 AM   #12
Broder
Member
 
Registered: Oct 2006
Location: Santa Barbara, C.A.
Distribution: Mood dependent
Posts: 117

Rep: Reputation: 15
I use skype. What's the problem you're having?
 
Old 11-24-2006, 05:26 AM   #13
hevymac
LQ Newbie
 
Registered: Nov 2006
Distribution: Vine Linux 4.0
Posts: 12

Original Poster
Rep: Reputation: 0
I'm sorry everyone but I HAVE to go to sleep now as I have work tomorrow. Thanks for all the help!!!
I'm now understanding this.
I think I will just install a more used version of Linux, like Fedora 6 and then come back with my questions, If I have any problems...
Thanks
Dan
 
Old 11-24-2006, 05:40 AM   #14
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 31
Your distribution probably has a built-in graphical package manager. I odn't know anything about this particular one, but as it's Red Hat-based it probably uses the Red Hat package manager.

If it does then you can just click on the file from a file manager (or on the desktop), and that will launch an interactive program that will install the package. That's a lot easier than trying to do anything using the command line.
 
Old 11-24-2006, 03:25 PM   #15
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
It looks like he was trying to run rpm as the regular user, the problem with the lock file is probably just caused by needing root permissions. This is needed for most system administration commands. Get this by typing su into the terminal, then it will ask for your root password (not your regular user password).
 
  


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
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 08:42 AM
Where to download rpm packages of "gocr" and "kooka" satimis Linux - Software 6 02-24-2006 12:35 AM
Difference Between "Source RPM" "Static RPM" Mic Q SUSE / openSUSE 2 03-30-2005 07:51 PM
how to run "gaim-devel" rpm after installing b0nd Linux - Newbie 6 02-17-2005 08:35 AM
When I run rpm -Uvh it says "warning: waiting for transaction lock" Niceman2005 Linux - Software 5 11-12-2004 08:47 PM


All times are GMT -5. The time now is 06:21 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