--- title: "Install IT and OT sensor on Linux | Lansweeper Platform" slug: "install-network-discovery-linux" description: "Install Lansweeper Network Discovery on Linux to add a hub or sensor, cover additional networks, and balance scanning performance across your environment." tags: ["Lansweeper Platform", "Discovery and scanning", "Network Discovery"] status: "update" updated: 2026-11-19T21:07:23Z published: 2026-11-19T21:07:23Z canonical: "docs.lansweeper.com/install-network-discovery-linux" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt > Use this file to discover all available pages before exploring further. # Install the IT and OT sensor - Linux If you followed [Get started with Lansweeper Free](/docs/get-started-with-lansweeper-free), your site already has one hub and sensor. Use these instructions when you need to add a second or third sensor, if you have additional networks, want to balance performance, or need redundancy. ## Prerequisites - Review the [IT and OT sensor requirements](/docs/discovery-hub-and-sensor-requirements) - Ensure this is the correct discovery system for your use case - Review the [supported operating systems](/docs/install-network-discovery-linux#supported-operating-systems) ## Supported operating systems **.deb packages**: - Ubuntu 22.04, 24.04, 25.10, 26.04 (x64) - Debian 12, 13 (x64) **.rpm packages**: - Red Hat Enterprise Linux (RHEL) 8, 9, 10 (x64) - CentOS Stream 9, 10 (x64) - Fedora 42, 43, 44 (x64) - (open)SUSE 16 (x64) - SUSE Linux Enterprise Server (SLES) 15 SP6 (x64, current and previous service pack) ## Install the sensor and hub **SUSE** 1. In your preferred site, go to **Discovery > Systems > Download installers/packages**. 2. Select **Network Discovery > Download Lansweeper repository package** for the **Linux Red Hat** OS. 3. Open a terminal and install the repository package you copied to your machine: ```bash sudo rpm -ivh ./lansweeper-repository.rpm ``` 4. In your site, select **Systems > Link discovery system > Create new code**. Specify an expiration date, then select **Apply** and copy the generated code. > [!NOTE] > NOTE > > The expiration date indicates when the linking code can no longer be used to establish a new connection between a site and your discovery system. Any existing connection between the system and your site will remain active after the expiration date. 5. Install the Network Discovery hub. Replace `YourCloudTokenHere` with your actual linking code and run: ```bash sudo env LINKING_CODE=YourCloudTokenHere rpm -ivh lansweeper-network-discovery-hub ``` 6. In your hub, go to **Settings** > **Data transfer** and copy your hub code. 7. Install the sensor. Replace `YourHubCodeHere` with your actual hub code and run: 8. ```bash sudo rpm -ivh lansweeper-network-discovery-it-sensor sudo rpm -ivh lansweeper-network-discovery-ot-sensor ``` ## Next steps Now that your hub and sensors are installed, you can [create a discovery credential](/docs/create-discovery-credentials) to access more asset details, [create a discovery action](/docs/create-a-network-discovery-action) to specify what to scan and when, and [manage discovery exclusions](/docs/manage-discovery-exclusions) to keep unwanted assets out of your inventory. The Network Discovery component that every sensor connects to. The hub holds the sensor configuration, collects the data the sensors gather, and syncs it to your Lansweeper Platform site. A Network Discovery component that runs discovery for a specific asset type or capability. The sensor types are the IT sensor, OT sensor, and traffic sensor.