sudo mkdir /opt/sonarqube
Step 2: Once the directory is created, update the permissions so that the sonarqube user will be able to read and write files in this directory:
sudo chown -R sonarqube:sonarqube /opt/sonarqube
Step 3: SonarQube releases are packaged in a zipped format, so install the unzip utility using your package manager so you can extract the distribution files:
sudo apt-get install unzip