Unix Computing

Everything in my (computing) world has a little unix within. Here are related survival tips:

Unix (desktop and servers)

  • Servers
  • FreeBSD
  • FreeBSD Package Updates
    • Package management systems will generally make the management of software tools close to automatic. On FreeBSD and macOS, there is pkg and homebrew respectively. Typical update commands:
      • (FreeBSD:)        pkg update  ; pkg upgrade
      • (macOS homebrew:) brew update ; brew upgrade
    • The "pkg" tool itself is ready to use on FreeBSD but you need to manually install the "brew" tool on macOS (see below)
  • Thinking BSD Unix with Linux and macOS
    • Linux systems have package management built-in but, if you want a BSD type experience, then "homebrew for Linux" is recommended. The one-line install command is at brew.sh
    • The "brew" command is similar to the FreeBSD "pkg" command
    • You gain access to the usual build tools (and easy selection of versions)
  • Using Unix with macOS
    • The essentials are homebrew and XQuartz ... 
    • macOS Workspace Setup by Nenad Novaković covers the basic install of Xcode (command line tools), the package manager homebrew (with great hints for brew command use for common unix tools and also macOS GUI tools), and support services like up-to-date Apache httpd, dnsmasq, php, etc. (written July 2018). 
  • OS-X/macOS hacks
  • Wine Bottler is a macOS tool that automates the repackaging of Windows apps into standalone macOS apps (essentially packages them with all necessary WINE run-time components). This can be very useful in restricted engineering teaching environments.