Tags:
create new tag
view all tags
---+ Installing Commandline Environments ---++ <a name="mac"></a>MacOS While !MacOS is based on BSD and thus has a POSIX-compiant terminal built in, there are a number of commandline tools that do not ship standard with !MacOS. In order to install these additional tools, there are a few steps that you must take: ---+++ Install the Developer Tools 1 Download and Install [[https://developer.apple.com/xcode/][Xcode]] 1 After installing Xcode, launch the Terminal from /Applications/Utilities/Terminal.app * (or [[https://www.iterm2.com/][iTerm]], if you prefer a more customizable terminal emulator) 1 Run the command: <pre>xcode-select --install </pre> ---+++ !MacPorts & Homebrew After the prerequisite developer tools are installed, there are two projects that replicate the [[https://en.wikipedia.org/wiki/Package_manager][package manager]] functionality of yum or apt in linux: * [[https://brew.sh/][Homebrew]] * [[https://www.macports.org/][MacPorts]] Both are actively supported, and which you choose is a matter of preference; both systems have their supporters. Refer to the homepage for each for instructions on how to install. ---++ <a name="windows"></a>Windows Windows 10 ships with cmd.exe and powershell. Neither are POSIX-like, and we would encourage students to install one of the more POSIX-like shells for running programs locally to ensure the command lines used mirror the syntax that will be used for grading code on the department servers. If you would prefer to stick with cmd.exe or powershell, however, you may install [[https://chocolatey.org/install][chocolatey]] to provide a package manager for commandline tools such as python or ssh. The two options for POSIX environments are: * [[https://docs.microsoft.com/en-us/windows/wsl/install-win10][Windows Subsystem for Linux (WFL) [MS Supported]]] * [[https://www.cygwin.com/install.html][Cygwin [Third-party]]] The choice of system you install is a matter of preference, though WFL will act slightly more similar to a Linux system, using yum or apt to manage package installation, while Cygwin requires running the Cygwin setup executable GUI. ---++ Linux …you almost certainly have a POSIX environment, as well as either apt or yum (Maybe even emerge), and so can install packages with your default package manager.
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2018-09-19
-
levow
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback