LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-24-2012, 09:16 AM   #1
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Rep: Reputation: Disabled
how to install src.tar.gz file.


hi, i am trying to install mysql workbench on rhel5,but i couldn't find right rpms for it and at last i downloaded linux generic src.tar.gz file ,i extracted it ,it created a directory,but i dont know how to install it.Please help......
 
Old 01-24-2012, 09:50 AM   #2
MartinStrec
Member
 
Registered: Jan 2012
Location: Czech
Distribution: Fedora, RHEL, Ubuntu, Mint
Posts: 110

Rep: Reputation: 14
Do the following:

Code:
#unpack files
tar zxf yourifle.src.tg.gz

# go into indirectory where it has been unpacking
cd your-creted-directory

# configure 
# for all parameters use 'configure --help'
./configure --prefix=/path/to/install/mysql

#compile files
make

#install it
make install
Be aware! You have to install many header files of different libraries if you want to compile the source. Minimum you have to install kernel headers.
Code:
yum install kernel-headers kernel-devel
You have to install C compiler
Code:
yum install gcc
While running ./configure it can stop with an error message. For example libxml is missing.
You have to install the missing library, in my example use
Code:
yum install libxml-headers libxml-devel

Good luck :-)

Last edited by MartinStrec; 01-24-2012 at 09:53 AM. Reason: Missing small importnant part
 
Old 01-24-2012, 10:42 AM   #3
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
after running ./configure ,it shows a missing libzip,but i dont have that rpms in repository,everything else went right.
Many thanks for your reply.
 
Old 01-24-2012, 10:46 AM   #4
MartinStrec
Member
 
Registered: Jan 2012
Location: Czech
Distribution: Fedora, RHEL, Ubuntu, Mint
Posts: 110

Rep: Reputation: 14
libzip is a common library, try 'yum install libzip libzip-devel' (you have to install both)
 
Old 01-24-2012, 10:48 AM   #5
MartinStrec
Member
 
Registered: Jan 2012
Location: Czech
Distribution: Fedora, RHEL, Ubuntu, Mint
Posts: 110

Rep: Reputation: 14
Probably you can install without libzip
'./configure .... --without-libzip'

if configure allows it and you needn't ZIP operations, I guess that is a feature, but it not a necessary library.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install .tar.gz and .tar.bz and .src.rpms gadekishore Linux - Software 3 08-06-2010 05:02 PM
how to unzip .src.tar.gz file/software raghulrajan Linux - Newbie 4 02-12-2010 08:26 AM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration