<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://homeostasis.scs.carleton.ca/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Qliu1</id>
	<title>Soma-notes - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://homeostasis.scs.carleton.ca/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Qliu1"/>
	<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php/Special:Contributions/Qliu1"/>
	<updated>2026-06-02T20:30:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15958</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15958"/>
		<updated>2011-12-18T16:29:03Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Usage Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE. http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD has been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will be linked to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5. The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox and IE. It can create a new tab or new window to browse website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some other popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system and the software is for experiment, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and the installation worked. I checked the package information and it was installed successfully. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabetic order. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed itself automatically. Also, if you know the software name, you can just search the name in the search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. This kind of catalog is similar to Windows so that people can easy get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information from it. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has so many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefits of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good desktop system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15957</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15957"/>
		<updated>2011-12-18T16:26:23Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Basic Operation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE. http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD has been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will be linked to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5. The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox and IE. It can create a new tab or new window to browse website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some other popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system and the software is for experiment, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and the installation worked. I checked the package information and it was installed successfully. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabetic order. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed itself automatically. Also, if you know the software name, you can just search the name in the search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. This kind of catalog is similar to Windows so that people can easy get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has so many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefits of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good desktop system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15956</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15956"/>
		<updated>2011-12-18T16:19:21Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to install software from many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as shown in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After that it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. It satisfies PC-BSD&#039;s goal.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which provides desktop environment for PC-BSD.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system. It is UNIX shell, and PC-BSD is based on UNIX. So that&#039;s the reason why we need bash.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Then multi-threads is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the KDE graphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a user-space program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
  1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - This is Wacom input driver. It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings. It functions as a pointer input device. There is two function in scripts: do_start() to start service by /sbin/kldload and boot/modules/uwacom.ko, and do_stop() to stop service by /sbin/kldunload /boot/modules/uwacom.ko. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is completed after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is completed when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15955</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15955"/>
		<updated>2011-12-18T16:16:13Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to install software from many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as shown in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After that it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. It satisfies PC-BSD&#039;s goal.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which provides desktop environment for PC-BSD.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system. It is UNIX shell, and PC-BSD is based on UNIX. So that&#039;s the reason why we need bash.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Then multi-threads is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the KDE graphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a user-space program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
  1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - This is Wacom input driver. It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings. It functions as a pointer input device. There is two function in scripts: do_start() to start service by /sbin/kldload and boot/modules/uwacom.ko, and do_stop() to stop service by /sbin/kldunload /boot/modules/uwacom.ko. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15954</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15954"/>
		<updated>2011-12-18T16:15:48Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Major package versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to install software from many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as shown in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After that it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. It satisfies PC-BSD&#039;s goal.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which provides desktop environment for PC-BSD.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system. It is UNIX shell, and PC-BSD is based on UNIX. So that&#039;s the reason why we need bash.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Then multi-threads is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the KDE graphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a user-space program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
  1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - This is Wacom input driver. It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings. It functions as a pointer input device. There is two function in scripts: do_start() to start service by /sbin/kldload and boot/modules/uwacom.ko, and do_stop() to stop service by /sbin/kldunload /boot/modules/uwacom.ko. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15952</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15952"/>
		<updated>2011-12-18T16:04:53Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Software Management */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to install software from many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as shown in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After that it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a user-space program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
  1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - This is Wacom input driver. It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings. It functions as a pointer input device. There is two function in scripts: do_start() to start service by /sbin/kldload and boot/modules/uwacom.ko, and do_stop() to stop service by /sbin/kldunload /boot/modules/uwacom.ko. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15951</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15951"/>
		<updated>2011-12-18T16:03:11Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Software Catelog */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to install software from many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as shown in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a user-space program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
  1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - This is Wacom input driver. It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings. It functions as a pointer input device. There is two function in scripts: do_start() to start service by /sbin/kldload and boot/modules/uwacom.ko, and do_stop() to stop service by /sbin/kldunload /boot/modules/uwacom.ko. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15950</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15950"/>
		<updated>2011-12-18T16:00:28Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Software Packaging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to install software from many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a user-space program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
  1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - This is Wacom input driver. It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings. It functions as a pointer input device. There is two function in scripts: do_start() to start service by /sbin/kldload and boot/modules/uwacom.ko, and do_stop() to stop service by /sbin/kldunload /boot/modules/uwacom.ko. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15805</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15805"/>
		<updated>2011-12-17T07:02:08Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Major package versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a user-space program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
  1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - This is Wacom input driver. It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings. It functions as a pointer input device. There is two function in scripts: do_start() to start service by /sbin/kldload and boot/modules/uwacom.ko, and do_stop() to stop service by /sbin/kldunload /boot/modules/uwacom.ko. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15802</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15802"/>
		<updated>2011-12-17T06:50:11Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a user-space program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
  1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
  3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - This is Wacom input driver. It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings. It functions as a pointer input device. There is two function in scripts: do_start() to start service by /sbin/kldload and boot/modules/uwacom.ko, and do_stop() to stop service by /sbin/kldunload /boot/modules/uwacom.ko. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15801</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15801"/>
		<updated>2011-12-17T06:49:31Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a user-space program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - This is Wacom input driver. It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings. It functions as a pointer input device. There is two function in scripts: do_start() to start service by /sbin/kldload and boot/modules/uwacom.ko, and do_stop() to stop service by /sbin/kldunload /boot/modules/uwacom.ko. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15796</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15796"/>
		<updated>2011-12-17T06:33:20Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - Open Sound System (OSS) is the first attempt in unifying the digital audio architecture for UNIX. It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. It is started by function oss_start() and stopped by function oss_stop(). The two function will call system calls: /usr/local/sbin/soundon and /usr/local/sbin/soundoff.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - Netatalk is a freely-available open source AFP fileserver. It also provides a kernel level implementation of the AppleTalk Protocol Suite. It makes *NIX/BSD system to be capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP), AppleTalk router, *NIX/*BSD print server, and for accessing AppleTalk printers via Printer Access Protocol (PAP). In the script, netatalk will start with netatalk_start() and stop with netatalk_stop(). It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1) atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables Macintosh computers to access printers which are connected to UNIX server &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - a file server that implements the Apple Filing Protocol, allowing clients running MacOS to access Unix file servers.&amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card. It starts with snddetect_start(), which call /usr/PCBSD/soundDetect/sound_detect, and stops with snddetect_stop().&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15795</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15795"/>
		<updated>2011-12-17T06:07:07Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scripts provide information about how to start service or disable service. Most of services can be disabled or disabled by adding some codes to /etc/rc.conf. For example, in the following programs, fusefs shows how to disable its service.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  pcbsdinit runs after DAEMON. It starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - gpsd is an interface daemon for GPS receivers. It runs after networking DAEMON, cleanvar, and devfs. It also runs before ntpd. It collects information from GPSes, differential-GPS radios, or AIS receivers attached to the host machine. Each GPS, DGPS radio or AIS receiver is expected to be direct-connected to the host via sub or R232C serial device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Various systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - It is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15794</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15794"/>
		<updated>2011-12-17T05:48:40Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file. &amp;lt;ref&amp;gt;FFserver man page. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  It runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - It runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - It is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15793</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15793"/>
		<updated>2011-12-17T05:48:10Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file. &amp;lt;ref&amp;gt;FFserver man page. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
&lt;br /&gt;
  fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
  fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  It runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - It runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - It is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15792</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15792"/>
		<updated>2011-12-17T05:47:33Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are in /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file. &amp;lt;ref&amp;gt;FFserver man page. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse. This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem. To disable the fusefs service, add the following line to /etc/rc.conf :&lt;br /&gt;
&lt;br /&gt;
   fusefs_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
   fusefs_safe=&amp;quot;NO&amp;quot;&lt;br /&gt;
   fusefs_safe_evil=&amp;quot;NO&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  It runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - It runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - It is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15785</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15785"/>
		<updated>2011-12-17T04:38:59Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file. &amp;lt;ref&amp;gt;Initilization Manual page in PC-BSD. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after sysctl and before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. To enable or disable fusefs, add the following line to /etc/rc.conf.local, fusefs_enable (bool) : set to NO to disable or set to YES to enable fusefs. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse.  This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  It runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - It runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - It is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15781</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15781"/>
		<updated>2011-12-17T04:26:39Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It runs before NETWORKING service. FFserver is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, unless it is launched in debug mode or a NoDaemon option is specified in the configuration file. &amp;lt;ref&amp;gt;Initilization Manual page in PC-BSD. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after syscall and before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. To enable or disable fusefs, add the following line to /etc/rc.conf.local, fusefs_enable (bool) : Set to NO to disable or set to YES to enable fusefs. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse.  This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Pcbsdinit&#039;&#039;&#039; -  It runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - It runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Oss&#039;&#039;&#039; - It runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;Netatalk&#039;&#039;&#039; - It is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Snddetect&#039;&#039;&#039; - It runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Wacom&#039;&#039;&#039; - It runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15774</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15774"/>
		<updated>2011-12-17T03:55:03Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It is a streaming server for both audio and video which supports several live feeds. It is streaming from files and time shifting on live feeds. FFserver runs in daemon mode by default, which means it puts itself in the background and detaches from its TTY, except it is launched in debug mode. It is Initialized thus - ffserver [options].&lt;br /&gt;
To configure, type the command ffserver ./configure and to disable, type the command ffserver ./n. This enables the no launch mode of the ffserver &amp;lt;ref&amp;gt;Initilization Manual page in PC-BSD. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after syscall but before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. To enable or disable fusefs, add the following line to /etc/rc.conf.local, fusefs_enable (bool) : Set to NO to disable or set to YES to enable fusefs. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse.  This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Pcbsdinit&#039;&#039;&#039; -  runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gpsd&#039;&#039;&#039; - runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Oss&#039;&#039;&#039; - Runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;Netatalk&#039;&#039;&#039; - Netatalk is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Snddetect&#039;&#039;&#039; - Runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Wacom&#039;&#039;&#039; - Runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15763</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15763"/>
		<updated>2011-12-17T03:28:53Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It is a streaming server for both audio and video which supports several live feeds, from files and time shifting on live feed. FFserver runs in daemon mode by default, meaning it outs itself in the background and detaches from its TTY, except launched in debug mode. It is Initialized thus - ffserver [options].&lt;br /&gt;
To configure, type the command ffserver ./configure and to disable, type the command ffserver ./n. This enables the no launch mode of the ffserver &amp;lt;ref&amp;gt;Initilization Manual page in PC-BSD. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after syscall but before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. To enable or disable fusefs, add the following line to /etc/rc.conf.local, fusefs_enable (bool) : Set to NO to disable or set to YES to enable fusefs. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse.  This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Pcbsdinit&#039;&#039;&#039; -  runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gpsd&#039;&#039;&#039; - runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Oss&#039;&#039;&#039; - Runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;Netatalk&#039;&#039;&#039; - Netatalk is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Snddetect&#039;&#039;&#039; - Runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Wacom&#039;&#039;&#039; - Runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15762</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15762"/>
		<updated>2011-12-17T03:25:06Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Part II */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports. http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information. http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586. http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News. http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It is a streaming server for both audio and video which supports several live feeds, from files and time shifting on live feed. FFserver runs in daemon mode by default, meaning it outs itself in the background and detaches from its TTY, except launched in debug mode. It is Initialized thus - ffserver [options].&lt;br /&gt;
