O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing SonarQube on Ubuntu

To install SonarQube on Ubuntu, we must first make sure we are on the correct Java version. You can check your version using the java -version command. It should be on 8. If you have followed this tutorial, your Java version will not be what SonarQube expects. So, let us first install Java. The add-apt-repository command is new to us. It adds a PPA, or Personal Package Archive, to the repository, telling Ubuntu it should look for updates from that specific package:

sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get -y install oracle-java8-installer[Ok][Yes]java -version

Now, we can download the SonarQube package and add it to the apt-get sources. You can find the installation steps in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required