- Install Older Version Of Osx
- Install Older Version Of Osx On External Drive
- Install Old Versions Of Mac Os X
I expected the “make install-openni2” command from libfreenect2’s readme would take care of that stuff, but it does not. The second omission is the troubleshooting stuff on their wiki. In particular, for my specific MacBook, I had to plug the Kinect adapter into the USB port on the left-hand side, NOT the right-hand side, as the device. MongoDB Version¶. This tutorial installs MongoDB 4.4 Community Edition. To install a different version of MongoDB Community, use the version drop-down menu in the upper-left corner of this page to select the documentation for that version. Download the latest Production or Daily build of the Houdini version you are looking to install. Run the installer, ensuring to install the License Server component. For Linux you do have the option of installing only the license server sesinetd (sesinetd.install). For Windows and OSX, you must install the full Houdini package. Works like a charm — I've been upgrading git all the time using this package and never had the slightest problem. My only issue is that it lags slightly behind the latest & greatest supported git package — it's really a pity it's not kept up-to-date with, say, the Linux version.
Download MrBayes
MrBayes may be downloaded as a pre-compiled executable or in source form (recommended).
Current release
The most recent release version of MrBayes is 3.2.7a, released March 6, 2019.
The 3.2.7a source code is available for compilation on Unix machines.
Pre-compiled (provisional) executables are available for Windows (MrBayes-3.2.7-WIN.zip). These are, however, serial versions compiled without the Beagle library. The serial version works well for smaller analyses but if you plan to run large analyses using many parallel chains, you should use the MPI version instead. Refer to the User Manual, and the INSTALL document on GitHub for help with installation of the program.
MrBayes may also be installed through the Homebrew package manager on macOS, Linux, and Windows Subsystem for Linux (WSL). Please see the INSTALL document for instructions.
Older releases
You can get access to older releases (from release 3.2.0 onwards), by browsing the releases directory on github.
Developer version
You may also download cutting edge developer version of MrBayes from the Git repository hosted at GitHub. Note that you have to compile the code yourself. Read instructions in the INSTALL file in the source code repository for further instructions.
For common Un*x operating systems (including macOS), all you need to do is run:
or:
Note that this script will ask for root access using sudo
in orderto use your platform's package manager to install dependencies and toinstall to /usr/local/bin
. If you prefer more control, follow themanual installation instructions for your platform below.
Binaries for other operating systems are listed below, and available onthe GitHub release page. For thefuture, we are open to supporting more OSes (to request one, pleasesubmit an issue).
Binary packages are signed with this signing key.
If you are writing a script that needs to download the latest binary, you canuse URLs like https://get.haskellstack.org/stable/<PLATFORM>.<EXTENSION>
(e.g. https://get.haskellstack.org/stable/linux-x86_64.tar.gz) that alwayspoint to the latest stable release.
Windows¶
We recommend installing to the default location with these installers, as thatwill make stack install
and stack upgrade
work correctly out of the box.
If in doubt: you should prefer the 64-bit installer.
You may see a 'Windows Defender SmartScreen prevented an unrecognized app fromstarting' warning when you try to run the installer. If so, click onMore info, and then click on the Run anyway button that appears.
Manual download¶
Download the latest release:
Unpack the archive and place
stack.exe
somewhere on your%PATH%
(see Path section below) and you can then runstack
on the command line.Now you can run
stack
from the terminal.
macOS¶
We generally test on the current version of macOS and do our best to keep it compatible with the three most recent major versions. Stack may also work on older versions (YMMV).
Installer script¶
Run:
Manual download¶
- Download the latest release:
- Extract the archive and place
stack
somewhere on your$PATH
(see Path section below) - Now you can run
stack
from the terminal.
Using Homebrew¶
If you have the popular brew tool installed, you can just do:
- The Homebrew formula and bottles are unofficial and lag slightly behind new Stack releases,but tend to be updated within a day or two.
- Normally, Homebrew will install from a pre-built binary (aka 'pour from abottle'), but if
brew
starts trying to build everything from source (whichwill take hours), seetheir FAQ on the topic.
Notes¶
After installation, running stack setup
might fail with configure: error: cannot run C compiled programs.
in which case you should run:
Starting with macOs 10.14 (Mojave) running xcode-select --install
might not be enough. You will need to install additional headers by running:
Install Older Version Of Osx
If you are on OS X 10.11 ('El Capitan') and encounter either of theseproblems, see the linked FAQ entries:
If you are on OS X 10.12 ('Sierra') and encounter GHC panic while building, see this issue
Ubuntu¶
Use the generic Linux option.
There is also a Ubuntupackagefor Ubuntu 16.10 and up, but the distribution's Stack version lags behind, so werecommend running stack upgrade --binary-only
after installing it. For older stackversions which do not support --binary-only
, just stack upgrade
may work too. Theversion in Ubuntu 16.04 is too old to upgrade successfully, and so in that casestack should be installed from a releasetarball.
Debian¶
Use the generic Linux option.
There is also a Debianpackagefor Stretch and up, but the distribution's Stack version lags behind, so runningstack upgrade --binary-only
is recommended after installing it. For older stackversions which do not support --binary-only
, just stack upgrade
may work too.
CentOS / Red Hat / Amazon Linux¶
Use the generic Linux option.
There is also an unofficialCopr repo.Note that this Stack version may lag behind,so we recommend running stack upgrade
after installing it.
Fedora¶
Use the generic Linux option.
Fedora includes builds of stack, but the version may lag behind,so we recommend running stack upgrade
after installing it.
openSUSE / SUSE Linux Enterprise¶
Use the generic Linux option.
There is also an unofficial SUSE package. Note that this Stackversion may lag behind, so we recommend running stack upgrade
after installingit. To install it:
Add the appropriate OBS repository:
openSUSE Tumbleweed
all needed is in distribution
openSUSE Leap
SUSE Linux Enterprise 12
Install:
Arch Linux¶
There is an official package in the Arch community repository. So you caninstall it by simply doing:
Note that this version may slightly lag behind, but it should be updated withinthe day. The package is also always rebuilt and updated when one of itsdependencies gets an update.
- stacklatest stable version
- haskell-stack-gitgit version
Install Older Version Of Osx On External Drive
In order to use stack setup
with older versions of GHC or on a 32-bit system,you may need thencurses5-compat-libsAUR package installed. If this package is not installed, Stack may not be ableto install older (< 7.10.3) or 32-bit GHC versions.
If you use theArchHaskell repository, youcan also get the haskell-stack-tool
package from there.
NixOS¶
Users who follow the nixos-unstable
channel or the Nixpkgs master
branch can install the latest stack
release into their profile by running:
Alternatively, the package can be built from source as follows.
Clone the git repo:
Create a
shell.nix
file:Note that the tests fail on NixOS, so disable them with
--no-check
. Also, haddock currently doesn't work for stack, so--no-haddock
disables it.Install stack to your user profile:
For more information on using Stack together with Nix, please see the NixOSmanual section onStack.
Linux (generic)¶
Installer script¶
Run:
or:
Manual download¶
Download the latest release:
Extract the archive and place
stack
somewhere on your$PATH
(see Path section below)Ensure you have required system dependencies installed. These include GCC, GNU make, xz, perl, libgmp, libffi, and zlib. We also recommend Git and GPG. To install these using your package manager:
- Debian / Ubuntu:
sudo apt-get install g++ gcc libc6-dev libffi-dev libgmp-dev make xz-utils zlib1g-dev git gnupg netbase
- Fedora / CentOS:
sudo dnf install perl make automake gcc gmp-devel libffi zlib zlib-devel xz tar git gnupg
(useyum
instead ofdnf
on CentOS and Fedora <= 21)- Fedora 24: In order to use
stack setup
on a 32-bit system, you may need to runsudo dnf install ncurses-compat-libs
. If this package is not installed, Stack may not be able to install 32-bit GHC versions.Alsosudo dnf install ncurses-compat-libs
if you nee
- Fedora 24: In order to use
Arch Linux:
sudo pacman -S make gcc ncurses git gnupg xz zlib gmp libffi zlib
- In order to use
stack setup
with older versions of GHC or on a 32-bit system, you may need the ncurses5-compat-libs AUR package installed. If this package is not installed, Stack may not be able to install older (< 7.10.3) or 32-bit GHC versions.- Gentoo users, make sure to have the
ncurses
package withUSE=tinfo
(without it, stack will not be able to install GHC).
- Gentoo users, make sure to have the
- In order to use
- Debian / Ubuntu:
Now you can run
stack
from the terminal.
Path¶
You can install stack by copying it anywhere on your PATH environment variable. A good place to install is the same directory where stack itself will install executables. On Windows, that directory is %APPDATA%localbin
, e.g. c:UsersMichaelAppDataRoaminglocalbin
. For other systems, it's $HOME/.local/bin
.
If you don't have that directory in your PATH, you may need to update your PATH (such as by editing ~/.bashrc
).
If you're curious about the choice of these paths, see issue #153
Shell auto-completion¶
To get tab-completion of commands on bash, just run the following (or add it to.bashrc
):
For more information and other shells, see the shell auto-completion page
China-based users¶
If you're attempting to install stack from within China:
As of 2020-02-24, the download link has limited connectivity from within mainland China. If this is the case, please proceed by manually downloading (ideally via a VPN) and installing stack per the instructions found on this page pertinent to your OS.
After install, your ~/.stack/config.yaml will need to be configured before stack can download large files consistently from within China (without reliance on a VPN). Please add the following to the bottom of the ~/.stack/config.yaml file (for Windows: use the %STACK_ROOT%config.yaml):
Using an http proxy¶
To use stack
behind a http proxy with ip address IP and port PORT, first set up an environment variable http_proxy
and then run the stack command. e.g.
Install Old Versions Of Mac Os X
Note that on most operating systems, it is not mandatory for programs to follow the 'system-wide' http proxy. Some programs, such as browsers, do honor this 'system-wide' http proxy setting, while other programs, including bash, do not. That means configuring 'http proxy setting' in your Control Panel (Windows) or System Preferences (Mac) would not result in stack
traffic going through the proxy.
Upgrade¶
There are essentially four different approaches to upgrade:
The
stack
tool itself ships with anupgrade
command, which download astack
binary or build it from source and install it to the default install path (e.g.~/.local/bin
or%APPDATA%localbin
; see the Path section above). You can usestack upgrade
to get the latest official release, andstack upgrade --git
to install from Git and live on the bleeding edge. Make sure the default install directory is on yourPATH
and takes precedence over the system installedstack
, or copystack
from that directory to the system location afterward. For more information, see this discussion.If you're using a package manager and are happy with sticking with the officially released binaries from the distribution (which may the lag behind latest version of Stack significantly), simply follow your normal package manager strategies for upgrading (e.g.
apt-get update && apt-get upgrade
).The get.haskellstack.org script supports the
-f
argument to over-write the current stack executable. For example:curl -sSL https://get.haskellstack.org/ | sh -s - -f
or:
- Manually follow the steps above to download the newest binaries from the release page and replace the old binary.
Install Older Versions¶
To install a specific version of stack, navigate to the desired version on the GitHub release page,and click the appropriate link under its 'Assets' drop-down menu.
Alternatively, use the URL https://github.com/commercialhaskell/stack/releases/download/vVERSION/stack-VERSION-PLATFORM.EXTENSION
.For example, the tarball for stack 2.1.0.1, osx-x86_64 is athttps://github.com/commercialhaskell/stack/releases/download/v2.1.0.1/stack-2.1.0.1-osx-x86_64.tar.gz
.
Here's a snippet for appveyor.yml
files, borrowed from dhall
's appveyor.yml
.Change the values of PATH and VERSION as needed.