To configure, type the command ffserver ./configure and to disable, type the command ffserver ./n. This enables the no launch mode of the ffserver &amp;lt;ref&amp;gt;Initilization Manual page in PC-BSD. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after syscall but before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. To enable or disable fusefs, add the following line to /etc/rc.conf.local, fusefs_enable (bool) : Set to NO to disable or set to YES to enable fusefs. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse.  This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Pcbsdinit&#039;&#039;&#039; -  runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gpsd&#039;&#039;&#039; - runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Oss&#039;&#039;&#039; - Runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;Netatalk&#039;&#039;&#039; - Netatalk is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html &amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Snddetect&#039;&#039;&#039; - Runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Wacom&#039;&#039;&#039; - Runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15761</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15761"/>
		<updated>2011-12-17T03:22:49Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Software Packaging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011.&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It is a streaming server for both audio and video which supports several live feeds, from files and time shifting on live feed. FFserver runs in daemon mode by default, meaning it outs itself in the background and detaches from its TTY, except launched in debug mode. It is Initialized thus - ffserver [options].&lt;br /&gt;
To configure, type the command ffserver ./configure and to disable, type the command ffserver ./n. This enables the no launch mode of the ffserver &amp;lt;ref&amp;gt;Initilization Manual page in PC-BSD. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after syscall but before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. To enable or disable fusefs, add the following line to /etc/rc.conf.local, fusefs_enable (bool) : Set to NO to disable or set to YES to enable fusefs. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse.  This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Pcbsdinit&#039;&#039;&#039; -  runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gpsd&#039;&#039;&#039; - runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Oss&#039;&#039;&#039; - Runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;Netatalk&#039;&#039;&#039; - Netatalk is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html &amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Snddetect&#039;&#039;&#039; - Runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Wacom&#039;&#039;&#039; - Runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15760</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15760"/>
		<updated>2011-12-17T03:22:01Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Major package versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2. http://rpm.org/wiki/Releases/4.9.1.2 release. Retrieved Dec 7, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It is a streaming server for both audio and video which supports several live feeds, from files and time shifting on live feed. FFserver runs in daemon mode by default, meaning it outs itself in the background and detaches from its TTY, except launched in debug mode. It is Initialized thus - ffserver [options].&lt;br /&gt;
