# 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="https://3659589761-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbvnQRGvCTc2Zmsi6BG%2F-Lc-tMJ65hO6FeUZ57Rs%2F-Lc-t_EE2WNoOEngc-t4%2Fimage.png?alt=media&#x26;token=0611aa47-bd37-4dee-be69-7a0edd9f68a5" alt="Terminal Icon"></div>

<div align="center"><img src="https://3659589761-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbvnQRGvCTc2Zmsi6BG%2F-Lc-tMJ65hO6FeUZ57Rs%2F-Lc-tlZFvv7ZJ6qQYI5S%2Fimage.png?alt=media&#x26;token=7237e61a-f698-4d1e-95b6-6a48b4f88467" 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 %}
