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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-28-2003, 03:16 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Posts: 3
Rep:
|
trouble installing rpm file
I'm trying to install a stats package on my redhat server. The stats package is At http-analyze.org/download.html
My cpu is a celeron 1200. I know celeron ain't IBM, so I'm trying to install the "alpha" version of the software. I'm running redhat linux, though not 100% sure which version.
I SSH into the shell and locate the file in the appropriate directory. The file is called: "http-analyze-2.4-1rh60.alpha.rpm".
So at the cursor in ssh I type: "rpm -ivh http-analyze-2.4-1rh60.alpha.rpm" - with the result that I get an error saying there's no such file or directory.
Any help with this would be greatly appreciated. I have chat software if you want to talk realtime!
Mike
|
|
|
09-28-2003, 03:21 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Why are you trying to install an alpha version, if your hardware isn't alpha itself? If the package was designed for alpha, most likely its not going to work for x86 platform.
|
|
|
09-28-2003, 04:24 PM
|
#3
|
Member
Registered: Sep 2003
Location: Lancaster, UK
Distribution: Mandrake
Posts: 46
Rep:
|
Alpha is another type of computer chip, like Sparc or i386.
The package you'd want would be the i386 package. i386 is just a (rather old) way of saying intel compatible.
You might see i586 type rpms, these should also work on any intel compatible hardware, but have been compiled with optimisations for the newer chips.
HTH
Darren
|
|
|
09-28-2003, 04:47 PM
|
#4
|
LQ Newbie
Registered: Sep 2003
Posts: 3
Original Poster
Rep:
|
rpm install with 386 version
Thanks for the replies. Okay, I have now tried to install the 386 version. Here's the error I get after trying the install:
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted
error: cannot open Packages database in /var/lib/rpm
What's it all mean??
Mike
|
|
|
09-28-2003, 04:54 PM
|
#5
|
Member
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634
Rep:
|
u need to be root
|
|
|
09-28-2003, 04:55 PM
|
#6
|
Member
Registered: Sep 2003
Location: Lancaster, UK
Distribution: Mandrake
Posts: 46
Rep:
|
Are you running the rpm command as root?
rpm's must be installed as the root (super-user, administrator, Da boss... ) user.
Darren.
|
|
|
09-28-2003, 05:02 PM
|
#7
|
LQ Newbie
Registered: Sep 2003
Posts: 3
Original Poster
Rep:
|
Darren - When you say "as root" I think you mean that I should be installing the software as the admin. I have a dedicated server at hostway.com, and they give me ssh shell access directly through the admin interface, so I think that means I am the admin by default. Anyhow, there are no other users but me. Does that answer the question? You can chat with me live on msn messenger: mpa@3works.com
|
|
|
09-28-2003, 05:17 PM
|
#8
|
Member
Registered: Sep 2003
Location: Lancaster, UK
Distribution: Mandrake
Posts: 46
Rep:
|
Hmm,
I would have thought that the admin user would be root.
There are ways to try tho'.
Try the command:
id
You should get an output looking like:
uid=0(root) gid=0(root) groups=0(root)
The important part is that uid=0
If this is right, then you are root. Also, try:
ls -al /var/lib/rpm
and see who owns those files.
If you do not seem to be root, then the command:
su -
will make you root. It may should ask you for a password which should be one that you set up with hostway.
I would come onto msn messenger, but that would involve signing up to a microsoft (uck) thing. I have enough of those at work! *8-)
ICQ: 21087788
Darren.
|
|
|
All times are GMT -5. The time now is 03:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|