To configure, type the command ffserver ./configure and to disable, type the command ffserver ./n. This enables the no launch mode of the ffserver &amp;lt;ref&amp;gt;Initilization Manual page in PC-BSD. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after syscall but before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. To enable or disable fusefs, add the following line to /etc/rc.conf.local, fusefs_enable (bool) : Set to NO to disable or set to YES to enable fusefs. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse.  This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Pcbsdinit&#039;&#039;&#039; -  runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gpsd&#039;&#039;&#039; - runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Oss&#039;&#039;&#039; - Runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;Netatalk&#039;&#039;&#039; - Netatalk is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html &amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Snddetect&#039;&#039;&#039; - Runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Wacom&#039;&#039;&#039; - Runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15758</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15758"/>
		<updated>2011-12-17T03:19:21Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses a wide variety of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot; to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look back and forth in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Packages can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Packages can be deleted by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized in alphabetical order of package categories as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for a desktop user, and is equipped with a utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages. In this utility, only the packages installed after system installations will be displayed, as in the following picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give the user a simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also very useful in finding desired software and installing them effortlessly, by clicking a specific link. Removing a package is also a simple mouse-click operation. There is also a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following the user&#039;s decision, the software can be downloaded by clicking the download link. After which it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under the &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many possible selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
The fact that there is a vast majority of packages to choose from is a great advantage. A part of the catalog information can be seen in the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through the Internet. Here are version numbers, release dates, and upstream sources of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use while FreeBSD is for server use. They are generally similar but some differences still exist. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just used the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that are in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters such as: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again Shell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD strives to give users a better experience in desktop environments like Windows or Mac OS. Also, multi-thread is required.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system needs to manage Linux packages. It is consistent with its goal to be compatible with Linux. The reason why the version is far behind the latest version is that it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Majority of Unix/Linux distributions make use of this, such as PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interactions with these operating systems in a modern, graphical user interface. PC-BSD requires quality GUI and Utilities to ensure users have a pleasant desktop experience, therefore, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy way to use image viewer/browser for KDE. PC-BSD uses KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD wants to provide service for daily users. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When we check the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  It is a streaming server for both audio and video which supports several live feeds, from files and time shifting on live feed. FFserver runs in daemon mode by default, meaning it outs itself in the background and detaches from its TTY, except launched in debug mode. It is Initialized thus - ffserver [options].&lt;br /&gt;
To configure, type the command ffserver ./configure and to disable, type the command ffserver ./n. This enables the no launch mode of the ffserver &amp;lt;ref&amp;gt;Initilization Manual page in PC-BSD. http://linux.die.net/man/1/ffserver Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - It runs after syscall but before mountlate. It is used to implement a fully functional filesystem in a userspace program, with its API library as the key feature. To enable or disable fusefs, add the following line to /etc/rc.conf.local, fusefs_enable (bool) : Set to NO to disable or set to YES to enable fusefs. The filesystem works when the fuse kernel module and the fuse library communicate through a special file descriptor which is obtained by opening /dev/fuse.  This file can be opened multiple times, and the obtained file descriptor is passed to the mount syscall, to match up the descriptor with the mounted filesystem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Pcbsdinit&#039;&#039;&#039; -  runs after DAEMON and it starts the system scripts. It is the last stage of the boot process which usually runs in automatic reboot sequence. It is a really important part of the boot operation such that if it dies, the system will reboot itself automatically&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gpsd&#039;&#039;&#039; - runs after networking DAEMON, cleanvar, devfs and before ntpd, and it is an interface daemon for GPS receivers. It collects information from gpses, differential -GPS radios or AIS receivers attached to the host machine. Each GPS should be connected to the host via sub or R232C serial device so that in order to disable, one would just take out the device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Oss&#039;&#039;&#039; - Runs after DAEMON, and it handles the sound system. It is the open sound system which provides support for PCM audio play and capture. Varoius systcall variables are stored in /etc/systcl.conf so it is automatically set during the boot process.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;Netatalk&#039;&#039;&#039; - Netatalk is a freely-availabe open source AFP fileserver package thats helps deal with the Appletalk protocol suite and its relatives. It can perform file and print sharing for macintosh. It comes with small utilities that help ease dealing with macintosh files from unix. To start netatalk from boot time, add these lines&amp;lt;ref&amp;gt;Initilization Netatalk in PC-BSD. http://openports.se/net/netatalk Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;./etc/rc.local:&lt;br /&gt;
&lt;br /&gt;
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then&lt;br /&gt;
. ${SYSCONFDIR}/netatalk/rc.atalk&lt;br /&gt;
fi&lt;br /&gt;
 It runs after DAEMON, and it implements the following major utilities while on booting :&lt;br /&gt;
   1)atalkd - an implementation of the AppleTalk protocol &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html &amp;lt;/ref&amp;gt;.&lt;br /&gt;
   2) papd - a print server that enables macintosh computers to access printers that are connected to unix servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
   3) afpd - File server that implements the Apple filing protocol, which allows clients the run MasOs to access unix file servers &amp;lt;ref&amp;gt;Netatalk functions in PC-BSD. http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html Retrieved Dec 15, 2011.&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other less important utilities it implements are  cnid_metad, timelord .&lt;br /&gt;
