FreeBSD Kurulum Klavuzu : Ports Kolleksiyonları
Önceki:  Distribution Set'lerin Kurulumu
Sonraki: Kurulum Aygıtının Seçilmesi 

8.2 Ports Kolleksiyonarı

Evet şimdi geldik Port'ların kurulumuna ama önce sizlere Port ne demek açıklamak isterim.Linux'ten FreeBSD'ye geçen birisinin anlamakta zorluk çekeceği bir konu bu.Bu sıkıntıyı ben yaşadım sizlerin yaşamasını istemem.Normalde Linux'te sisteme bir paketi kaynak kodundan kurmak istediğimizde onu freshmeat'te (ahh reklam oldu ) aratmamız ve sitesine girdikten sonra direk hddmize indirmemiz yeterli olurdu.Sonra klasik yöntemlerle 

tar -zxvf    Ben-Minik-Bir-Sourceum.tgz
cd             Ben-Minik-Bir-Sourceum
./configure 
make 
make install 

yapardık ama maalesef FreeBSD'de bu böyle değil.Aslında bu FreeBSD'nin suçu değil.Programları yazanların source'larını linux'e göre optimize etmelerinden kaynaklanıyor.İşte port'lar da burada devreye giriyor.Ports kolleksiyonu yaklaşık 11 mb buyuklüğünde içinde 4500~ programın FreeBSD'de çalışması için gerekli olan pathcleri ve indirelen sourcelara bu patch'lerin yamanmasını sağlayan Makefile'lardan ibarettir.Bütün BSD'lerde bu ports sistemi mevcuttur.Bu ports distibüsyonu sisteminize /usr/ports altında kurulur.Sizin yapmanız gereken tek şey ÖR:

cd /usr/src/shells/bash2
make 
make install 

demektir.Bu kadar basit.İleriki sayfalarda kurulacak olan PAKET 'ler( ne distribusyon ne de port değil ) bu patchlerin gerekli paketeri ile yamanması ve bir paket (bash2-03.tgz) haline getirilmesi sonucu oluşur.Port sistemi yada paket sistemi ile kurduğunuz yazılımlar sisteminizdeki /var/db/pkg altında özel dizinlerde kaydedilir.Böylece sisteminizden istediğiniz yazılımı rpm mantığında kaldırabilirsiniz.

Devam edelim .............

User Confirmation Requested
Would you like to install the FreeBSD ports collection?

This will give you ready access to over 4000 ported software packages, at a cost of around 70MB of disk space when "clean" and possibly much more than that if a lot of the distribution tarballs are loaded (unless you have the extra CDs from a FreeBSD CDROM distribution available and can mount it on /cdrom, in which case this is far less of a problem).

The ports collection is a very valuable resource and well worth having on your /usr partition, so it is advisable to say Yes to this option.

For more information on the ports collection & the latest ports, visit:
    http://www.freebsd.org/ports 


 [ Yes ] 
  No
 

Kurulum programı hdd'nizde yeterli yerin olup olmadığına bakmaz.İsterseniz bu port distribusyonunu sonra kurabilirsiniz 

Kurulum programı daha sonra   Choose Distributions ekranına geri döner.

 "EXIT"  yön tuşları ile seçilerek  [ENTER] tuşuna basılır.
 
Choose Distributions
As a convenience, we provide several "canned" distribution sets. These select what we consider to be the most reasonable defaults for the type of system in question. If you would prefer to pick and choose the list of distributions yourself, simply select "Custom". You can also pick a canned distribution set and then fine-tune it with the Custom item.

Choose an item by pressing [SPACE]. When you are finished, choose the Exit item or press [ENTER].


<<< XExit              Exit this menu (returning to previous)
    All                All sources, binaries and X Window System)
    Reset              Reset selected distribution list to nothing
[ ] 4 Developer        Full sources, binaries and doc but no games
[ ] 5 X-Developer      Same as above + X Window system
[ ] 6 Kern-Developer   Full binaries and doc, kernel sources only
[ ] 7 X-Kern-Developer Full binaries and doc, kernel sources only
[ ] 8 User             Average user - binaries and doc only
[ ] 9 X-User           Same as above + X Window System
[ ] A Minimal          The smallest configuration possible
> > B Custom           Specify your own distribution set

 [ OK ] 
 
Cancel
[ Press F1 for Information on these options ]


 

FreeBSD Kurulum Klavuzu : Ports Kolleksiyonları
Önceki: Distribution Set'lerin Kurulumu
Sonraki: Kurulum Aygıtının Seçilmesi


enderunix.gif (12400 bytes)