Reply
 
Thread Tools Display Modes
  #1  
Old 03-28-2012, 01:07 PM
newpcbsd newpcbsd is offline
Junior Member
 
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Angry how i can install virtualbox
hi
i am install pc-bsd 9
i want install virtualbox in pc-bsd but i want that from port http://www.freshports.org
i do this :
pkg_add -r virtualbox-ose
and
cd /usr/ports/emulators/virtualbox-ose/ && make install clean
this take time but show error
i don't want install from AppCafe its big .!

==============
===> virtualbox-ose-4.0.14 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of emulators/virtualbox-ose
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/emulators/virtualbox-ose.
*** Error code 1

Stop in /usr/ports/emulators/virtualbox-ose.

========

i want install virtaulbox and metasploit or any program here "http://www.freshports.org/"
Reply With Quote
  #2  
Old 03-28-2012, 01:43 PM
bds bds is online now
Senior Member
 
Join Date: Oct 2009
Posts: 510
Thanks: 75
Thanked 50 Times in 46 Posts
Default
hi -- if you

1) ran pkg_add -r virtualbox-ose

and then

2) ran make install clean in /usr/ports/emulators/virtualbox-ose

then you're trying to install it twice. the first command (pkg_add -r ...) installs the binary and the second command builds from source. you only need to do one, or the other, or install the PBI from the AppCafe [1].

HTH!
[1] it's bigger because it includes all of the necessary dependencies.

EDIT: if you want to install virtualbox, metasploit, or any of the other programs listed in freshports, freshports includes the pkg_add syntax for each port, so you can just use pkg_add. HOWEVER!, you may lose your packages during system updates, so you may want to explore the use of a portjail for this sort of thing. the portjail shouldn't be affected by system updates; more info can be found here: http://wiki.pcbsd.org/index.php/Ports_Jail

Last edited by bds; 03-28-2012 at 01:48 PM. Reason: added additional info
Reply With Quote
  #3  
Old 03-28-2012, 01:45 PM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 364
Thanks: 3
Thanked 22 Times in 16 Posts
Default
The error message seems quite clear to me: somehow you have already installed the virtual box application.
Reply With Quote
  #4  
Old 03-28-2012, 02:16 PM
newpcbsd newpcbsd is offline
Junior Member
 
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
ok now how can install this program what doing ?
fedora : yum install virtualbox
debian: apt-get install virtualbox
pc-bsd : ?????????
APPCAFE it is very very big example : firefox size 200 MB ...!!!!!
all program it is big

ok i am now install virtualbox from AppCafe size 241 MB hahah ok
thank you
Reply With Quote
  #5  
Old 03-28-2012, 03:21 PM
bds bds is online now
Senior Member
 
Join Date: Oct 2009
Posts: 510
Thanks: 75
Thanked 50 Times in 46 Posts
Default
for PC-BSD, your example would look like:

pkg_add -r virtualbox-ose

and, you're right about the AppCafe's PBI files being large, but again that's due to all of the included dependencies. if i understand things correctly, after you download and install a PBI, there's behind-the-scenes checking between the installed PBIs, so duplicated dependent libraries are removed. i could be wrong about this, hopefully one of the devs can set us straight on this.

also, don't forget that you may have already installed VirtualBox. remember, if you've already run the pkg_add -r virtualbox-ose command, you've installed it. that being said, i'm not sure exactly *what* you installed, or how to run the application, but it should be there. if you are installing from the AppCafe, you may want to remove the package you've already installed, i.e.

pkg_info | grep virtualbox

pkg_delete package_name-version-number

see the man pages for pkg_add, pkg_info, pkg_delete for more info. also, the FreeBSD docs are great: http://www.freebsd.org/doc/en_US.ISO...ook/ports.html

HTH
Reply With Quote
  #6  
Old 03-28-2012, 03:27 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default how i can install virtualbox
Yes, the PBI includes all the deps, but after installation many of those
are removed / cleaned up saving space
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
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


All times are GMT. The time now is 04:24 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.