# Host Setup

Select you operating system

{% tabs %}
{% tab title="Windows Host" %}

Step 1: Connect your ruggedBOARD-A5D2x to PC and identify the port (Device manager/manage/port)

step 2: Download and install Putty terminal to get the serial console. Click the link below to understand how to install Putty Terminal in your windows PC.

[*https://www.putty.org/*](https://www.putty.org/)

step 3: select “Serial” and baud rate with 115200 and press Enter key will get Board Console.

&#x20;Congratulations   your PC Ready with Windows basic prerequisites.
{% endtab %}

{% tab title="Linux Host" %}

\
Host requires 64-bit, Ubuntu-16.x.x (LTS versions).

&#x20;To install Ubuntu, follow the link below.

[***https://help.ubuntu.com/community/GraphicalInstall***](https://help.ubuntu.com/community/GraphicalInstall)

**After successes full installation Let us start Work with Linux – Ubuntu OS**

Open up the application on your computer called “Terminal” by either pressing **Control + Alt + T** or by clicking the symbol at the top of the Ubuntu launcher and searching for “Terminal”.

&#x20;              It looks like this:

<div align="center"><img src="/files/-Lc-t_EE2WNoOEngc-t4" alt="Terminal Icon"></div>

<div align="center"><img src="/files/-Lc-tlZFvv7ZJ6qQYI5S" alt="Linux Terminal Window"></div>

You can use the terminal to write commands to your computer (this is the “command line Interface of Ubuntu Operating System”). Let’s try it out!

In your terminal, type

`Ubuntu@pc:~$ ls`

and hit enter.

The ls command, short for “list”, tells your computer to list all of the file names for the folder you’re inside.

Ubuntu doesn’t come with all the prerequisite archives for the development, to prepare the host for development download the bash shell script which can be available from the link below.

*`Link to download eLinux_pkg.sh`*

Download and execution steps of the script are as follows.

`Ubuntu@pc:~$ gedit elinux_pkg.sh`

Add the following code int the text editor (In my case it is gedit).

`sudo apt-get update`\
\
`sudo apt-get -y install git-core flex bison gperf libesd0-dev zip libwxgtk2.6-dev zlib1g-dev build-essential gettext texinfo`\
\
`sudo apt-get -y install  fakeroot gnupg libsdl1.2-dev squashfs-tools uboot-mkimage expect libncurses5-dev`\
\
`sudo apt-get -y install minicom lrzsz tftpd-hpa nfs-kernel-server nfs-common portmap patch vim gawk`\
\
`sudo apt-get -y install xinetd tftpd tftp qtcreator ctags quilt`\
\
`echo; echo "your setup is completed “; echo; echo "all the best";`

Save and Exit..........

Add executable permission to elinux\_pkg.sh by “chmod”

`Ubuntu@pc:~$ chmod +x elinux_pkg.sh`

Type the following command to execute the script

`Ubuntu@pc:~$ sh elinux_pkg.sh`

**Congratulations!! Your PC is now ready with Ubuntu-Linux basic prerequisite......**

**Note: If you are facing any difficulties in this step, visit our YouTube channel "**[**ruggedboard**](https://www.youtube.com/channel/UCgMkalLnAn4rGRJ89FFdfSw)**" for video demonstrations.**

Follow the next sections to understand Linux commands.
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ruggedboard.gitbook.io/ruggedboard/quick-start-with-rb/pre-requisite/host-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
