|Deletions are marked like this.||Additions are marked like this.|
|Line 17:||Line 17:|
|If you have already downloaded an image for the current release (eg. Vivid), you can update the image by using '''rsync''' or '''zsync'''. The commands you need in order to do this can also be found in the download information page.||If you have already downloaded an image for the current release (eg. Vivid), you can [[QATeam/DevelopmentSetup/SyncImage|update]] the image by using '''rsync''' or '''zsync'''. The commands you need in order to do this can also be found in the download information page.|
Setting up a development installation
Obtaining an image
Downloading an image for the first time
Daily images of Ubuntu development are available on the cdimage server. For a development install, you will want to get either the most recent daily or the current milestone build.
As an example, the latest Ubuntu daily image can always be found at http://cdimage.ubuntu.com/daily-live/current/.
You will get the correct download link for your product (and the milestone, when needed) from the QA Tracker, after you have selected the milestone (daily, Alpha, Beta...) on the left hand side of the product of your choice in the product listing.
Syncing, or updating, a previously downloaded image
If you have already downloaded an image for the current release (eg. Vivid), you can update the image by using rsync or zsync. The commands you need in order to do this can also be found in the download information page.
Get ready to install
Once you have an image you start preparing to install it into a virtual machine, such as VirtualBox, or onto physical hardware.
Creating and booting a virtual machine
To be able to run Ubuntu in a virtual machine, you will need to have virtualization software, such as VirtualBox, installed. You can install VirtualBox via the Ubuntu Software Center or by running sudo apt-get install virtualbox.
Once you have VirtualBox installed and have started it, you are ready to create a virtual machine. Click New and follow the wizard to create a virtual machine container for your installation. The default settings are usually good if you have no preference to change them.
When you have created the virtual machine, select the virtual machine you just created and click Start. When the virtual machine is starting, you will be prompted for a start-up disk. Click the Choose a virtual optical disk file... icon (at the right hand side) and navigate to the image you just downloaded, click Open and then Start.
If everything has succeeded, VirtualBox will now boot the installation media inside the virtual machine and you can start running the tests.
In addition to VirtualBox, there are other virtualization options available. These include, but are not limited to KVM and VMWare.
Creating installation media for hardware
The instructions on how to create a bootable USB stick from your downloaded image can be found here.
Alternative tools for creating a bootable USB stick include Disks from gnome-disk-utility. A method of creating a stick with that tool can be found at the Creating the image section here.
When you install a development installation on hardware, it's good to remember that development versions aren't suitable for production machines. When installing, always take backups of important data and be prepared for the situation when the machine doesn't boot correctly. If you can, use a separate hard drive for the testing environment and dual-boot it with your main OS.
After installation, you can keep your system updated the same as a typical installation. Use the update manager to update as new packages arrive. Alternatively utilize the command line via sudo apt-get update && sudo apt-get dist-upgrade.
Be very careful that your upgrade is not holding back or removing essential packages. If you encounter an upgrade that looks suspect, it's best to wait and try again at a later time. The archive state in general should be kept clean, but a partial upgrade is possible.