// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements.  See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with
// the License.  You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
= Installing Using DEB and RPM Package

Ignite can be installed by using the standard package managers for the platform.

== Installing Deb Package

Install the Ignite 3 packages:

[tabs]
--
tab:deb[]
[source, shell, subs="attributes,specialchars"]
----
sudo apt-get install ./ignite3-db-3.0.0.deb --no-install-recommends
sudo apt-get install ./ignite3-cli-3.0.0.deb --no-install-recommends
----

tab:RPM[]
[source,shell, subs="attributes,specialchars"]
----
sudo rpm -i ignite3-db-3.0.0.noarch.rpm
sudo rpm -i ignite3-cli-3.0.0.noarch.rpm
----
--

The packages will be installed in the following way:

[cols="1,3",opts="stretch,header"]
|====
|Folder| Description

|/usr/share/ignite3db|The root installation of Ignite.
|/etc/ignite3db|The location of configuration files.
|/var/log/ignite3db|The location of node logs.
|/usr/lib/ignite3cli|The location of the CLI tool.
|====

The root of Ignite’s installation

== Running Ignite as a Service

NOTE: When running on Windows 10 WSL or Docker, you should start Ignite as a stand-alone process (not as a service). We recommend to link:installation/installing-using-zip[install Ignite 3 using ZIP archive] in these environments.

To start a Ignite node with a custom configuration, run the following command:

[source, bash]
----
sudo systemctl start ignite3db
----

To launch the node at system startup, run the following command:

[source, bash]
----
sudo systemctl enable ignite3db
----


== Running Ignite as a Stand-Alone Process

Generally, you would want to run Ignite as a service. However, Ignite also provides a startup script that can be used to start it as a stand-alone application. To run it, use the following command:

[source, bash]
----
sudo bash /usr/share/ignite3db/start.sh 1>/tmp/ignite3-start.log 2>&1 &
----

== Next Steps

With the Ignite installed, you can proceed with the link:quick-start/getting-started-guide[Getting Started] or link:developers-guide/table-api[use the available APIs] immediately.