Setting up Scala development environment on Ubuntu

This is a simple step-by-step guide on how to install Scala development environment on Ubuntu.

  1.  Install Java SDK. Here is a simple guide on how to install Java using apt-get.
  2. Install SBT. Either manually download sbt from here and unpack it or use this instruction to get it with apt-get:
    echo "deb /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
    sudo apt-key adv --keyserver hkp:// --recv 642AC823
    sudo apt-get update
    sudo apt-get install sbt
  3. If you plan to use Eclipse for Scala development you can download preconfigured version from here.

Creating new disk in linux

# fdisk /dev/vdc
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-209715199, default 2048):

Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-209715199, default 209715199):
Using default value 209715199

Command (m for help): w
The partition table has been altered!

# mkfs.ext4 /dev/vdc1
#mount /dev/vdb1 /database
#df -h