15497 Install software from tar.gz - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old October 23rd, 2011, 09:10
vist vist is offline
Junior Member
 
Join Date: Sep 2011
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default Install software from tar.gz

Dear colleagues, please tell me how to install software from tar.gz packages? I've tried to look at handbook, but I found nothing...
Reply With Quote
  #2  
Old October 23rd, 2011, 09:33
johnd johnd is offline
Junior Member
 
Join Date: Sep 2011
Location: Germany
Posts: 43
Thanks: 1
Thanked 13 Times in 11 Posts
Default

Try looking at the documentation of the software you want to install. What software are you talking about? Isn´t it available from the ports tree under /usr/ports? If you don´t know if it´s available try:
Code:
whereis firefox
in case firefox is the software you want to install.

If you want to unpack your tar.gz-file use:
Code:
tar -xf file.tar.gz
. Tar should detect the compression used automatically on newer Versions of FreeBSD. Consult tar(1) on your System.
Reply With Quote
  #3  
Old October 23rd, 2011, 09:38
vist vist is offline
Junior Member
 
Join Date: Sep 2011
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is not a problem to extract the package. I can't install it... I want to install the package from CD-ROM drive.
Reply With Quote
  #4  
Old October 23rd, 2011, 09:50
shitson's Avatar
shitson shitson is offline
Member
 
Join Date: Aug 2010
Location: Australia, Wollongong
Posts: 180
Thanks: 11
Thanked 32 Times in 26 Posts
Default

Have you mounted the CD-ROM?

Code:
su -
Code:
mount /cdrom
__________________
"Virtually everything worth doing has a learning curve associated with it", anomie.
Reply With Quote
  #5  
Old October 23rd, 2011, 09:52
johnd johnd is offline
Junior Member
 
Join Date: Sep 2011
Location: Germany
Posts: 43
Thanks: 1
Thanked 13 Times in 11 Posts
Default

A little bit information would be very helpful. What are you trying to install and what have you done so far? Have you tried the whereis command? Last time i have installed software from CD-ROM was in 2006
Did you mount the CD?
Reply With Quote
  #6  
Old October 23rd, 2011, 10:33
vist vist is offline
Junior Member
 
Join Date: Sep 2011
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

KDE mounted the CD-ROM automatically. I am running FreeBSD under VMWARE Workstation 7.1. To run video driver correctly I must install VMWARE tools package, that is mounted to the virtual machine as CD-ROM. The CD contains tar.gz package. I can access it. I tried to extract the package with console tar and graphical tar, but it does now want to compile.

Code:
cd /folder/package_folder
make install
"don't know how to make package"

If I try

Code:
pkg_add /cdrom/package.tar.gz
it tells me "unable to extract table of contents file"...
Reply With Quote
  #7  
Old October 23rd, 2011, 10:45
johnd johnd is offline
Junior Member
 
Join Date: Sep 2011
Location: Germany
Posts: 43
Thanks: 1
Thanked 13 Times in 11 Posts
Default

Hmm, I don´t use FreeBSD as a guest under VMWARE. But I found this: http://www.vmware.com/support/ws5/do...s_freebsd.html
Reply With Quote
  #8  
Old October 23rd, 2011, 11:02
Bunyan's Avatar
Bunyan Bunyan is offline
Member
 
Join Date: Jan 2009
Posts: 140
Thanks: 7
Thanked 16 Times in 15 Posts
Default

Quote:
Originally Posted by vist View Post
If I try

Code:
pkg_add /cdrom/package.tar.gz
it tells me "unable to extract table of contents file"...
It will always say that, because pkg_add operates with *.tbz files only.

Last edited by DutchDaemon; October 23rd, 2011 at 18:34.
Reply With Quote
  #9  
Old October 23rd, 2011, 11:19
vist vist is offline
Junior Member
 
Join Date: Sep 2011
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Bunyan View Post
It will always say that, because pkg_add operates with *.tbz files only.
Ok, clear. So, how should I install tar.gz?

Last edited by DutchDaemon; October 23rd, 2011 at 18:35.
Reply With Quote
  #10  
Old October 23rd, 2011, 15:26
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,724
Thanks: 432
Thanked 1,762 Times in 1,459 Posts
Default

tar.gz is just a compressed archive file, it could contain anything. How to install the contents will depend on what those contents are.

Ports like emulators/open-vm-tools might be a better alternative.

Last edited by DutchDaemon; October 23rd, 2011 at 18:35.
Reply With Quote
  #11  
Old October 24th, 2011, 18:59
Bunyan's Avatar
Bunyan Bunyan is offline
Member
 
Join Date: Jan 2009
Posts: 140
Thanks: 7
Thanked 16 Times in 15 Posts
Default

Quote:
Originally Posted by vist View Post
please tell me how to install software from tar.gz packages?
1) Unpack the archive.
2) Enter the DIR
3) less README
4) ./configure --help
5) ./configure
6) make (gmake)
7) sudo make (gmake) install

Last edited by DutchDaemon; October 25th, 2011 at 00:44.
Reply With Quote
  #12  
Old October 25th, 2011, 15:58
silverglade00 silverglade00 is offline
Junior Member
 
Join Date: Jan 2010
Location: Little Rock, AR
Posts: 42
Thanks: 7
Thanked 5 Times in 5 Posts
Default

This is how we do vmware-tools at my job.

An installed version of Perl is needed.
The compatibility layer for BSD version 6.x is needed

# cd /usr/ports/misc/compat6x
# make install clean

Present the guest OS using vSphere -> Guest -> Install/Upgrade VMware Tools
The presents a virtual cdrom to the guest OS.

Mount the cdrom
# mount /cdrom

Mount the tools file from cdrom
# cp /cdrom/vmware-freebsd-tools.tar.gz /root

uncompress them
# gzip -d vmware-freebsd-tools.tar.gz
untar them
# tar -xvf vmware-freebsd-tools.tar

move into the directory
# cd vmware-tools-distrib

execute the install script
# ./vmware-install.pl

answer a bunch of questions. The defualts setting are fine.

Please remember to configure your network by adding:
Code:
ifconfig_vxn0="dhcp"
to the /etc/rc.conf file and start the network with:
# /etc/netstart
to use the vmxnet interface using DHCP.

The new virtual interface is hidden from the OS. The VMware host can now talk to the guest OS via the vxn0 interface.
Reply With Quote
The Following User Says Thank You to silverglade00 For This Useful Post:
wblock@ (October 25th, 2011)
Reply

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Install software do not use Internet. valsorym Installation and Maintenance of FreeBSD Ports or Packages 2 September 24th, 2011 22:18
[Solved] Best way to install Software without Internet steve_s Installation and Maintenance of FreeBSD Ports or Packages 6 February 9th, 2010 21:10
[Solved] SquidGuard- install shallalist.tar.gz file mbr661 Web & Network Services 1 January 22nd, 2010 09:11
I dont know how to install software... :( zakka Installing & Upgrading 5 March 8th, 2009 00:34
Install RSI Prevention Software vivek Howtos & FAQs (Moderated) 2 November 21st, 2008 22:25


All times are GMT +1. The time now is 16:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0