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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
is it ok to install fedora 7 rpm package on Redhat eL5 ? I need to install python-mysqldb on my machine and i couldn't find any rpm package for EL5. i found is few rpms for Fedora 7. is it same as that for EL5 ? Installing the module from source seems to be pretty complicated, it has dependency to other modules and i dont have it all installed in the system.
Are you sure you're not looking for "MySQL-python"? That should be available in the RHEL repositories.
It's not a good idea to try to load RPM for one platform on another simply because the dependencies are usually going to look for other RPMs made for the original platform. You're much better off taking the source and compiling it yourself.
For most source packages it really isn't that difficult. Just 4 steps usually:
1) Download the source package.
2) Run configure in the source directory.
3) Run make in the source directory.
4) Run make install in the source directory.
Of course there are variations so you do want to read what they say (look for readme files especially after the download) before you start.
I agree; double check the repos, I'd be surprised if there isn't something like that available.
Failing that, phone RH and ask. I'd recommend against installing by hand, and especially from other distros. RH will not support that.
[fred@localhost ~]$ yum info mysql-python
Loaded plugins: fastestmirror, protectbase
0 packages excluded due to repository protections
Name : MySQL-python
Arch : x86_64
Version : 1.2.1
Release : 1
Size : 84 k
Repo : base
Summary : An interface to MySQL
URL : http://sourceforge.net/projects/mysql-python/
License : GPL
Description: Python interface to MySQL MySQLdb is an interface to the popular
: MySQL database server for Python. The design goals are: -
: Compliance with Python database API version 2.0 - Thread-safety
: - Thread-friendliness (threads will not block each other) -
: Compatibility with MySQL 3.23 and up This module should be mostly
: compatible with an older interface written by Joe Skinner and
: others. However, the older version is a) not thread-friendly, b)
: written for MySQL 3.21, c) apparently not actively maintained. No
: code from that version is used in MySQLdb. MySQLdb is distributed
: free of charge under a license derived from the Python license.