BSD ports collection.. Nooit X downen

Pagina: 1
Acties:

  • xychix
  • Registratie: September 2000
  • Laatst online: 03-12-2025

xychix

FreeBSD Rules !

Topicstarter
Het BSD portscollection systeem download automatich de dependencies voor het te installeren pakket.

nu komt het wel eens voor dat ik een pakketje denk te installeren waar X niet voor nodig is, maar vervolgens begint hij aan gigantische downloads....

hoe kan ik voorkomen dat hij X gaat downloaden.

Every failure offers you a new opportunity! | Lokatie database|GoT - Notepad


Verwijderd

hier een stukje uit het freebsd handboek
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

---------------------------
The refuse file essentially tells CVSup that it should not take every single file from a collection; in other words, it tells the client to refuse certain files from the server. The refuse file can be found (or, if you do not yet have one, should be placed) in base/sup/refuse. base is defined in your supfile; by default, base is /usr/local/etc/cvsup, which means that by default the refuse file is in /usr/local/ etc/cvsup/sup/refuse. The refuse file has a very simple format; it simply contains the names of files or directories that you do not wish to download. For example, if you cannot speak
any languages other than English and some German, and you do not feel the need to use the German applications, you can put the following in your refuse
file:
ports/chinese
ports/german
ports/japanese
ports/korean
ports/russian
ports/vietnamese
doc/es_ES.ISO8859-1
doc/ja_JP.eucJP

and so forth for the other languages. Note that the name of the repository is the first ``directory'' in the refuse file.
----------------

ik hoop dat het werkt ik heb het zelf nog nooit geprobeerd

succes

  • RooT
  • Registratie: April 2001
  • Laatst online: 05-05 13:55
Hij download waarschijnlijk niet heel X, maar bepaalde lib's voor X.
Je moet dan gewoon de betreffende ports downloaden, de README of de INSTALL lezen. Daar staat meestal in hoe je 'm moet configuren zonder X lib's e.d. :)

  • serkoon
  • Registratie: April 2000
  • Niet online

serkoon

mekker.

-DWITHOUT_X11 is doorgaans de param die je aan make mee moet geven (bijv. voor 'cvsup').

Kijk eens of je zoiets standaard mee kunt geven dmv /etc/make.conf? (kijk dus in /etc/default/make.conf)