Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our production server is running sqlite-3.3.6-2 on CentOS release 5.2 (Final).

We're planning to upgrade SQLite to the latest v3.7.3 (atleast v3.5+). But there is no RPM available in SQLite website and not able to find one from google search also.

But I'm finding v3.5+ RPM for RHEL3 here. Since we're running CentOS5 64-bit,

  1. Is it OK to install a RHEL3 64-bit RPM package on a CentOS5 64-bit server?
  2. In case, if it can be installed, will there be any implications/side-effects?

In general, can we install a RPM built for lower version of OS (ex: RHEL3) on a higher version of OS (ex: RHEL5)?

share|improve this question
up vote 4 down vote accepted

The answer in my general experience is "if it works". RPMs have depdency checking built in; they know if they need a particular version of glibc, or php, or mysql, or foo, bar or baz. If you do an

rpm -ivh fribble-4.5.6-el3.i386.rpm

and it runs to completion, you're likely OK (though test it). If instead it says

error: Failed dependencies: is needed by fribble-4.5.6-el3.i386.rpm is needed by fribble-4.5.6-el3.i386.rpm
    python(abi) = 2.4 is needed by fribble-4.5.6-el3.i386.rpm

that's RH's way of telling you that no, it's not going to work. You can of course override that with --nodeps, but you'll be in for a lot of pain if you do, so don't; find an up-to-date RPM instead.

share|improve this answer

The jump in this case is too large, and sqlite is present in the base repo. Rebuild from SRPM instead. Note that you'll be responsible for handling updates yourself should you decide to do this.

share|improve this answer
How do I build from SRPM in this case? Any pointers to relevant link/article are appreciated. Also, I don't get your comment on'll be responsible for handling updates yourself .... Can you elaborate a bit on this? – Gnanam Nov 9 '10 at 11:32
For the first, grab the .src.rpm file from the same place (more or less) that you found the .rpm, and use mock(available in the extras repo) to rebuild it. For the second, CentOS 5 supplies 3.3.6 and will likely never supply anything other than a 3.3.x version, which means that you will have to update the package yourself since you're installing a later version. – Ignacio Vazquez-Abrams Nov 9 '10 at 11:38
From SQLite download page, there are no SRPM. They provide only 2 forms: Source code and Precompiled binaries. I don't find .src.rpm file. – Gnanam Nov 9 '10 at 12:00
I don't see a .rpm either, so I don't think that's where you found it. – Ignacio Vazquez-Abrams Nov 9 '10 at 12:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.