"make deinstall" within /usr/ports/lang - need to recover default language installs

Rob Navarro robnav247 at gmail.com
Tue Mar 19 08:37:28 UTC 2013


Dear Chaps,

Thank you very much for responding so quickly. Curiously the freeBSD 9.0
was installed with the standard answers to a sysinstall session and did
contain a version of perl.

I now seem to be in the state of discovering which languages I need and
then re-installing. Is there a list/database for freeBSD 9.0 standard
sysinstalls languages that I can view and use to re-install (via pkg_add
-v -r perl  etc) ?
[there must a config file for sysinstall to use itself]

Kind  regards,

Rob

> lang/ contains all languages and so on ruby, lua, python, perl.. Of
> course you removed perl since you typed make deinstall in that parent
> port tree.
>
> You can type make install in /usr/ports/lang/perl5.14 to install it
> again. You don't need to reinstall FreeBSD, you're not on Windows
> here, you can repair everything :)
>
> Note: there is no perl installed by default, it's in the ports for few
> years now.
>
> Regards,


On 19/03/2013 01:19, Matthew Seaman wrote:
> On 19/03/2013 07:54, Rob Navarro wrote:
>> Hi Chaps,
>>
>> I typed "make deinstall" within the /usr/ports/lang directory of a
>> FreeBSD 9.0 and mistakenly lost Perl, Python, Ruby and a whole host of
>> default compiled languages.
>>
>> How can I get back to the default FreeBSD default installed language
>> state (with Perl installed etc)?
> Ummm.... the default state is with just the base system installed: no
> extra languages like perl or python and no other additional software
> packages.
>
>> Crossing my fingers that I need not re-install the OS...
> Nope.  You absolutely do not need to do that -- all you did will have
> affected the ports, which on FreeBSD is a distinct entity from the base
> system.
>
> To recover, you simply need to re-install the appropriate ports.  If you
> know what you want installed, then it's easy: you can just feed a list
> of those ports into portmaster(8) or portupgrade(8).
>
> If you don't know what you need installed in order to support various
> end user programs, then there are various ways of checking that the
> dependencies of the required ports are installed.  For instance, if
> you're using pkgng, you could run 'pkg check -da'  At worst, and
> requiring the least amount of extra software, just try re-installing the
> packages in question.  This should work, but you might end up doing a
> lot of strictly unnecessary recompiling.
>
> 	Matthew
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list