It is an appletalk daemon whose data structures must have time to stabilize before running the other processes. One must also make sure that atalkd has not started in the background before it starts running. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Snddetect&#039;&#039;&#039; - Runs after DAEMON, and detects sound. It first removes sound flag then detects an unknown sound card.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Wacom&#039;&#039;&#039; - Runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or removes the configuration settings. It is an input device driver for wacom devices, and it functions as a pointer input device. It is useful to define multiple devices with diferent active zones. Various entries are supported by wacom, but the most important entry or the most general entry is the OPtion &amp;quot;Type&amp;quot; entry. This entry sets the type of tool the device represents, which could be stylus, eraser, cursor, pad or touch. Note that the tool can represent more than one device. There are other options that come with wacom for pcbsd such as &amp;quot;device&amp;quot;, &amp;quot;forceDrive&amp;quot;, &amp;quot;suppress&amp;quot; etc, depending on what tool we are looking at.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The initialization of PC-BSD is complete after all the thirty two shell scripts from /etc/rc.d have been initialized. The /etc/rc script describes how system startup scripts run by init. There is a loop which reads through and runs all the startup scripts. Initialization is complete when the loop is over. Then all the processes start running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15570</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15570"/>
		<updated>2011-12-09T20:15:00Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE. http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD has been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will be linked to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5. The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox and IE. It can create a new tab or new window to browse website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some other popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system and the software is for experiment, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and the installation worked. I checked the package information and it was installed successfully. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabet. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed it automatically. Also, if you know the software name, you can just search the name in the Search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. This kind of catalog is similar to Windows so that people can easy get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has so many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefits of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good desktop system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15569</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15569"/>
		<updated>2011-12-09T20:14:09Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE. http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD has been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will be linked to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5. The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox and IE. It can create a new tab or new window to browse website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some other popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system and the software is for experiment, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and the installation worked. I checked the package information and it was installed successfully. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabet. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed it automatically. Also, if you know the software name, you can just search the name in the Search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. This kind of catalog is similar to Windows so that people can easy get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has so many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefits of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good desktop system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15568</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15568"/>
		<updated>2011-12-09T20:12:10Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop environment like Windows or Mac OS, and multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. PC-BSD need nice GUI and Utilities to provide user a good desktop experience, so KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provide service for daily uses. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, and it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON runs and it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking DAEMON, cleanvar, devfs runs and runs before ntpd, and it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - runs after DAEMON, and it handles the sound system.&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after DAEMON, and it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after DAEMON, and it provides sound detect. It first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15567</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15567"/>
		<updated>2011-12-09T20:11:10Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop environment like Windows or Mac OS, and multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. PC-BSD need nice GUI and Utilities to provide user a good desktop experience, so KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provide service for daily uses. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, and it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON runs and it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, and it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - runs after deamon, and it handles the sound system.&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, and it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, and it provides sound detect. It first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, and it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15566</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15566"/>
		<updated>2011-12-09T17:50:56Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Major package versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, so it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop environment like Windows or Mac OS, and multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. PC-BSD need nice GUI and Utilities to provide user a good desktop experience, so KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provide service for daily uses. Multimedia offers us music and movie needs so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15562</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15562"/>
		<updated>2011-12-09T17:45:31Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Software Packaging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15561</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15561"/>
		<updated>2011-12-09T17:45:07Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Basic Operation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD has been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will be linked to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5. The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox and IE. It can create a new tab or new window to browse website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some other popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system and the software is for experiment, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and the installation worked. I checked the package information and it was installed successfully. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabet. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed it automatically. Also, if you know the software name, you can just search the name in the Search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. This kind of catalog is similar to Windows so that people can easy get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has so many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefits of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good desktop system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15560</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15560"/>
		<updated>2011-12-09T17:44:34Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Software Packaging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
&#039;&#039;&#039; Package Format and Utilities &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15559</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15559"/>
		<updated>2011-12-09T17:43:57Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15558</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15558"/>
		<updated>2011-12-09T17:43:36Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
 &lt;br /&gt;
# &#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
########&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15557</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15557"/>
		<updated>2011-12-09T17:40:46Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
##&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
###&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
####&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
#####&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
######&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
#######&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
########&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15556</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15556"/>
		<updated>2011-12-09T17:40:03Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15555</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15555"/>
		<updated>2011-12-09T17:39:47Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15554</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15554"/>
		<updated>2011-12-09T17:39:23Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15553</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15553"/>
		<updated>2011-12-09T17:39:08Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Initialization&#039;&#039;&#039;&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Programs&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;End of Initialization&#039;&#039;&#039;&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15552</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15552"/>
		<updated>2011-12-09T17:37:18Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Initialization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. Here are some major program that runs during initialization: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
In the end, the initialization of PC-BSD is done after all the shell scripts from /etc/rc.d have been read and run. The /etc/rc script describes how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop is done. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15546</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15546"/>
		<updated>2011-12-09T17:34:23Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Major package versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. Therefore the major modification is the kernel. The difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. Here are some major program that runs during initialization: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
In the end, after all the shell scripts from /etc/rc.d have been read and run. This information is shown in the /etc/rc, which describe how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15545</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15545"/>
		<updated>2011-12-09T17:32:03Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Software Management */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD aims to give user simple experience of installing or removing packages, like software management in Windows or Mac OS. Software Manager is also a very useful utility to find desired software and install them by clicking a specific link. Remove a package is also a simple mouse-click operation. There is a software browser inside the Software Manager and a search engine for package searching and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package you want to remove, and click &amp;quot;remove&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Manager. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There are many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. So the major modification is the kernel. More difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. Here are some major program that runs during initialization: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
In the end, after all the shell scripts from /etc/rc.d have been read and run. This information is shown in the /etc/rc, which describe how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15544</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15544"/>
		<updated>2011-12-09T17:24:10Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Software Management */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD is aim to give user simple install/remove package experience, like Windows or Mac OS. Software Management is also a very useful utility to find desired software and install them by clicking the link. Remove is also a simply mouse click operation. There is a website browser in the Software Management and search engine for keyword search and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package needed to remove, and click remove.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Management. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There is too many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. So the major modification is the kernel. More difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. Here are some major program that runs during initialization: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
In the end, after all the shell scripts from /etc/rc.d have been read and run. This information is shown in the /etc/rc, which describe how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15543</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15543"/>
		<updated>2011-12-09T17:05:56Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Add and Remove Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; is for installing packages, and &amp;quot;pkg_delete&amp;quot; is for removing packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT to specify an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many Graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD is aim to give user simple install/remove package experience, like Windows or Mac OS. Software Management is also a very useful utility to find desired software and install them by clicking the link. Remove is also a simply mouse click operation. There is a website browser in the Software Management and search engine for keyword search and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package needed to remove, and click remove.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Management. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There is too many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. So the major modification is the kernel. More difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. Here are some major program that runs during initialization: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
In the end, after all the shell scripts from /etc/rc.d have been read and run. This information is shown in the /etc/rc, which describe how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15542</id>
		<title>COMP 3000 2011 Report II:PC-BSD</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report_II:PC-BSD&amp;diff=15542"/>
		<updated>2011-12-09T17:02:55Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Package Format and Utilities */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part II =&lt;br /&gt;
