• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » How To Install SBT and Scala on Ubuntu Server

By Abhishek Ghosh July 10, 2018 1:12 pm Updated on July 10, 2018

How To Install SBT and Scala on Ubuntu Server

Advertisement

sbt is a build tool for Scala and Java projects Like Apache Maven, Apache Ant. In our previously published guides, we have shown the steps to install Apache Maven and Gradle. Here Are The Steps on How To Install SBT and Scala on Ubuntu Server. This tool also not uncommon need while installation of Big Data tools. Initially full form of sbt was Simple Build Tool, but it is now known simply as “sbt”, has no other meaning. SBT natively support for compiling Scala code, continuous compilation, testing, and deployment and supports mixed Java/Scala projects. It’s dependency management is by using Ivy which as previously discussed supports Maven-format repositories.

How To Install SBT and Scala on Ubuntu Server

 

How To Install SBT and Scala on Ubuntu Server

 

Update, Upgrade and install the software-properties-common package :

Vim
1
2
3
apt update -y
apt upgrade -y
apt install software-properties-common apt-transport-https -y

Add the ‘webupd8team’ PPA repository to the server :

Advertisement

---

Vim
1
2
sudo add-apt-repository ppa:webupd8team/java -y
apt upgrade

Install the Java 8 installer from the PPA repository :

Vim
1
apt install oracle-java8-installer -y

Accept the Oracle License by choosing the ‘YES’ button. Check the java version :

Vim
1
java -version

Set Java environment variables and Oracle JDK8 as default :

Vim
1
apt install oracle-java8-set-default

Check Java compiler version :

Vim
1
javac -version

Remove any old version of Scala :

Vim
1
sudo apt-get remove scala-library scala

Download latest Debian installer for Ubuntu & deb Linux distro :

Vim
1
https://www.scala-lang.org/download/

Install it, example is with version 2.12.6 :

Vim
1
2
3
4
wget https://downloads.lightbend.com/scala/2.12.6/scala-2.12.6.deb
sudo dpkg -i scala-2.12.6.deb
apt update
apt install scala

As for SBT, official steps for Ubuntu 16.04 LTS is :

Vim
1
2
3
4
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbt

Official documentation can be read on :

Vim
1
https://www.scala-sbt.org/1.x/docs/index.html

That is it.

Tagged With windows install sbt , sudo apt-get install sbt on windows , scala sbt install ubuntu , sbt java ubuntu , sbt donwload on ubuntu windows , install scala offline ubuntu , install sbt ubuntu , how to install sbt ubuntu , how to install sbt and scala , how to download sbt tool using wget
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Install SBT and Scala on Ubuntu Server

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Install Apache Zeppelin On Ubuntu 16.04

    Zeppelin Can Be Pre-Built Package Or Can Be Build From Source. Here Is How To Install Apache Zeppelin On Ubuntu 16.04 Building From Source.

  • Install Apache Spark on Ubuntu Single Cloud Server With Hadoop

    Here is How to Install Apache Spark on Ubuntu Single Cloud Server With Hadoop and Also Without Hadoop. Everything is Explained in Plain English.

  • Install Elastic Stack on Ubuntu 16.04, CentOS 7 Single Cloud Server

    Here is How to Install Elastic Stack on Ubuntu 16.04, CentOS 7 on Single Cloud Server Instance For Server Log Analysis, Big Data Processing.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy