Installing SeqAn¶
There are different ways to install SeqAn, we recommend to try these in the given order:
Native package management of the operating system.
Unpacking the library package from https://packages.seqan.de
Using the full sources from our github repository.
If possible, use the first option. If SeqAn is not available for your operating system, or if it is outdated, use the second option.
Use the third option if you want to use the main or develop branch which might contain bug-fixes and new features.
Native package management¶
SeqAn is available natively on the following platforms.
Tip
Before you install, please make sure that the version supplied is not completely out of date (a difference of 0.1.* is okay, but if the difference is bigger use the Library Package below). The current version of SeqAn is always shown on the SeqAn-Homepage and the version available on your platform is usually displayed in the info-link below.
Operating System |
Package Name |
Command |
links |
|
---|---|---|---|---|
G |
Arch |
seqan (AUR) |
depends |
|
Debian |
libseqan2-dev |
|
||
Fedora |
seqan2-headers |
|
||
Gentoo |
seqan |
|
||
Ubuntu |
libseqan2-dev |
|
||
M |
Homebrew |
seqan |
|
|
MacPorts |
seqan |
|
||
B |
FreeBSD |
seqan |
|
|
OpenBSD |
seqan |
|
You should execute the above commands in a terminal as the root
user or prefix them with sudo
. If you have problems installing the package on your operating system, or it is outdated, please write to the contact shown above (and replace ()
in the e-mail-address with @
).
Library Package¶
First you need to download the most recent “library package” from https://packages.seqan.de and extract its contents. Now copy the include and share folders to their target location. This could be one of the following:
/usr/local
so they are available system-wide and automatically found by your program [requires root or sudo]/opt/seqan
available system-wide and easy to remove again [requires root or sudo]~/devel/seqan
some place in your home directory [does not require root or sudo]
In any case it is important to remember where you installed it to.
Full Sources¶
Make sure that you have git installed. For the operating systems mentioned above it can usually be achieved by using the respective command with git as package name.
For Windows there is Git client and shell available here.
Next create the required folders and clone our main branch:
~ # mkdir -p ~/devel
~ # cd ~/devel
~ # git clone https://github.com/seqan/seqan.git seqan
You can update this branch at a later point by running git pull
in ~/devel/seqan
.