---
title: "Installation Procedure"
canonical: "https://thoughtdata.refined.site/space/TUD/55643185/Installation%20Procedure"
format: markdown
---
## Installation Procedure

IT teams can install Netsense in the following Linux operating system:

- Ubuntu 22.04.3 LTSR or above (recommended and highly tested)

**Important **: This section describes the steps in the installation procedure in the Ubuntu environment. It is important to note that except the following 2 steps the rest of the procedure is identical across operating environments.

- Identifying the right Netsense installer package for your OS type and version.
- Updating the current operating system files and libraries.

These differences are called out at the related step for users to perform the right action.

Perform the following steps exactly as directed to complete installing Netsense (packet sensor) software.

Copy the Netsense software file to the home directory of the machine identified as part of the pre-requisites. For example use the scp command as illustrated.

**Important**: The file name td-netsense_1.0-2_20.04.amd64.deb indicates that this installer file is for the ubuntu OS in the machine assigned for this installation.

The file name td-netsense_1.0-1.fc32.x86_64.rpm indicates that indicates that this installer file is for the Fedora OS in the machine assigned for installation.

Internet connectivity is required during Netsense installation as the installer installs dependent libraries from OS repositories. Internet connectivity is however not required post instillation for Netsense functions

A. If you are installing on Ubuntu, copy the file  

      td-netsense_1.0-2_20.04.amd64.deb and install script(install.sh) to the home directory of the machine identified as part of the pre-requisites. For example use the scp command as illustrated below.

![image](media://a3e34d60-3411-4c8b-aaa1-4575bb0e7ff4)

Use scp to bring the ubuntu installer file to the selected machine

B. If you are installing on fedora copy td-netsense_1.0-1.fc32.x86_64.rpm and install script(install.sh), to the home directory of the machine identified as part of the pre-requisites. Use the scp command as illustrated below.

![image](media://b29ce8cf-b242-43a0-8adc-34877c4feb13)

Use scp to bring the fedora installer file to the selected machine

View the copied files in the target machine’s directory. Use the command ls to list the files.

![image](media://3fb660bd-680f-4189-a982-48a4775331d2)

The files are copied in the specified directory

A. In the Ubuntu environment, execute the software update command  

      **‎sudo apt-get update**  

      ‎The files are updated from Ubuntu’s network repository. When update is complete the status is displayed as “done” as illustrated.
    

![image](media://3e9caab5-9952-4b76-b559-114456ead219)

Update the Ubuntu Operating System

B. In the Fedora environment, execute the software update command

**‎sudo dnf update**  

      ‎The files are updated from Fedora’s network repository. When update is complete the status is displayed as “done”.

![image](media://c564d465-b2d9-47a2-8426-73104ec9d382)

Update the Fedora Operating System

**Note**:  This step is very important during the Netsense installation. Make sure you never fail to run this step. It updates all the packages, libraries and dependencies in the operating system. Failing to run this step causes errors during installation, forcing you to repeat steps 1 to 4 after updating the OS dependencies. 

**Note:** The remaining steps of the installation procedure are the same across operating environments. Perform these steps as described irrespective of whether the machine selected for installation runs on Ubuntu, Fedora or CentOs.

Convert the install shell script file to an executable file, using the chmod command as illustrated. The file install.sh changes color from red to green as illustrated.

![image](media://d4352e5b-21bf-4ccd-99b9-ecf90835673f)

Change installer shell script to executable

**Note**: The installer script and the Netsense installer files must reside in the same folder. Make sure that you copy them to the same folder – as illustrated in Steps 2 and 3.

Execute the installer using the command **./install.sh netsense** as illustrated, to begin the installation.

![image](media://8ea9d5c8-e0c0-4515-b5d1-c3e75bccfbba)

Execute installer

Wait for the installer to complete and display the cursor at the home directory as illustrated below.

![image](media://4655d09a-4bac-4dd2-a563-3da5a324c78c)

Installation complete

**Note**: The installation procedure completes successfully without prompting for any user inputs.

Go to the default installation directory **/****usr/local/thoughtdata/netsense**

![image](media://e6b6c6ae-b5d8-491d-8c1c-cd40f0659d29)

Default directory with the sub directory netsense

The following directories in the default installation directory contain the files that power NetSense:

- bin (binary) – all the binaries that run the software
- etc – the files used to set configuration

**Note**: At this point the installation is complete. You can now proceed to complete configuration settings for NetSense.

  

      ‎