Download Cygwin Mac Software Tcpreplay v.3.4.2 Suite of tools to edit and replay captured network trafficTcpreplay is a suite of BSD licensed tools written by Aaron Turner for UNIX (and Win32 under Cygwin ) operating systems which gives you the ability to use previously captured traffic in libpcap. Download Credits. X3270 is an IBM 3270 terminal emulator for the X Window System and Windows. It runs on most Unix-like operating systems - e.g., Linux, Mac OS X, Solaris and Cygwin. It also runs natively on Windows. X3270 runs over a TELNET connection, emulating either an IBM 3279 (color) or 3278 (monochrome). It supports: The full TN3270E.
BEDOPS is available to users as pre-built binaries and source code.
2.1. Via pre-built packages¶
Pre-built binaries offer the easiest and fastest installation option for users of BEDOPS. At this time, we offer binaries for 64-bit versions of Linux and OS X (Intel) platforms. 32-bit binaries can be built via source code by adjusting compile-time variables.
2.1.1. Linux¶
- Download the current 64-bit package for Linux from Github BEDOPS Releases.
- Extract the package to a location of your choice. In the case of 64-bit Linux:Replace
x
,y
andz
with the version number of BEDOPS you have downloaded. - Copy the extracted binaries to a location of your choice which is in your environment’s
PATH
, e.g./usr/local/bin
:Change this destination folder, as needed.
2.1.2. Mac OS X¶
- Download the current Mac OS X package for BEDOPS from Github BEDOPS Releases.
- Locate the installer package (usually located in
~/Downloads
– this will depend on your web browser configuration): - Double-click to open the installer package. It will look something like this:
- Follow the instructions to install BEDOPS and library dependencies to your Mac. (If you are upgrading from a previous version, components will be overwritten or removed, as needed.)
2.2. Via source code¶
2.2.1. Linux¶
Compilation of BEDOPS on Linux requires GCC 4.8.2 (both
gcc
and g++
and related components) or greater, which includes support for C++11 features required by core BEDOPS tools. Other tools may be required as described in the installation documentation that follows.- If you do not have GCC 4.8.2 or greater installed (both
gcc
andg++
), first install these tools. You can check the state of your GCC installation withgcc--version
andg++--version
, e.g.:If you lack a compiler or have a compiler that is older than 4.8.2, use your favorite package manager to install or upgrade the newer package. For example, in Ubuntu, you might run the following:The specifics of this process will depend on your distribution and what you want to install. Please check with your system administration or support staff if you are unsure what your options are.You may also need to install static libraries. For instance, in a CentOS- or RH-like environment:In Ubuntu, you might instead do: - Install a
git
client of your choice, if you do not already have one installed. Github offers an installation guide.Alternatively, useapt-get
or another package manager to install one, e.g. in Ubuntu:And in CentOS: - Clone the BEDOPS Git repository in an appropriate local directory:
- Enter the top-level of the local copy of the BEDOPS repository and run
make
to begin the build process:Runningmake
on its own will build so-called “typical” BEDOPS binaries, which make assumptions about line length for most usage scenarios.Usemakemegarow
ormakefloat128
to build support for longer-length rows, or BED data which requires statistical or measurement operations with bedmap with 128-bit precision floating point support.If you want all build types, runmakeall
.
Tip
BEDOPS supports parallel builds, which speeds up compilation considerably. If you are compiling on a multicore or multiprocessor workstation, edit the
JPARALLEL
variable in the top-level Makefile, or override it, specifying the number of cores or processors you wish to use to compile.- Once the build is complete, install compiled binaries and scripts to a local
bin
directory:If you ranmakemegarow
ormakefloat128
, instead usemakeinstall_megarow
ormakeinstall_float128
, respectively, to install those binaries.If you ranmakeall
, usemakeinstall_all
to install all binaries of the three types (typical, megarow, and float128) to the./bin
directory. You can use theswitch-BEDOPS-binary-type
script to switch symbolic links to one of the three binary types. - Copy the extracted binaries to a location of your choice that is in your environment’s
PATH
, e.g./usr/local/bin
:Change this destination folder, as needed.
2.2.2. Mac OS X¶
In Mac OS X, you have a few options to install BEDOPS via source code: Compile the code manually, or use the Bioconda or Homebrew package manager to manage installation.
Compilation of BEDOPS on Mac OS X requires Clang/LLVM 3.5 or greater, which includes support for C++11 features required by core BEDOPS tools. Other tools may be required as described in the installation documentation that follows. GNU GCC is no longer required for compilation on OS X hosts.
2.2.2.1. Manual compilation¶
- If you do not have Clang/LLVM 3.5 or greater installed, first do so. You can check this with
clang-v
, e.g.:For Mac OS X users, we recommend installing Apple Xcode and its Command Line Tools, via thePreferences>Downloads
option within Xcode. At the time of this writing, Xcode 8.2.1 (8C1002) includes the necessary command-line tools to compile BEDOPS. - Install a
git
client of your choice, if you do not already have one installed. Github offers an installation guide. - Clone the BEDOPS Git repository in an appropriate local directory:
- Run
make
in the top-level of the local copy of the BEDOPS repository:Runningmake
on its own will build so-called “typical” BEDOPS binaries, which make assumptions about line length for most usage scenarios.Usemakemegarow
ormakefloat128
to build support for longer-length rows, or BED data which requires statistical or measurement operations with bedmap with 128-bit precision floating point support.If you want all build types, runmakeall
.
Tip
BEDOPS supports parallel builds, which speeds up compilation considerably. If you are compiling on a multicore or multiprocessor workstation, edit the
JPARALLEL
variable in the top-level Makefile, or override it, specifying the number of cores or processors you wish to use to compile.- Once the build is complete, install compiled binaries and scripts to a local
bin
folder:If you ranmakemegarow
ormakefloat128
, instead usemakeinstall_megarow
ormakeinstall_float128
, respectively, to install those binaries.If you ranmakeall
, usemakeinstall_all
to install all binaries of the three types (typical, megarow, and float128) to the./bin
directory.You can use theswitch-BEDOPS-binary-type
script to switch symbolic links to one of the three binary types. - Copy the extracted binaries to a location of your choice that is in your environment’s
PATH
, e.g./usr/local/bin
:Change this destination folder, as needed.
2.2.2.2. Installation via Bioconda¶
Bioconda is a bioinformatics resource that extends the Conda package manager with scientific software packages, including BEDOPS. We aim to keep the recipe concurrent with the present release; occasionally, it may be a minor version behind.
What follows are steps taken from the Bioconda installation page. Use this guide for the most current set of instructions, which we briefly cover here:
- Follow the instructions on Conda’s website to install the Miniconda package, which installs the
conda
command-line tool. - If you have not already done so, add the Conda channels that Bioconda depends upon:
- Install the BEDOPS package:
Other recipes are available for installation, as well.
2.2.2.3. Installation via Homebrew¶
Homebrew is a popular package management toolkit for Mac OS X. It facilitates easy installation of common scientific and other packages. Homebrew can usually offer a version of BEDOPS concurrent with the present release; occasionally, it may be one or two minor versions behind.
- If you do not have Clang/LLVM 3.5 or greater installed, first do so. You can check this with
clang-v
, e.g.:For Mac OS X users, we recommend installing Apple Xcode and its Command Line Tools, via thePreferences>Downloads
option within Xcode. At the time of this writing, Xcode 8.2.1 (8C1002) includes the necessary command-line tools to compile BEDOPS. - Follow the instructions listed on the Homebrew site to install the basic package manager components.
- Run the following command:
2.2.3. Docker¶
Docker containers wrap up a piece of software (such as BEDOPS) in a complete, self-contained VM.
![Cygwin Cygwin](https://www.c-m-l.net/blog/wp-content/uploads/2016/03/mac_os_x_recoverymode-1140x600.jpg)
To set up a CentOS 7-based Docker container with BEDOPS binaries, you can use the following steps:
The following then generates a set of RPMs using the CentOS 7 image, which can run in CentOS 6 and Fedora 21 containers:
Thanks go to Leo Comitale for his efforts here.
Cygwin Mac Os X Download 10 8
2.2.4. Cygwin¶
- Make sure you are running a 64-bit version of Cygwin. Compilation of BEDOPS on 32-bit versions of Cygwin is not supported.To be sure, open up your Cywin installer application (separate from the Cygwin terminal application) and look for the 64 bit marker next to the setup application version number:For instance, this Cygwin installer is version 2.831 and is 64-bit.
- Check that you have GCC 4.8.2 or greater installed. You can check this by opening the Cygwin terminal window (note that this is not the same as the Cygwin installer application) and typing
gcc--version
, e.g.:If you do not havegcc
installed, then open the Cygwin (64-bit) installer application again, navigate through the current setup options, and then mark the GCC 4.8.* packages for installation:If it helps, type ingcc
into the search field to filter results to GCC-related packages. Make sure to mark the following packages for installation, at least:- gcc-core
- gcc-debuginfo
- gcc-g++
- gcc-tools-xyz
- libgcc1
Click “Next” to follow directives to install those and any other selected package items. Then rungcc--version
as before, to ensure you have a working GCC setup. - Install a
git
client of your choice. You can compile one or use the precompiledgit
package available through the Cygwin (64-bit) installer:If it helps, type ingit
into the search field to filter results to Git-related packages. Make sure to install the following package, at least:- git
- In a Cygwin terminal window, clone the BEDOPS Git repository to an appropriate local directory:
- Enter the top-level of the local copy of the BEDOPS repository and run
make
to begin the build process:
Mac Os X Download For Windows
Tip
Cygwin Free Download
BEDOPS now supports parallel builds. If you are compiling on a multicore or multiprocessor workstation, use
make-jN
where N
is 2
, 4
or however many cores or processors you have, in order to parallelize and speed up the build process.- Once the build is complete, install compiled binaries and scripts to a local
bin
folder: - Copy the extracted binaries to a location of your choice that is in your environment’s
PATH
, e.g./usr/bin
:Change this destination folder, as needed.
2.3. Building an OS X installer package for redistribution¶
- Follow steps 1-3 and step 5 from the Via Source Code documentation.
- Run
makeinstall_osx_packaging_bins
in the top-level of the local copy of the BEDOPS repository: - Install WhiteBox Packages.app, an application for building OS X installers, if not already installed.On 10.13 hosts, it may be necessary to install a more recent development build of
Packages.app
via Packages Q&A #6. - Create a
build
directory to store the installer and open theBEDOPS.pkgproj
file in the top-level of the local copy of the BEDOPS repository, in order to open the BEDOPS installer project, e.g.:This will open up the installer project with thePackages.app
application. - Within
Packages.app
, modify the project to include the current project version number or other desired changes, as applicable. Make sure the project is set up to build a “flat”-formatted (xar) package, not a bundle, otherwise the digital signing step will fail. - Run the
Build>Build
menu selection to construct the installer package, located in thepackaging/os_x/build
subdirectory. Move this installer to the/tmp
directory: - Find the
DeveloperIDInstaller
name that will be used to digitally sign the installerpkg
file, e.g.:Here, the name isDeveloperIDInstaller:FooB.Baz
.(This certificate name is unique to the developer. If necessary, you may need to sign up for a Mac Developer Program account with Apple to set up required certificates.) - Sign the package installer, e.g.:
- Compress the signed
pkg
file (via OS X zip, for instance) and publish via GitHub releases (see release preparation for information about publishing the installer).