15497
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Dear colleagues, please tell me how to install software from tar.gz packages? I've tried to look at handbook, but I found nothing...
|
|
#2
|
|||
|
|||
|
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 If you want to unpack your tar.gz-file use: Code:
tar -xf file.tar.gz |
|
#3
|
|||
|
|||
|
It is not a problem to extract the package. I can't install it... I want to install the package from CD-ROM drive.
|
|
#4
|
||||
|
||||
|
Have you mounted the CD-ROM?
Code:
su - Code:
mount /cdrom
__________________
"Virtually everything worth doing has a learning curve associated with it", anomie. |
|
#5
|
|||
|
|||
|
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? |
|
#6
|
|||
|
|||
|
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 If I try Code:
pkg_add /cdrom/package.tar.gz |
|
#7
|
|||
|
|||
|
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
|
|
#8
|
||||
|
||||
|
It will always say that, because pkg_add operates with *.tbz files only.
Last edited by DutchDaemon; October 23rd, 2011 at 18:34. |
|
#9
|
|||
|
|||
|
Ok, clear. So, how should I install tar.gz?
Last edited by DutchDaemon; October 23rd, 2011 at 18:35. |
|
#10
|
||||
|
||||
|
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. |
|
#11
|
||||
|
||||
|
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. |
|
#12
|
|||
|
|||
|
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 cleanPresent the guest OS using vSphere -> Guest -> Install/Upgrade VMware Tools The presents a virtual cdrom to the guest OS. Mount the cdrom # mount /cdromMount the tools file from cdrom # cp /cdrom/vmware-freebsd-tools.tar.gz /rootuncompress them # gzip -d vmware-freebsd-tools.tar.gzuntar them # tar -xvf vmware-freebsd-tools.tarmove into the directory # cd vmware-tools-distribexecute the install script # ./vmware-install.planswer a bunch of questions. The defualts setting are fine. Please remember to configure your network by adding: Code:
ifconfig_vxn0="dhcp" # /etc/netstartto 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. |
| The Following User Says Thank You to silverglade00 For This Useful Post: | ||
wblock@ (October 25th, 2011) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |