nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

How to install tar format software in RHEL 4.0

This is a discussion on How to install tar format software in RHEL 4.0 within the Linux software forums, part of the Linux Getting Started category; Dear All, Please give the solution How to install tar format software in RHEL 4.0 Regards, Manish Gupta...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 12-02-2006, 04:08 PM
Junior Member
User
 
Join Date: Dec 2006
Location: Jaipur
Posts: 7
Rep Power: 0
mannrj45
Send a message via Yahoo to mannrj45
Default How to install tar format software in RHEL 4.0

Dear All,

Please give the solution

How to install tar format software in RHEL 4.0


Regards,
Manish Gupta
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-02-2006, 09:22 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Assuming that tar file name is xyz.tar.gz
First, you need to untar file using tar command.
Code:
tar -zxvf xyz.tar.gz
Change directory (so that you can compile):
Code:
cd xyz
Run configure command:
Code:
./configure
Compile software
Code:
make
Install software
Code:
make install
In short you need 3 commands:
Code:
./configure
make
make install
You may also find README or README.txt or INSTALL file with each tar ball. Take print out of the same for detailed instructions.
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 12-02-2006, 09:31 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Hello Manish,

First, you will want to unzip or uncompress the file in your home directory or if you compile programs often, create a folder in your home directory.

If downloaded a file and it has extension .tar.gz or .tgz use the following tar command:
Code:
tar -xzvf file.tar.gz
tar -xzvf file.tgz
If you downloaded a file and it has the extension .tar.bz, use the following tar command:
Code:
tar -xjvf file.tar.bz
If you downloaded a file and it has just a .gz extension use the gunzip command:
Code:
gunzip file.gz
If you downloaded a file and it has an extension of .bz use the bunzip2 command:
Code:
bunzip2 file.bz
Now go to extracted the source code directory using cd command:
Code:
cd directory
Now build software binary
Code:
./configure
make
Finally, install software binary
Code:
make install

If the make step does not complete successfully then it means that either the Makefile was created improperly or there is a syntax error in the source which is causing it to fail compiling.

If you are RHN subscriber use up2date command to install all software. http://www.cyberciti.biz/faq/howto-use-up2date-command/
Reply With Quote
  #4 (permalink)  
Old 08-22-2007, 02:16 PM
Junior Member
User
 
Join Date: Aug 2007
My distro: fedora7
Posts: 11
Rep Power: 0
mike is on a distinguished road
Default wxWigets....

A good place to jump in with a question. Now I downloaded an audacity beta file,
6.5 Mb, and I opened up the audacity........tar.gz, and obtained audacity-src-1.3.2-beta folder. Also I read the ....1.3.2-beta/README.txt. In the compiling instruction it told me to download WxWidgets 2.6.x it is now superseded by a stable 2.8.4, I now have WxWidgets-2.8.4 folder, (both sitting in Desktop).
So when I command ./configure, the failure is summed up, Config. error no acceptable c compiler found in path.
I believe WxWidgets-2.8.4 is a c compiler, if so where do I put it, As you can see I am new to this.


Mike
Reply With Quote
  #5 (permalink)  
Old 08-22-2007, 02:53 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

I recommend using application installer command such as apt-get or yum or rpm. No need to to download and compile stuff.. it is crazy not recommended for new linux user. BTW, can you tell me your Linux distro name?
__________________
May the force with you!
Reply With Quote
  #6 (permalink)  
Old 08-22-2007, 09:18 PM
Junior Member
User
 
Join Date: Aug 2007
My distro: fedora7
Posts: 11
Rep Power: 0
mike is on a distinguished road
Default wxWigets....

I am using Fedora 7. I found it hard to get hold of audacity for Linux, thats why I ended up in this bog.
Regards,

Mike.
Reply With Quote
  #7 (permalink)  
Old 08-26-2007, 04:52 PM
Junior Member
User
 
Join Date: Aug 2007
My distro: fedora7
Posts: 11
Rep Power: 0
mike is on a distinguished road
Default Audacity

I have got Audacity beta and lame installed, all works fine. But one little problem, my mic. selection input does not work. But in Xp my Audacity installed there works o.k. on mic.
I consider this a minor problem, any thoughts.

Mike
Reply With Quote
  #8 (permalink)  
Old 08-27-2007, 11:28 PM
Junior Member
User
 
Join Date: Aug 2007
My distro: fedora7
Posts: 11
Rep Power: 0
mike is on a distinguished road
Default audacity/skype

I have just installed skype, and yes my mic. is not working; fine on XP.
I use my front mic. jack as the rear one does not work on XP. Is that a clue to the problem.
Got a feeling someone is going to nail this.

Mike
Reply With Quote
  #9 (permalink)  
Old 09-26-2007, 06:57 PM
Junior Member
User
 
Join Date: Sep 2007
Location: Mumbai
My distro: Fedora,CentOS,Redhat,FreeBSD
Posts: 15
Rep Power: 0
aaru is on a distinguished road
Send a message via Yahoo to aaru Send a message via Skype™ to aaru
Cool

Hi All,

Installing the Tarball's are easy when if you installed the developement tools.
please make sure that the follow are be in place,

1) Gnu C Compiler formly know as gcc

2) flex,lex,make,gmake,automake etc

3) C

4) bycc

5) bison etc

6) then you can go through the README & INSTALL Documents for the specific software u r trying to install.

7)take the help of ./configure script (i.e) ./configure --help

while you are configuring if its gives any error, then try to resolv that issue 1 st . then configure.

then use "make" command.here also u may facing some problem b'cz of unavilablity of developement tool.

9) once if u successfully finished the above steps, then u can go for a "make install" command.make install command simply copies the file's, program's,libreries etc into specific installation --PREFIX directories.

10) Finally do not forget to update ur $PATH variable.b'cz sometime's u cant get those commands just u compiled previously.otherwise u have to issue the absolute path.

thanks,
aaru

Note:

Suppose if u want compile software developed in "PHP, Perl,Python" etc then you should have installed those software 1 st before proceed to compile software.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
how to change the format of multiple files in different directories dustcloud4 Shell scripting 0 06-05-2007 04:03 AM
how to install the 3rd party software on linux ravigovind29 Linux software 5 03-07-2007 09:21 PM
Install Yum on RHEL 4. shankar100 Linux software 1 02-21-2007 09:03 AM
Ubuntu Linux install software from source code tar ball toor Linux software 4 07-14-2006 05:37 PM
How to install Lotus domino 6.5 for RHEL ES 4 vin6384 Linux software 1 07-30-2005 06:39 PM


All times are GMT +5.5. The time now is 09:14 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36