Editing COMP 3000 2011 Report: Ubuntu Studio
Background
Initially released May 10, 2007, Ubuntu Studio is an officially recognized derivative of the Ubuntu distribution (based on Debian GNU/Linux) and, like Ubuntu, is developed by Canonical Ltd. and the Ubuntu Foundation and follows the same release schedule.
Focusing on audio, video and graphic enthusiast and professionals, the goal of the distribution is two-fold; to showcase the available tools Linux has to offer in multimedia production, and to provide an ehanced and streamlined environment for those tools.<ref>slavender (2011, 05 19). UbuntuStudio. Retrieved 10/19/2011, from Ubuntu Wiki: https://wiki.ubuntu.com/UbuntuStudio</ref>
Although based on Ubuntu, Ubuntu Studio contains additional configurations and software that results in the distribution being nearly twice as large as standard Ubuntu. The iso image is 1.5 GB (with a 3.5 GB full installation, including all bundled applications) and does not fit on a standard CD, although it can be installed using a DVD or USB drive. Ubuntu Studio’s current and archived releases are available from their official website.
Installation/Startup
For this guide, Ubuntu Studio was installed on the virtualization software VirtualBox version 4.1.2 by Oracle. Alternatively, you can burn the iso image to a DVD (CD is too small) or USB drive to install on real hardware.
Setting up a Virtual Machine
Start VirtualBox and click the "New" button. This will open the New VM creation guide. Click "Next". Enter the name of your new virtual machine, and select "Linux" as the Operating System and "Ubuntu" as the version. Select an apropriate amount of memory for the VM. I chose 1024 MB for better performance. Next, select "Create new hard disk" and click "Next". The format for our purpose is not important, I chose the default VDI format. Click "Next" and choose the "dynamically allocated" hard-drive option and click "Next". Now choose the hard-drive size, I chose 8 GB. Click "Next" then "Create" to create your new virtual machine. Now start your new VM by double clicking it, then choose the iso image from your hard-drive as the virtual disc.
Installing Ubuntu Studio
This guide is for installing Ubuntu Studio 11.04 Natty Narwhal. In contrast to standard Ubuntu, Ubuntu Studio does not have a graphical installer and has more installation options.
- Select the language for the installation. I chose English.
- You will see the initial installation screen that gives you the option to check disc defects, test memory, etc. Choose the "Install Ubuntu Studio" option.
- Select your language, I chose English, and country, I chose Canada.
- For the default keyboard configuration I opted to choose from the list. I selected USA, USA.
- Ubuntu Studio will now load additional components.
- You will be prompted to choose a hostname. This name is your computers identifier on the network. I chose "ubuntu-studio-machine."
- You will then be prompted to confirm your time-zone. For simplicity we said the given time-zone was incorrect and opted to select "Toronto" from the listed zones available. Choose the city that represents your time-zone.
- For the partitioning of the disk, I chose a guided partition of the entire disk.
- Select the partition and choose yes to write changes to disk.
- "Installing the base system" loader appears to install additional components.
- You can select your user and password.
- You have the option to encrypt your home network, incase your computer is comprimised. For my purposes I chose not to.
- I left the proxy blank also, as it was not needed.
- The installation now configures files. You are now able to select the type of software that you want. The suite/plugin names are fairly self-explanatory; 2D/3D creation is for graphic/image processing, Audio recording and editing, LADSPA/LV2/DDSI and Tone generation and editing are audio manipulation software, and Video creation and editing is video production. Be sure to use the space bar to select each option. Only press Enter when you have made all of your selections. I opted to install all software.
Available Bundled-Software Suites/Plugins
The bundled software suites/plugins can be customized on install. We opted to install all software. All bundled software is also available in the Ubuntu repository, and can be accessed after install.
- Bundled software suites/plugins:
- 2D/3D creation and editing suite
- Audio recording and editing suite
- LADSPA/LV2/DDSI audio plugin
- Tone generation and editing suite
- Video creation and editing suite
Basic Operation
A nice feature offered in Ubuntu Studio was the ability to easily view the software already installed on the system. Also available was a full list of software that can be easily installed should the user desire it. Under Get Software there are 312 items, ranging from an adobe flash plug-in to a guitar effects processor, available to install at the users convenience. Ubuntu Studio typically uses a real-time kernel that has been modified to handle intensified audio, video or graphics works. This can be achieved since applications are able to request immediate CPU time reducing audio latency. The file system in this distribution is identical to that of the vanilla Ubuntu which makes it easier for those already familiar with Ubuntu to use.[1]
The Kernel
Ubuntu Studio offers a real-time kernel that has been modified to handle intensified audio, video or graphics works. This can be achieved since applications are able to request immediate CPU time reducing audio latency.
In the 10.x version of Ubuntu Studio three kernel options are offered: the generic kernel, preempt kernel and rt (real-time) kernel.
Recommendations for which kernel should be used are as follows: If low latency is not a strict requirement for the user’s needs then they are advised to use the generic kernel. However, if the user needs a system with low latency and has a 64-bit machine, then the recommendation is to use the preempt kernel. The preempt kernel is a soft real-time kernel which means that not all deadlines may be met (as with a hard real-time kernel) but a certain portion of deadlines will be met with the goal of optimizing some application-specific criteria. <ref>craigs63. (2011, 08 23). UbuntuStudioRealTimeKernel. Retrieved 10 17, 2011, from Ubuntu Documentation: https://help.ubuntu.com/community//RealTimeKernel</ref> And if the preempt kernel is still not enough for the user’s needs the last option is the rt kernel. The rt kernel is a hard real time kernel. Hard means that if the system were to miss a deadline it would result in a total system failure. Therefore, the goal is to have every deadline met. <ref>Real-time computing. (2011, October 19). Retrieved October 17, 2011, from Wikipedia: http://en.wikipedia.org/wiki/Real-time_computing#Hard_and_soft_real-time_systems</ref>
Therefore, as a whole, given the nature of Ubuntu Studio's varying audio, video and graphic capabilities and requirements, it would be futile if there were high delays. For this reason, different Kernel’s are offered to allow the user to decide what they need. Unfortunately, with the 11.04 release of Ubuntu Studio the generic kernel is the only option currently offered. This kernel is usually recommended if low latency is not a requirement, however at this time there is no other option. There is a comment in the release notes for this version that inform the user that there is a planned low-latency kernel. There is no current time frame for this update.<ref>Vachan. (2010, 05 14). UbuntuStudioWhatIsUbuntuStudio. Retrieved 10 17, 2011, from Ubuntu Documentation: https://help.ubuntu.com/community/What%20Is%20Ubuntu%20Studio</ref>
The file system in Ubuntu Studio is identical to that of the vanilla Ubuntu which makes it easier for those already familiar with Ubuntu to use.
Usage Evaluation
As a whole Ubuntu Studio seems to have a lot to offer. There is a clear goal of offering software specific for image, audio and video processing. If a user has a specific need for multimedia or simply wanted to experiment, Ubuntu Studio would be a good choice.
From a GUI perspective, much of the distribution is similar to Ubuntu, however there are some small differences. Such as the "Places" and "System" menu options not appearing on the task-bar by default. Slight changes like this appear to help differentiate Ubuntu Studio from Ubuntu without adding any real benefit.
The size of this distribution is pretty large, 3.7GB in size which makes download time long. The expected download time for this distribution at the Computer Science lab was 7 hours therefore installation was done on our laptops.
A disappointing aspect of Ubuntu Studio was the kernel. Most of the documentation has not been updated for the 11.x release. Thus, the advertised kernel was a real-time kernel. I was excited to see if I could notice any performance difference with a real-time kernel and how this would affect latency. I was disappointed to learn this release only shipped with the generic kernel.
That being said, Ubuntu Studio has a nice theme, is easily adaptable and serves it's function. I believe it really works towards their targeted audience. It also appears to meet their goals of demonstrating image, audio and video software capabilities on Linux; as it seems to offer all the software a user would need. Moreover, it has access to the Ubuntu software repository; allowing it to offer the same capabilities as Ubuntu. Another advantage is that there seems to be a lot of documentation surrounding Ubuntu Studio. Similarly, there is a community forum for any questions.
Part II
Due: November 14, 2011 The goal for Part II is for you to investigate and report what software is in your chosen distribution and how it is put together. My preference is that you work with the same distribution as for Part I. If you switch distributions, please include a background section as in Part I.
Software Packaging
How is software packaged for this distribution?
What packaging format and utilities are used?
Advanced Packaging Tool is the Ubuntu studio package manager. The Graphical User Interface for APT is the Synaptic Package Manager by using the APT library, which then relies on dpkg for core functionality.
The packages can be found in /etc/apt/sources.list [7]
How can you use these utilities to get a list of installed packages?
How do you add and remove packages?
The user can add and remove packages through Advanced packaging tool, the GUI front-end in Ubuntu studio is Synaptic Package Manager. This APT front-end has the capability to upgrade the system to a new release, search for new packages, upgrade existing packages and install/remove packages.[5] The package manager also gives access to the same repositories available to the main Ubuntu distribution. Also software can be added through the following commands: "sudo apt-get update" and "sudo apt-get install ubuntu-restricted-extras", you will need to enter a password for this. [6]
How extensive is the software catalog for this distribution?
Please also include any other relevant information on the software packages associated with your distribution.
5. http://en.wikipedia.org/wiki/Advanced_Packaging_Tool
6. http://en.wikipedia.org/wiki/Ubuntu_Studio
7. http://en.wikipedia.org/wiki/Package_management_system#Common_package_management_systems_and_formats
Major package versions
Report on the version numbers and upstream source (URL of original source) for some of the major software packages included in your distribution as part of the standard install: Linux Kernel or other kernel libc X.org or other GUI foundation Major GUI toolkits (Gtk+, Qt, Motif, etc.) shell (bash, csh, etc.) utilities (ls, ps, busybox) software packaging (rpm, dpkg, etc.) Web browser email other packages that are key to system usage Choose at least 10 packages that fit into this list (you don't need to cover every category) and report the following: What is the vintage of the included package? How old is it, and how far is it behind the latest stable release for this package? How heavily has the package been modified by the distribution authors? (You'll need to figure out how to determine this.) Why do you think this particular package was chosen for this distribution's standard install? You may speculate, but please make an argument informed by relevant facts.
Initialization
Here describe how your distribution initializes itself. Specifically, give an outline of what programs are executed and in what order. Also document how you discovered this information. You do not need to include every program; however, you should be able to identify at least five major programs that are run. Note that you should provide an explanation for how all of the major processes end up running on a fully initialized system.
References
<references />