Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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).
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]$
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.
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
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.