&lt;br /&gt;
== Software Packaging ==&lt;br /&gt;
=== Package Format and Utilities ===&lt;br /&gt;
PC-BSD&#039;s package management system takes a different approach to installing software than many other Unix-like operating systems. Instead of using the FreeBSD ports&amp;lt;ref&amp;gt;FreeBSD ports http://en.wikipedia.org/wiki/FreeBSD_ports Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt; tree directly, PC-BSD uses files with the .pbi&amp;lt;ref&amp;gt;PBI Package Management. http://www.pcbsd.org/about/pc-bsd-project/package-management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; file-name extension which, when double-clicked, bring up an installation wizard program. PBI (PC-BSD Installer or Push-Button Installer) is Binary Packaging format. This distribution uses lots of graphic utilities&amp;lt;ref&amp;gt;PC-BSD Utilities. http://www.pcbsd.org/about/pc-bsd-project/utilities Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; to supply a front-end to useful FreeBSD features, such as Software Management Utility, Virtual Environment Utility, Backup Utility, Ports Jails Utility and so on. In the distribution, the package management relies on pkg tool, which is also used in FreeBSD, and Software Manager.&lt;br /&gt;
&lt;br /&gt;
=== List Installed Packages ===&lt;br /&gt;
In command line, it will use &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | less&amp;quot;to get a list of installed packages. The first command will print the whole list of packages at once, while the second one will print the first page of the package list and you can use keyboard to look forward or backward in the list.&lt;br /&gt;
&lt;br /&gt;
=== Add and Remove Packages ===&lt;br /&gt;
&amp;quot;pkg_add&amp;quot; to add packages, and &amp;quot;pkg_delete&amp;quot; to remove packages. In PC-BSD 9.0, it will use PBI manager&amp;lt;ref&amp;gt;PBI Manager. http://wiki.pcbsd.org/index.php/PBI_Manager Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt;, which will use &amp;quot;pbi_info&amp;quot;, &amp;quot;pbi_add&amp;quot;, &amp;quot;pbi_delete&amp;quot; instead. Package can be added by using &amp;quot;pkg_add -r -v {pacakge-name}&amp;quot; or &amp;quot;pbi_add -r PBINAME&amp;quot;:&lt;br /&gt;
  # pkg_add -v -r vim      or   # pbi_add -r alpine&lt;br /&gt;
We can also set the environment variable PACKAGEROOT specifies an alternate location for pkg_add to fetch from:&lt;br /&gt;
  # export PACKAGEROOT=ftp://ftp3.FreeBSD.org&lt;br /&gt;
  # pkg_add -v -r vim &lt;br /&gt;
&lt;br /&gt;
Package can be delete by using &amp;quot;pkg_delete {package-name}&amp;quot; or &amp;quot;pbi_delete {package-name}&amp;quot;. Package name and version can be found by &amp;quot;pkg_info&amp;quot; or &amp;quot;pbi_info&amp;quot;:&lt;br /&gt;
  # pkg_info | grep ntop          or    # pbi_info | grep ntop&lt;br /&gt;
  # ntop-4.0.1_1-i386                   # ntop-4.0.1_1-i386   &lt;br /&gt;
  # pkg_delete ntop-4.0.1_1-i386        # pbi_delete ntop-4.0.1_1-i386&lt;br /&gt;
