> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How To Install And Configure Ubuntu SDK In Ubuntu 16.04 & 14.04
- URL: https://itsfoss.com/install-configure-ubuntu-sdk/
- Published: 2015-04-04T11:37:23.000Z
- Updated: 2023-01-11T09:56:11.000Z
- Author: Abhishek Prakash
- Tags: Ubuntu, #Import 2022-12-26 08:27

[![Install and configure Ubuntu SDK in UBuntu 14.04, 14.10, 15.04](https://itsfoss.com/content/images/wordpress/2015/04/Install_Configure_Ubuntu_SDK.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Install%5FConfigure%5FUbuntu%5FSDK.jpeg)

If you are looking to develop applications for Ubuntu, you need to **install Ubuntu SDK** (Software Development Kit). Ubuntu SDK is based on [Qt Creator](http://www.qt.io/developers/?ref=itsfoss.com) (IDE for Qt development) and tailored for developing apps for Ubuntu and Ubuntu Touch. While I am not going to teach you Qt development, I can surely show you how to **install and configure Ubuntu SDK in Ubuntu 16.04 and 14.04**. You can work on your own thereafter as tons of help is available online.

## Install Ubuntu SDK in Ubuntu 16.04 & 14.04

Since it relates to Ubuntu, no wonder Canonical has provided an official PPA to easily install Ubuntu SDK in Ubuntu 16.04 and 14.04\. Open a terminal and use the following commands:

```
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get install ubuntu-sdk
```

It will download and install Ubuntu SDK. Note that it downloads around 1 GB of data for Ubuntu SDK. So keep your internet connection and data charges in mind. Installing the Ubuntu SDK is the easy part. What might confuse you as a newbie, is how to configure Ubuntu SDK for development. We are going to see it in next section.

## Configure Ubuntu SDK

Search in Dash for Ubuntu SDK. Note that you’ll find both Qt creator and Ubuntu SDK installed. Always use Ubuntu SDK if you are aiming to develop applications for Ubuntu.

[![Run Ubuntu SDk in Ubuntu](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK.jpeg)

When you run the Ubuntu SDK for the first time, it will take you to a number of steps to configure the SDK.

[![Welcome screen Ubuntu SDK](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_1.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F1.jpeg)

Next step is to create a kit. Basically, this means the architecture and version of Ubuntu you are targeting for. You can create and add multiple kits. It’s not a big deal. For the sake of emulator to work fine, Ubuntu suggests to use i386 architecture.

[![Create kit in Ubuntu SDK](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_2.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F2.jpeg)

As I said, you can choose whatever architecture and Ubuntu version you want and you can add as many Kits as you want.

[![Configure_Ubuntu_SDK_3](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_3.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F3.jpeg)

You’ll have to enter your admin password here:

[![Configure_Ubuntu_SDK_4](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_4.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F4.jpeg)

Once you do this, you’ll see a screen like this:

[![generating Ubuntu SDK kit](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_5.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F5.jpeg)

It will take few minutes to generate the kit. Once generated, you’ll have the option to close this screen:

[![Ubuntu SDK kit generated](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_6.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F6.jpeg)

When you have generated a kit, select the kit and move to the next screen:

[![Configure_Ubuntu_SDK_7](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_7.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F7.jpeg)

You’ll be asked to create an emulator. You should create one so that you won’t need a physical device for testing your apps.

[![Create an emulator](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_8.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F8.jpeg)

Once you do this, you’ll be greeted with welcome screen of Ubuntu SDK. You’ll see plenty of examples and tutorials here.

~~[![Ubuntu SDK Welcome Screen](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_9.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F9.jpeg)~~

We are almost done with configuring Ubuntu SDK. We just need to verify if the SDK is working fine or not. To do this, you can open a demo project from examples and run it. The problem you’ll face here is that the examples are stored in a location that needs super user access. So, Ubuntu SDK will give you an option of copying the demo project to a location that doesn’t require super user access, such as home directory.

But the problem won’t be solved by this. Because it will copy just the demo project. And the demo project have files that are using header files from other projects. So at the en you’ll be seeing lots of error and the project won’t run successfully.

To get rid of this issue, what I did was to copy the whole examples directory from /usr/lib/x86\_64-linux-gnu/qt5/examples/quick

```
cd ~
mkdir qt_examples
cp -r /usr/lib/x86_64-linux-gnu/qt5/examples/quick qt_examples
```

Once you have copied the whole directory, in the Ubuntu SDK, go to Projects and open the project from quick/demo.

[![Configure_Ubuntu_SDK_12](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_12.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F12.jpeg)

Run the demo project.

[![Run a project in Ubuntu SDK](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_13.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F13.jpeg)

If it is properly configured, you should see the demo application screen.

[![Run apps in Ubuntu SDK](https://itsfoss.com/content/images/wordpress/2015/04/Configure_Ubuntu_SDK_14.jpeg)](https://itsfoss.com/content/images/wordpress/2015/04/Configure%5FUbuntu%5FSDK%5F14.jpeg)

That’s it. I hope this tutorial helped you to install and configure Ubuntu SDK in Ubuntu 16.04 and other higher versions. Good luck with creating new apps for Ubuntu. If interested, you can read about [how to create webapp for Ubuntu Phone](https://itsfoss.com/create-web-app-ubuntu-phone/ "How To Create A Web App For Ubuntu Phone").