LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-22-2010, 01:00 PM   #1
tab4trouble
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
How to install a .tar.bz package in Linux.


Hi,
I'm quite new to linux. And I'm finding it difficult to install a package with "<filename>.tar.bz". I followed few threads but still I couldn't get it done properly.

I actually tried to install phpmyadmin, and downloaded the phpMyAdmin-3.3.8.1-all-languages.tar.gz.

Then used
"tar -zxvf phpMyAdmin-3.3.8.1-all-languages.tar.gz" command to unpack.

And in that solution, it said to execute a command called "./configure". But when I tried that, the terminal gave me an error saying,

"bash: ./config: No such file or directory".

I need help to figure this out.

Thank you,
Regards,
tab4trouble.
 
Old 12-22-2010, 01:09 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
You missed the "ure" in "./configure". Try ./configure.

There should also be an INSTALL or README file in the same directory that has install directions.

But on another note, why are you installing from .tar.gz (or .tar.bz2)? Unless you have a specific reason to install from source, it's MUCH easier to use your distro's package manager. Assuming you're on Fedora like your profile says, and that that Fedora is recent, a simple "yum install phpMyAdmin" as root should install it for you.
 
Old 12-22-2010, 01:14 PM   #3
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
tar.bz or tar.gz simply indicates a compressed archive, similar to rar or zip. It is a common way to distribute source code.

You should almost always default to installing package via your package manager. All the major distros have pretty extensive repositories of software packaged (presumably corrected) by the distro developers. phpmyadmin is pretty common and should be available in your distro.

To install from source, first you need the proper build tools, gcc, g++, and make among others. The exact requirements can differ depending on the software. As you seem to have found, one of the more common methods for building software involves the trio of
Code:
./configure
make
make install
But this is by no means universal. The first of the three calls a configure script. There are two possibilities for your not found message. 1. There is no configure script and this software is not meant to be built this way. 2. You're not in the correct directory. When you extract the compressed archive, it should create a directory containing the extracted files. You need to enter that directory before running the configure script. (The ./ indicates the shell should look in the current directory for a file called "configure".)

Change directories with the cd command
Code:
cd /home/me
or as seems like based on the file name you gave
Code:
cd ~/phpMyAdmin-3.3.8.1-all-languages
The ~ is a shortcut for the current user's home directory.
 
  


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 package in tar.bz2?helpp georgie99 Linux - Newbie 5 02-18-2010 03:55 AM
install error for xampp tar package vipjag2 Linux - Newbie 8 05-10-2009 09:00 PM
Install tar package jojojo Linux - Newbie 3 05-25-2006 02:15 AM
install srgp.tar.z package csst0136 Linux - Software 6 10-22-2005 06:25 PM
Install HCF driver from TAR package snowbaby Linux - Newbie 4 05-02-2002 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:31 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