Package in CentOS 5 but not in 6 - recommended solution?

Issues related to applications and software problems
Post Reply
peppergrower
Posts: 2
Joined: 2011/10/06 06:10:35

Package in CentOS 5 but not in 6 - recommended solution?

Post by peppergrower » 2011/10/06 06:30:14

I'm not new to Linux, but I am new to CentOS; I recently started exploring CentOS for a new VPS, and decided to go with CentOS 6. I'm migrating a website that runs on Django + Apache + MySQL over to this VPS. I was a little surprised that there doesn't appear to be an RPM in any of the stock repositories that includes Django. I'm even more surprised since when I Googled "yum install Django", I got plenty of hits for CentOS 5.x. Why is this package missing from 6.0, and will it be added back?

Meanwhile, what's the recommendation for what I should do right now? I could install Django directly into the system, but that seems to be very strongly discouraged (e.g., [url=http://wiki.centos.org/PackageManagement/SourceInstalls]here[/url]). Should I look into rolling my own RPM? I've never done that before, but I'm game if it's the CentOS way of doing things.

Thanks for any contributions!

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: Package in CentOS 5 but not in 6 - recommended solution?

Post by r_hartman » 2011/10/06 07:13:24

Welcome to the CentOS fora.

Django is in the Epel repository:
[code]# yum list django
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.aol.com
* epel: archive.linux.duke.edu
* extras: centos-distro.cavecreek.net
* rpmforge: apt.sw.be
* updates: centos.aol.com
1062 packages excluded due to repository priority protections
Available Packages
Django.noarch 1.2.6-2.el6 epel[/code]
Make sure when adding [url=http://wiki.centos.org/AdditionalResources/Repositories?highlight=%28repositories%29]3rd party repositories[/url] you also install and configure [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum-plugin-priorities[/url].

peppergrower
Posts: 2
Joined: 2011/10/06 06:10:35

Re: Package in CentOS 5 but not in 6 - recommended solution?

Post by peppergrower » 2011/10/07 05:08:21

Thanks, I got epel (and yum-plugin-priorities) set up just fine and this looks like a good way to go. I appreciate the help!

czep
Posts: 4
Joined: 2011/08/28 04:08:23

Re: Package in CentOS 5 but not in 6 - recommended solution?

Post by czep » 2011/10/07 17:26:51

Thanks from me as well. Instead of using yum-plugin-priorities, I added includepkgs=Django* to /etc/yum.repos.d/epel.repo since I don't plan on using anything else from EPEL right now.

Do you think it's ok that the available version of django is 1.2.6 while the homepage says that users of that version should upgrade to 1.2.7?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Package in CentOS 5 but not in 6 - recommended solution?

Post by pschaff » 2011/10/07 19:51:53

That is something to take up with EPEL.

Post Reply