&lt;br /&gt;
=== Software Catelog ===&lt;br /&gt;
The PC-BSD repository&amp;lt;ref&amp;gt;Package Management in PC-BSD. http://en.wikipedia.org/wiki/PC-BSD#Package_management Retrieved Nov 16, 2011&amp;lt;/ref&amp;gt; is http://www.pbidir.com/. The software catalog is organized by alphabet of package categories like the following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:software_catalog.png|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Software Management ===&lt;br /&gt;
PC-BSD offers many Graphic tools for desktop user, and there is utility called Software Management (in PC-BSD version 8.2), which can get a list of installed packages, only the packages installed after system installations will be displayed, like this picture:&lt;br /&gt;
&lt;br /&gt;
[[File:software_management.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PC-BSD is aim to give user simple install/remove package experience, like Windows or Mac OS. Software Management is also a very useful utility to find desired software and install them by clicking the link. Remove is also a simply mouse click operation. There is a website browser in the Software Management and search engine for keyword search and different catalogs for selections.&lt;br /&gt;
&lt;br /&gt;
[[File:software_browser.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After made decision, it can downloaded the software by clicking the download link. And it will automatically download and install the packages/software.&lt;br /&gt;
&lt;br /&gt;
[[File:install_software.png|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a remove button under &amp;quot;Installed Software&amp;quot; menu. Simply choose the package needed to remove, and click remove.&lt;br /&gt;
&lt;br /&gt;
The software catalog for this distribution can be found in the Software Browser of Software Management. There are many selections: Archives, Astronomy, Audio, Benchmarks, Biology, CAD, Communications, Databases, Desktop Utilities, Development, E-Mail, Editors, Educational, Emulators, File Transfer &amp;amp; Utilities, Finance, Games, Graphics, IRC, Japanese, Java, Languages, Math, Miscellaneous, Multimedia, Network-IM, Network-Management, Network-P2P, Network-Utilities, News, Non-Port, Polish, Ports-Management, Print, Science, Security, Shells, System Utilities, Text Processing, The Warden-Inmates, Web, X11, X11-File Managers and X11-Window Managers.&lt;br /&gt;
&lt;br /&gt;
There is too many packages to choose, part of catalog information can be seen from the previous picture.&lt;br /&gt;
&lt;br /&gt;
== Major package versions ==&lt;br /&gt;
&lt;br /&gt;
The package version information can be found by using command &amp;quot;pkg_info&amp;quot; or &amp;quot;pkg_info | grep {package_name}&amp;quot;. More information about the specific package version could be found through Internet. Here are version numbers, release date, and upstream source of various major packages in PC-BSD:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Version&lt;br /&gt;
! Latest Official Release&lt;br /&gt;
! Official Source&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| 8.2-RELEASE Feb 24, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Information. http://en.wikipedia.org/wiki/FreeBSD Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 9.0-RELEASE Sep, 2011 &amp;lt;ref&amp;gt;FreeBSD Release Engineering Information http://www.freebsd.org/releng/ Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.freebsd.org/where.html&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| 7.5 Oct 26, 2009 &amp;lt;ref&amp;gt;X.org 7.5 release notes. http://www.x.org/wiki/Releases/7.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 7.6 Dec 20, 2010 &amp;lt;ref&amp;gt;X.org 7.6 release notes. http://www.x.org/wiki/Releases/7.6 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.x.org/wiki/&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| 4.7.1 Nov 9, 2010 &amp;lt;ref&amp;gt;Qt 4.7.1 release notes. http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.4 Sep 1, 2011 &amp;lt;ref&amp;gt;Qt 4.7.4 release notes. http://labs.qt.nokia.com/2011/09/01/qt-4-7-4-released/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://qt.nokia.com/&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| 2.22.1, Nov 15, 2010 &amp;lt;ref&amp;gt;GTK+ 2.22.1 overview. http://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.24.8, Nov 10, 2011 &amp;lt;ref&amp;gt;GTK+ 2.24.8 overview. http://mail.gnome.org/archives/gtk-devel-list/2011-November/msg00026.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnome.org/pub/gnome/sources/gtk+/&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| 4.1.9 March, 2010 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.1.9. ftp://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-009 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.2.10 April, 2011 &amp;lt;ref&amp;gt;BASH PATH REPORT 4.2.10. ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/bash42-010 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://ftp.gnu.org/gnu/bash/&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| 2.0.7 Jun 8, 2006 &amp;lt;ref&amp;gt;GNU Portable Thread. http://www.gnu.org/s/pth/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| current is the latest &lt;br /&gt;
| http://www.gnu.org/s/pth/&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| 3.0.6 15 Sep 15, 2000 &amp;lt;ref&amp;gt;RPM 3.0.6 release. http://www.redhat.com/archives/rpm-list/2000-September/msg00101.html Retrieved Dec 7, 2000&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.9.1.2 Sep 29, 2011 &amp;lt;ref&amp;gt;RPM 4.9.1.2 release. &amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.rpm.org/&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| 1.8.7 June 1, 2008 &lt;br /&gt;
| 1.9.3 Oct 30, 2011 &amp;lt;ref&amp;gt;Ruby News. http://www.ruby-lang.org/en/feeds/news.rss Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://www.ruby-lang.org/en/news/2008/05/31/ruby-1-8-7-has-been-released/&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| 4.5.5 Jan 4, 2011 &amp;lt;ref&amp;gt;KDE 4.5 Release Schedule. http://techbase.kde.org/Schedules/KDE4/4.5_Release_Schedule#January_4th.2C_2011:_Release_KDE_SC_4.5.5 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3 Nov, 2011 &amp;lt;ref&amp;gt;KDE Release News. http://www.kubuntu.org/news/by-date/201111 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://kde.org/info/4.5.5.php&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| 1.2.92 Aug 21, 2005 &amp;lt;ref&amp;gt;gwenview-1.2.92-0.1.101mdk RPM for i586 http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 4.7.3, Oct 28, 2011 &amp;lt;ref&amp;gt;Gwenview Release list. ftp://ftp.kde.org/pub/kde/stable/latest/src/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt; &lt;br /&gt;
| http://rpmfind.net/linux/RPM/sourceforge/g/project/gw/gwenview/gwenview/1.2.92/gwenview-1.2.92-0.1.101mdk.i586.html&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| 2.3.2 Sep 20, 2010 &amp;lt;ref&amp;gt;Amarok 2.3.2 Release News http://amarok.kde.org/en/releases/2.3.2 Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| 2.5 Nov 6, 2011 &amp;lt;ref&amp;gt;Amarok Home. http://amarok.kde.org/ Retrieved Dec 5, 2011&amp;lt;/ref&amp;gt;&lt;br /&gt;
| http://amarok.kde.org/en/releases/2.3.2&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Major Difference and Purpose&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PC-BSD is based on FreeBSD, but PC-BSD is for desktop use and FreeBSD is for server use. They are generally similar but there are still some differences. PC-BSD has added some utilities or kernel tweaks or GUI to make PC-BSD suitable for desktop use. For the KDE part, the author just use the one in FreeBSD, so there is no modification in the KDE packages. So the major modification is the kernel. More difference between PC-BSD and FreeBSD can be found [http://www.spreadbsd.org/?q=pcbsd here]. The purposes of the packages are shown below:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Package&lt;br /&gt;
! Purpose of Using This Package&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD Kernel&lt;br /&gt;
| FreeBSD is known widely for its stability and security in server environment, it can provide excellent base for PC-BSD. PC-BSD’s kernel has been recompiled with some configuration tweaks to make it better for desktop use. PC-BSD supports all the major package management systems that in FreeBSD but also has PBI package installer.&lt;br /&gt;
|-&lt;br /&gt;
| X.org&lt;br /&gt;
| Xorg supports several mechanisms for supplying/obtaining configuration and run-time parameters: command line options, environment variables, the xorg.conf configuration file, auto-detection, and fallback defaults. In PC-BSD, it completes distribution meta-port&lt;br /&gt;
|-&lt;br /&gt;
| Qt&lt;br /&gt;
| Qt SDK combines the Qt framework with tools designed to streamline the creation of applications for Symbian and Maemo, MeeGo (Nokia N9) as well as desktop platforms, such as Microsoft Windows, Mac OS X, and Linux. PC-BSD needs that platform.&lt;br /&gt;
|-&lt;br /&gt;
| GTK+&lt;br /&gt;
| Gimp toolkit for X11 GUI. It is a multi-platform toolkit for creating graphical user interfaces, which is PC-BSD&#039;s need.&lt;br /&gt;
|-&lt;br /&gt;
| bash&lt;br /&gt;
| The GNU Project&#039;s Bourne Again SHell. Bash is the shell, or command language interpreter, that will appear in the GNU operating system.&lt;br /&gt;
|-&lt;br /&gt;
| pth&lt;br /&gt;
| Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution inside event-driven applications. PC-BSD want to give user better experience in desktop like Windows or Mac OS, multi-thread is needed.&lt;br /&gt;
|-&lt;br /&gt;
| rpm&lt;br /&gt;
| It is the Red Hat Package Manager. There is rpm package in PC-BSD means the system need to manage Linux packages. It is consist with its goal to be compatible with Linux. The reason why the version is far behind with the latest version is it is enough for basic Linux package management.&lt;br /&gt;
|-&lt;br /&gt;
| ruby&lt;br /&gt;
| A dynamic, open source programming language with a focus on simplicity and productivity. Most Unix/Linux distribution will use that, so do PC-BSD. It has an elegant syntax that is natural to read and easy to write.&lt;br /&gt;
|-&lt;br /&gt;
| KDE(Konqueror web browser and KMail)&lt;br /&gt;
| KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. And PC-BSD need good GUI to offer nice experience for desktop user, KDE is a good choice.&lt;br /&gt;
|-&lt;br /&gt;
| Gwenview&lt;br /&gt;
| Gwenview is part of the kdegraphics module. Gwenview is a fast and easy to use image viewer/browser for KDE. PC-BSD use KDE for better user experience. Gwenview is inside KDE.&lt;br /&gt;
|-&lt;br /&gt;
| amarok&lt;br /&gt;
| Media Player for KDE4. PC-BSD want to provider service for daily uses, and for desktop user. Multimedia is needed so that a media player like amarok will be a necessary utility.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Initialization ==&lt;br /&gt;
&lt;br /&gt;
Because PC-BSD is based on FreeBSD, the initialization will be BSD-style[1]. The init runs the initialization shell script located in /etc/rc.d, then launches a windowing system such as X on graphical terminals under the control of /etc/ttys. There are no runlevels in PC-BSD. The script file, /etc/rc, determines what programs are run by init. The configuration is read from the master configuration file /etc/rc.conf. When checked the /etc/rc.conf file, we can find that the local startup scripts are on /usr/local/etc/rc.d and /Program/rc.d. Here are some major program that runs during initialization: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ffserver&#039;&#039;&#039; -  runs after the network service runs, it is a streaming server for both audio and video.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fusefs&#039;&#039;&#039; - runs after systctl runs and before mountlate is running.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pcbsdinit&#039;&#039;&#039; -  runs after DAEMON is running and  it starts the  system scripts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;gpsd&#039;&#039;&#039; - runs after networking deamon cleanvar devfs runs and runs before ntpd, it is an interface daemon for GPS receivers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;oss&#039;&#039;&#039; - also runs after deamon, it handles the sound system.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;netatalk&#039;&#039;&#039; - runs after daemon, it provides atalkd papd cnid_metad timelord afpd, &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;snddetect&#039;&#039;&#039; - runs after daemon, it provides sound detect, it first removes sound flag then detects if system has sound or not.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wacom&#039;&#039;&#039; - runs after filesystem, it offers setup and cleanup to configure Xorg for use of the driver or remove the configuration settings.&lt;br /&gt;
&lt;br /&gt;
In the end, after all the shell scripts from /etc/rc.d have been read and run. This information is shown in the /etc/rc, which describe how system startup scripts run by init. There is loop to read through and run all the startup scripts and the initialization is done with the loop. Then all the processes end up running on this fully initialized system.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15541</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15541"/>
		<updated>2011-12-09T16:53:14Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Usage Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD has been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will be linked to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5. The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox and IE. It can create a new tab or new window to browse website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some other popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system and the software is for experiment, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and the installation worked. I checked the package information and it was installed successfully. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabet. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed it automatically. Also, if you know the software name, you can just search the name in the Search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. This kind of catalog is similar to Windows so that people can easy get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has so many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefits of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good desktop system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15540</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15540"/>
		<updated>2011-12-09T16:48:35Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Usage Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD has been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will be linked to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5. The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox and IE. It can create a new tab or new window to browse website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some other popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system and the software is for experiment, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and the installation worked. I checked the package information and it was installed successfully. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabet. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed it automatically. Also, if you know the software name, you can just search the name in the Search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. This kind of catalog is similar to Windows so that people can easy get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does need, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefit of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15539</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15539"/>
		<updated>2011-12-09T16:46:58Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Usage Evaluation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD has been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will be linked to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5. The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox and IE. It can create a new tab or new window to browse website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some other popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system and the software is for experiment, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and the installation worked. I checked the package information and it was installed successfully. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabet. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed it automatically. Also, if you know the software name, you can just search the name in the Search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. The feature catalog is similar to Windows so that people can get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does need, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefit of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15538</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15538"/>
		<updated>2011-12-09T16:45:22Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Basic Operation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD has been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will be linked to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5. The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox and IE. It can create a new tab or new window to browse website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some other popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system and the software is for experiment, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and the installation worked. I checked the package information and it was installed successfully. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabet. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed it automatically. Also, if you know the software name, you can just search the name in the Search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows Environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. The feature catalog is similar to Windows so that people can get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does need, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefit of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15537</id>
		<title>COMP 3000 2011 Report: qliu</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=COMP_3000_2011_Report:_qliu&amp;diff=15537"/>
		<updated>2011-12-09T16:35:05Z</updated>

		<summary type="html">&lt;p&gt;Qliu1: /* Installation/Startup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Part I =&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD is desktop-oriented Unix distribution. The founder of PC-BSD, Kris Moore, with his team developed the 1st version of PC-BSD in early 2005. They are still trying to create a better PC-BSD now. Before PC-BSD project, easy-to-use Unix distribution came to success by widespread use, and Solaris had the largest market share in 2005&amp;lt;ref&amp;gt;PC-BSD Introduction. http://wiki.pcbsd.org/index.php/Introduction . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. The market did not emphasize developing Unix for desktop market and it focused on the sever. But in Linux market, there are Linux distributions for desktop, like Ubuntu and Debian &amp;lt;ref name=&amp;quot;Comparison of Linux Distribution&amp;quot;&amp;gt;Comparison of Linux Distribution.  http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions . Retrieved Dec 4, 2011&amp;lt;/ref&amp;gt;. Kris wanted to create a more user-friendly Unix for desktop user. This Operating System is little configuration necessary, full-featured, free-of-charge, open-source, based on FreeBSD and anybody, from the beginner to the advanced user, could use this OS easily.&lt;br /&gt;
&lt;br /&gt;
The distribution I used is PC-BSD HUBBLE, version 8.2, which could be downloaded from [http://www.pcbsd.org/get-it/download-pc-bsd| here]. There are 32-bit and 64-bit versions available. The latest release is PC-BSD ISOTOPE&amp;lt;ref&amp;gt;PC-BSD ISOTOPE http://www.pcbsd.org/get-it/download-pc-bsd-isotope Retrieved Dec 7, 2011&amp;lt;/ref&amp;gt;, version 9. The HUBBLE version is about 3.6GB. &lt;br /&gt;
&lt;br /&gt;
The PC-BSD is based on FreeBSD, which focuses on server use, with BSD license. PC-BSD pre-configures KDE desktop environment, and uses graphic installer and some other handy tools or pre-installed packages for better desktop experiences.&lt;br /&gt;
&lt;br /&gt;
== Installation/Startup ==&lt;br /&gt;
&lt;br /&gt;
Environment: Mac OX Lion as host and Parallels Desktop as virtual machine.&lt;br /&gt;
&lt;br /&gt;
1.Download &amp;quot;PCBSD8.2-x86-DVD.iso&amp;quot;. Create a new virtual machine with Parallels Desktop. Continue and choose &amp;quot;other Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:install_1.png |300px| Parallels Desktop loaded iso file]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When loading the image, there are several options for choosing to install the PC-BSD in different ways as shown in the picture below. I choose the &amp;quot;Boot installer [default]&amp;quot;, which will start the program with all the standard options enabled. More information about PC-BSD installation options can be found [http://wiki.pcbsd.org/index.php/Starting_the_PC-BSD_Installation here]. The whole installation does not require network access, and all it need is just installing pre-configured files from the ISO image.&lt;br /&gt;
&lt;br /&gt;
[[File:install_boot.png |300px| installation options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After few seconds, it will jump into a graphic configuration view. I can set up Language, Keyboard, System, Disk, Users, Time, Components, and Summary. After these configurations, it will start installation. This will take about 25-30 minutes. Its size is about 3.5GB, so the time is acceptable.&lt;br /&gt;
&lt;br /&gt;
[[File:install_2.png |300px| configuration setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After a long wait, the installation finished and the system rebooted virtual machine. After entering a username and password, and then the PC-BSD is ready to use.&lt;br /&gt;
&lt;br /&gt;
[[File:install_4.png |300px| installation finished and PC-BSD ready]]&lt;br /&gt;
&lt;br /&gt;
Problem: When I first installed this Linux, after finishing installation, the system cannot be rebooted and stopped with “SCSI controller is not installed”.&lt;br /&gt;
Solution: I changed the configuration in the virtual machine, change the disk place from IDE 0:0 to IDE 1:0. Re-install the system, and it worked. The real issue is unknown. But it is not the SCSI problem.&lt;br /&gt;
&lt;br /&gt;
There are no other issues influenced the installation. The UI of PC-BSD is friendly. It looks like other graphical system, such as Ubuntu Linux or Windows. PC-BSD has some system management tools, Konsole terminal, pre-installed applications and others software which can cut out command-based operations.&lt;br /&gt;
&lt;br /&gt;
== Basic Operation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD had been designed with &amp;quot;casual&amp;quot; computer user in mind. It uses the KDE desktop environment which will cover most of your daily computer needs. Also it provides many graphic tools to perform system administration tasks. After starting the system, the desktop will show four shortcut icons: PC-BSD Website and Online Wiki (they will link to specific website through Konqueror Web Browser), Ports Jail, and Software Manager. Here are some cases:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Web Browser: Konqueror&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Konqueror is a web browser, file manager, universal document viewer. It is using KDE Development Platform 4.5.5.&lt;br /&gt;
The Konqueror starts with Konqueror introduction page. The introduction can provide basic information, tips and tutorial of this web browser. This browser is similar to our familiar web browser, such as Firefox, IE. It can create a new tab or new window to browse other website. I tried to browse the google and carleton website, and it showed the website in one second. In the &amp;quot;setting&amp;quot;, we can configure the extensions, spell checking, shortcuts, toolbars and so on. There is searching engine in the tool bar. When I tried to search &amp;quot;carleton&amp;quot; from the input box, it created a new tab and searched the information from www.google.com. So the default search engine is  using google.com. I created multiple tabs and when I tried to close the whole window, it popped out a confirmation window with &amp;quot;You have multiple tabs open in this window, are you sure to quit?&amp;quot;. After all, the Konqueror is easy to use if you are familiar with some popular web browser, like IE or Firefox. No additional knowledge is needed to start to use this browser. &lt;br /&gt;
&lt;br /&gt;
[[File:operation_browser.png|300px|start page of Konqueror and setting options]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ports Jail&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ports Jail provides an environment where users who are new to FreeBSD packages and ports can safely experiment and learn how to use the FreeBSD software management command line tools without affecting the software that was installed with the operating system. The above words is the definition from [http://wiki.pcbsd.org/index.php/Ports_Jail|here]. So what I did in the Ports Jail will not affect the real PC-BSD system, that&#039;s the goal of this software.&lt;br /&gt;
&lt;br /&gt;
I tried to install a package called &amp;quot;9e&amp;quot; using &amp;quot;pkg_add -r 9e&amp;quot;, but it failed because some operations were not permitted. Then I tried to log in as &amp;quot;root&amp;quot;, and it worked. I checked the package information and it was installed. After that, I deleted the package and then the package information was not found. I also checked whether the installation will affected my real system, and the answer is no. I entered &amp;quot;pkg_info | grep 9e&amp;quot; in the terminal after I installed the 9e, but nothing found. This shows the goal of Ports Jail. The following figure shows the information I tested:&lt;br /&gt;
&lt;br /&gt;
[[File:operation_port.png|300px|Ports Jail with pkg operation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Software Manager&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Software Manager provides unique file format -- PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. When I ran this software, it prompted for the administrative password. Then it went to &amp;quot;Software Browser&amp;quot;, where I can found many packages to be installed. The category of packages were sorted by alphabet. I found the Firefox browser under the &amp;quot;Web&amp;quot; category and after a simple click on the Download button, it started to download the software and installed it automatically. Also, if you know the software name, you can just search the name in the Search bar, as seen in the figure below. There is also information for installed software and system updates. This software does not require you to enter any commands to management software which is suitable for beginner of UNIX system.&lt;br /&gt;
&lt;br /&gt;
[[File:operation_software.png|300px|Software Browser inside Software Manager]]&lt;br /&gt;
&lt;br /&gt;
== Usage Evaluation ==&lt;br /&gt;
&lt;br /&gt;
PC-BSD’s goal is to design a system that everybody can easy use it. It includes these features:&lt;br /&gt;
&lt;br /&gt;
# Easy installation&lt;br /&gt;
# Automatically configure hardware: pre-configuration in the first system start-up&lt;br /&gt;
# Intuitive desktop interface: latest stable version of KDE desktop environment&lt;br /&gt;
# Easy software management: software to manage all kinds of settings&lt;br /&gt;
# Easy to update: like windows, has Update Manager to keep system updated&lt;br /&gt;
# Visually attractive&lt;br /&gt;
# Architecture support: i386 or x64 supported&lt;br /&gt;
# Laptop support: power saving, wireless connection, swap space encryption&lt;br /&gt;
# Secure environment: PF firewall, brute-force attack protection&lt;br /&gt;
# Binary compatibility: can run different kinds of software from Linux or Windows&lt;br /&gt;
# Easy system administration: graphical tools&lt;br /&gt;
&lt;br /&gt;
This Unix System actually simplify our life with Unix. Graphical tools can do most of the tasks. PC-BSD provides many features as Windows Environment, which most of the people are familiar with. &lt;br /&gt;
&lt;br /&gt;
The menu in PC-BSD can show &amp;quot;Favorites&amp;quot; application which was used most frequently，There are more in menu: Applications (All kinds of software, such as for Development, Game, and Education), Computer (Management tools of this computer/ system), Recently Used and power button. The feature catalog is similar to Windows so that people can get into this distribution. PC-BSD is very compatible with different kinds of applications in Unix, and it is also compatible with some Windows software through Compatibility Layer. There is a feature that is better than Windows&#039;s one: the clipboard management software just in the bottom tool bar. It is for managing what have been copied or pasted or cut. We can see the history of what we have copied / cut and retrieve required information. Windows has clipboard also, but it is not so clearly to show at tool bar and to see the history.&lt;br /&gt;
&lt;br /&gt;
But there is a bit slow when running with PC-BSD, the operations do not seem to be so smooth. Booting the system need more than 1 minute. It has many visual elements, but it may sacrifice the speed of system.&lt;br /&gt;
&lt;br /&gt;
After all, PC-BSD is free of charge and has so many features, more secure than Windows-based system, compatible with most Unix software and some Windows software. The hard drivers or partitions don’t need to be defragmented while windows does need, and user can have greater control over PC-BSD (UNIX) system than in Windows. &lt;br /&gt;
&lt;br /&gt;
It has benefit of Unix and Windows, and do not have some drawbacks of Windows, such as security problem and fragments. It is a very good system for beginner and advanced users.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qliu1</name></author>
	</entry>
</feed>