<commit_before>
This guide describes the requirements and the steps necessary in order to get started with the development of the OpenNMS project.

=== Operating System / Environment

To build/compile OpenNMS it is necessary to run a *nix system.
You do not need to run it physically, a virtual machine is sufficient, but the choice is yours.
We recommend one of the following:

 * link:http://www.linuxmint.com/[Linux Mint] with Cinnamon Desktop environment
 * link:http://ubuntu.com[Ubuntu Desktop]
 * Mac OS X

[NOTE]
This documentation assumes that you chose a debian based desktop environment.

=== Installation

The next chapter describes the full setup of your environment in order to meet the pre-requirements.
Simply follow these instructions, they may vary depending on your Operating System.

[source, shell]
----
# add OpenNMS as repository to install icmp and such
echo "deb https://debian.opennms.org stable main" > /etc/apt/sources.list.d/opennms.list
echo "deb-src https://debian.opennms.org stable main" >> /etc/apt/sources.list.d/opennms.list
# Add pgp key
wget -O - https://debian.opennms.org/OPENNMS-GPG-KEY | apt-key add -

# overall update
apt-get update

# install stuff
apt-get install -y software-properties-common
apt-get install -y git-core
apt-get install -y nsis

# install Oracle Java 8 JDK
# this setup is based on: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
add-apt-repository -y ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer<commit_msg>deb http is OK as long as the GPG key is https<commit_after>
This guide describes the requirements and the steps necessary in order to get started with the development of the OpenNMS project.

=== Operating System / Environment

To build/compile OpenNMS it is necessary to run a *nix system.
You do not need to run it physically, a virtual machine is sufficient, but the choice is yours.
We recommend one of the following:

 * link:http://www.linuxmint.com/[Linux Mint] with Cinnamon Desktop environment
 * link:http://ubuntu.com[Ubuntu Desktop]
 * Mac OS X

[NOTE]
This documentation assumes that you chose a debian based desktop environment.

=== Installation

The next chapter describes the full setup of your environment in order to meet the pre-requirements.
Simply follow these instructions, they may vary depending on your Operating System.

[source, shell]
----
# add OpenNMS as repository to install icmp and such
echo "deb http://debian.opennms.org stable main" > /etc/apt/sources.list.d/opennms.list
echo "deb-src http://debian.opennms.org stable main" >> /etc/apt/sources.list.d/opennms.list
# Add pgp key
wget -O - https://debian.opennms.org/OPENNMS-GPG-KEY | apt-key add -

# overall update
apt-get update

# install stuff
apt-get install -y software-properties-common
apt-get install -y git-core
apt-get install -y nsis

# install Oracle Java 8 JDK
# this setup is based on: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
add-apt-repository -y ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
{'fraction_non_alphanumeric': 0.08976428802066516, 'fraction_numerical': 0.007103648692282854, 'mean_word_length': 4.062091503267974, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '256360', 'n_tokens_mistral': 974, 'n_tokens_neox': 910, 'n_words': 372}