This is a post of opportunity and not one of the regularly scheduled posts in my series on writing a debugger in C and Rust. In the course of working on the nix-rust crate I needed to get a Rust environment setup on FreeBSD and I thought I would document my experience here.
Rust on FreeBSD
Installing Rust itself on FreeBSD is easy. There is a binary package available so installation is as simple as:
# pkg install rust-1.1.0 Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: rust: 1.1.0 The process will require 172 MiB more space. 58 MiB to be downloaded. Proceed with this action? [y/N]: y Fetching rust-1.1.0.txz: 100% 58 MiB 3.0MB/s 00:20 Checking integrity... done (0 conflicting) [1/1] Installing rust-1.1.0... [1/1] Extracting rust-1.1.0: 100%
But, this rust doesn’t come with Cargo.
Cargo for FreeBSD
For those who would like to translate the PC-BSD Handbook into their native language, you can now use Pootle to do so.
Kris has finished integrating the source files for the PC-BSD Handbook documentation into Pootle, meaning that translators can now use their web browser to translate the Handbook into their native language. As translations are completed, we’ll make sure that the build server generates HTML copies and includes them in /usr/local/share/pcbsd/doc/html (right away for EDGE users and with the next release for PRODUCTION users).
To translate the documentation, go to http://translate.pcbsd.org/translate/, click the “All Projects” drop-down menu, and select “PC-BSD Handbook”. You can then click the link for the language to translate. Currently, German and French are available. If you want to translate to a different language, send an email to the translations mailing list and request that it be added.
When translating the documentation, be aware of the following:
- At this time, some formatting tags are still displayed in raw text, as seen in the examples in Figures 1 and 2. It is IMPORTANT that you do not accidentally remove the formatting as this can break the documentation build for that language. In the first example, it is OK to translate the phrase “Using the Text Installer” but care must be taken to not accidently remove any of the surrounding colons and backticks, or to change the text of the “ref” tag. In the second example, the asterisks are used to bold the word “install”. It is OK to translate “install”, but do not remove the asterisks.
Figure 1: Do Not Remove Formatting Characters
Mathieu Arnold from the Ports Management Team has announced that the 2015Q3 branch has rolled out. All following updates will be listed on there.
Hi, The 2015Q3 branch has been created. It means that the next update on the quarterly packages will be on the 2015Q3 branch A lot of things happened in the last three months: - pkg 1.5.4 - New USES: waf, gnustep, jpeg - Default version of Perl switched to 5.20 - Firefox 38.0.6 - Firefox-esr 31.7.0 - Chromium 43.0.2357.130 - Ruby 2.1.6 - Perl 5.22.0 Next quarterly package builds will start on tomorrow and should be available on your closest mirrors few days later.
In this BSD Now episode, hosts Kris Moore and Allan Jude interview Lee Sharp regarding the m0n0wall codebase, which has been renamed as SmallWall. They discuss the future of what it will bring to the BSD family. Press play below to tune in:
Jordan Hubbard, CTO of iXsystems and Co-Founder of FreeBSD, gives us a rundown on what to expect for the upcoming FreeNAS 10. It is slated to release in the next few months.
One of the greater challenges in software engineering, particularly once you’ve actually released your latest magnum opus to the world, is deciding what to do next. How long do you continue to support version X, carefully fixing bugs and polishing the rock, before the list of architectural limitations and # of tickets requesting radical, substantial new features (all of which are potentially disruptive) begin to suggest that simple rock-polishing isn’t going to cut it as your only investment in engineering time and resources?
We reached that tipping point with the FreeNAS 9.x branch about 6 months ago. While putting the finishing touches on FreeNAS 9.3, a release which was a substantial improvement over previous 9.x releases, it was clear that we were still fundamentally limited by various design decisions made during the 2nd major rewrite of FreeNAS (FreeNAS 8).
This is not to say that those decisions were wrong or bad – all software technologies evolve and hindsight is always 20-20 – but it’s still fair to say that the world is constantly changing and FreeNAS as a product has little choice but to change with it.
First, just to set the context for the description of FreeNAS 10 which follows, a quick Architectural overview of FreeNAS 9 is in order:
Docker containers have been very popular in recent years on Linux. Docker containers provide services which “wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server. This guarantees that it will always run the same, regardless of the environment it is running in.”
Put another way, if Linux containers are approximately equivalent to FreeBSD jails, then Docker is the Linux equivalent of FreeBSD’s Warden.
The Docker technology has become quite a buzz-word in Linux circles and quite useful for testing and deploying services and applications. We are happy to report that Docker has been ported to FreeBSD! Though not all of Docker’s features currently work, most of Docker’s functionality is in place. More information on the FreeBSD port of Docker and which features currently work can be found on the port’s GitHub page.
This short tutorial by the folks at osquery will show you how to get its port set up for FreeBSD.
osquery is an operating system instrumentation framework for OS X and Linux. The tools make low-level operating system analytics and monitoring both performant and intuitive.
osquery exposes an operating system as a high-performance relational database. This allows you to write SQL-based queries to explore operating system data. With osquery, SQL tables represent abstract concepts such as running processes, loaded kernel modules, open network connections, browser plugins, hardware events or file hashes.
The easiest way to install osquery on FreeBSD is via the ports tree. Check FreshPorts for the latest version information.
# from ports cd /usr/ports/sysutils/osquery && make install clean # from binary package pkg install osquery # using portmaster portmaster sysutils/osquery
The FreeBSD Foundation has recently been joined by Benedict Reuschling to the Board of Directors. Mr. Reuschling has been a committer since 2010, and has been involved in the BSD Certification Group. Also, if you have not noticed, the FreeBSD Foundation website’s banner pays tribute to their 15 years of service to the community. Congratulations!
During BSDCan, the FreeBSD Foundation welcomed Benedict Reuschling to the Board of Directors.
We sat down with Benedict to find out more about his background and what brought him to the Foundation. Please take a moment to see what he has to say and join us in welcoming him to the board!
Tell us a little about yourself, and how you got involved with FreeBSD?
I’ve been a FreeBSD user since 5.2.1-RELEASE and became a committer for the doc tree in 2010. I’m also a proctor for the BSD Certification Group.
During my undergraduate studies in computer science, I tried out many different Linux distributions. One day, I came across a FreeBSD Live-CD called FreeSBIE. I booted it and was intrigued by how quickly one could switch between terminals on the command line, whereas in all previous distros I saw, this had a noticeable delay. My thought was that if it is already faster on a Live-CD, how would it be when I actually install the system? So, I tried it on my desktop at home in a dual boot setup together with the Linux distro that I had been using. I learned more about FreeBSD by devouring the FreeBSD handbook, blog posts and lurking on mailing lists.
After a while, I realized that I had spent more time in the FreeBSD system than in my Linux partition. So, I decided one day to install FreeBSD as my only operating system and it has been with me ever since. Though I was a FreeBSD user now, I still was not interacting with the FreeBSD community.
User KENNETH ENZ has uploaded this video on how to get your FreeBSD 10.1 set up as a desktop OS. Check out their channel for more FreeBSD tutorials.
A few desktop configuration and software installation options are looked at as the FreeBSD system is set up as a work station with some software considerations useful for developers.
Previous videos in this series:
FreeBSD 10.1 as a desktop OS (part 1 of 3) https://www.youtube.com/watch?v=PB4Os…
FreeBSD 10.1 as a desktop OS (part 2 of 3) https://www.youtube.com/watch?v=A7Wue…
FreeBSD 10.1 as a desktop OS (part 3 of 3) https://www.youtube.com/watch?v=sj7O2…