how to reinstall a package deleted by pkg remove

Status
Not open for further replies.

darthvader42

Dabbler
Joined
Oct 30, 2016
Messages
19
I'm currently trying to get virtualbox up & running on my freenas box. By error I've removed a package by typing:
pkg remove virtualbox-ose-kmod

Since pkg cannot install packages directly in freenas I wonder how to get virtualbox-ose-kmod back. Any hints.

PS: Please excuse if this question sounds silly, still taking baby steps on freebsd.
 

darthvader42

Dabbler
Joined
Oct 30, 2016
Messages
19
nevermind, solved it myself by temporarily enabling `/usr/local/etc/pkg/repos/FreeBSD.conf` and doing a `pkg update` followed by `pkg install virtualbox-ose-kmod`.
 
Status
Not open for further replies.
Top