If you want to use a GUI-based editor, or just have the experience of interacting with a GUI-based Linux system, you can do a full install of Ubuntu in VirtualBox. Here’s how I usually do it.
- Install VirtualBox. (If you installed Vagrant previously, you probably have it already.)
- Download one of the Ubuntu ISO images from their website. I’d suggest installing Xenial—it’s fairly new, a LTS (Long Term Support) version, and we’ve package the OS/161 toolchain for it. Given that you want a desktop, you want a desktop version, and probably a 64-bit one.
- Create a new virtual machine in VirtualBox. The number of CPUs and memory you add to the machine are not that critical since they are easy to change later. However, it is a real PITA (though possible) to add disk space later. So choose a disk size that is appropriate. The Xenial installation that I did this morning required ~5GB just for the base system. 8GB is tight, but workable; 16GB should be plenty. VirtualBox also allows you to set up the disk so that it expands as needed up to the maximum capacity, which is the default option and a good one.
- The first time that you start your new VM it will prompt you for a disk. Point it at the ISO image that you downloaded in step 2 and it will start the installation process as if you were installing on bare metal.
- Once you finish the install, your VM will run faster and smoother if you install what are called the guest additions. These allow the guest OS to communicate and interact more efficiently with the host OS. VirtualBox has instructions on how to do this. You can also just install the
apt-get. I did that earlier and it worked fine, and is easier than installing the additions manually.
- At this point follow the instructions on how to install the
os161-toolchainpackage from our PPA. And then continue with the rest of the tutorial. You may need to install other software packages as well—my version lacked Git. But that’s easy. Usually
apt-get install <whatever you want>will do the right thing.