LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-09-2006, 08:43 AM   #1
24jedi
Member
 
Registered: Jul 2003
Location: Richmond, VA
Distribution: LinuxLite
Posts: 77

Rep: Reputation: 15
installing software from tarball, need some clarification


FreeBSD 5.4

I need to install a specific application that I can only get as a tar right now (I think). I am somewhat embarrased to say, I've never installed from a tar. As a noob, from what I have read, the safest thing in terms of administration, is to use pkg_add. Assuming that I log into my system with a user account (not root) and download the tar;

1. where do I save the tar, ~/home/user, ~/home/user/tmp, /tmp, or does it really matter?

2. Where do I untar it to, or does it really matter?

3. Now that it is untar'd into some folder location, The next step would be to install the software. For most mainstream software, is it correct to assume that typically the script to install the software put the pieces in the correct folder locations?

4. the software I am speaking of is ZendOptimizer. Freebsd.org shows it in the ports tree, but everytime I try to install(work or home) via pkg_add -r zendoptimizer, it fails. I can ftp into ftp.freebsd.org, no problem, but sure enough under /ports/devel/ there is no ZendOptimizer, although the web ports search page shows ZendOptimizer-2.6.0

http://www.freebsd.org/cgi/ports.cgi...izer&stype=all

Thanks for any help.

Don
 
Old 02-09-2006, 09:31 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
download anywhere (users home is a good place to start)
check if the tarball will create another sub directory
tar -tzf <filename>
if you see a generic direcotory in the beginning of each line then you are fine
else create a subdirectory, go into that dir and then add a ../ to the standard untar command infront of the filename:
tar -xzf <filename>
or
tar -xzf ../<filename>

then you read any README files and any INSTALL files
that will keep you busy for some time :-)
 
Old 02-09-2006, 09:37 AM   #3
udanek
LQ Newbie
 
Registered: Feb 2006
Location: Bratislava
Distribution: FreeBSD, Debian
Posts: 1

Rep: Reputation: 0
Try to install it via port (ZendOptimizer is in the port tree). That is (as root)
# cd /usr/src
# cvsup ports-supfile
# cd /usr/ports/devel/ZendOptimizer
# make install

And do not forget to read chapter 4 in Handbook before .

Good luck.

Dusan

Last edited by udanek; 02-09-2006 at 09:39 AM.
 
Old 02-10-2006, 12:55 PM   #4
24jedi
Member
 
Registered: Jul 2003
Location: Richmond, VA
Distribution: LinuxLite
Posts: 77

Original Poster
Rep: Reputation: 15
Thanks for the feedback. In addition to updating the ports collection, I had to manually download the ZendOptimizer file. Something about lisencing. Installation was a bear until I came across this tutorial, which work perfectly(with respect to Zend)

http://www.webhostgear.com/184.html

Thanks

Don
 
  


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
newbie installing tarball jbcolmena Linux - Software 5 02-28-2006 09:52 AM
RPM and Source tarball software...best practice? tigemac Linux - Software 1 10-06-2005 04:08 PM
Need help Installing a Tarball little_penguin Linux - Software 6 02-12-2005 12:57 PM
hardware/software raid: clarification hamish Linux - Hardware 4 01-24-2005 03:23 AM
Need clarification on updating software vbmark Mandriva 2 12-15-2004 02:58 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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