Install XAMPP In Ubuntu – XAMPP For Linux Installation Guide

Last updated on August 18th, 2017

Whenever someone tries to modify something on a live website/server, it is always something risky. Unless you are an expert, you will not be able to guarantee what would work and what will not. Instead, you will end up breaking the whole functionality of the site. So, if you do not want to break your bank, it is always safe to try things offline first. XAMPP for Linux is a viable solution for those web tinkerers. In this article, you will get to know how to install XAMPP in Ubuntu.

It is definitely awesome when you get the ability to test things offline. The reason – you get the power to try almost anything you like. You get the freedom to try out experimental things that typically come with the tag “implement at your own risk.” In either case, if you are not a complete web expert, you should get to know what XAMPP is, what can be done using it, and how to install XAMPP in Ubuntu.

What is XAMPP?

XAMPP is a bundled software for integrating basic web server solution packages offline. It is an open source project. In other words, XAMPP can be described as an offline web server package.

XAMPP” seems to be a weird name. However, the name arrives by the combination of some technical terms.

X —->  Cross-Platform
A —->  Apache
M —>  MariaDB
P —-> PHP
P —-> Perl

Availability

As mentioned above, X – stands for -> cross-platform. So, you can be sure that XAMPP is available for Linux, Windows, and Mac OS X as well.

What can you do with XAMPP installed in Ubuntu?

We already know what it is, but what about its application? What are the things that you can do after you get to know the procedure to install XAMPP in Ubuntu?

Scratching your head? Don’t worry; we will help you with that as we have compiled the following points that probably sums up everything you can achieve with XAMPP installed.

  • Set up WordPress Offline
  • Install Joomla Offline
  • Install Drupal Offline
  • Get to know about Cloud Tools offline
  • Try Application Security Tools offline
  • Experiment with the Binary Repository
  • Install phBB Offline
  • Practise Bug Tracking
  • Photo Sharing service creation demo
  • Master marketing automation offline
  • Integrate & Learn about e-Commerce, eLearning, and Social Networking
  • Learn to Manage a Forum
  • Set up a portal server
  • Try Collaboration tools and learn more about it

These are some of the most important things that you can do after you install XAMPP in Ubuntu. There are several others which you would get to know eventually as you use it and explore more about it.

Steps To Install XAMPP In Ubuntu

1. Download XAMPP Package for Ubuntu

Head over to XAMMP’s official download page to choose the one you want to install. You would observe the download section for Linux when you scroll down. Depending on your computer architecture (32-bit or 64-bit), download any one of them and install XAMP in Ubuntu. If you know the exact PHP version that you need, choose the appropriate one.

You May Also Like – Optimus Plugin For WordPress: Quick Review

2. After the download completes, navigate your way to the folder where the file resides using the following command.

Note: Type the commands by opening the Terminal (press ctrl + alt  + T). Here, our file exists on “Downloads” directory.

Here’s what you have to type:

cd Downloads

terminal commands - linux ubuntu 3. Convert the downloaded file to an executable form by typing the following command:

Additional note: Use the exact file name you have downloaded. The following example uses a 64-bit installation file with PHP 5.5.37

chmod +x xampp-linux-x64-5.5.37-0-installer.run

executable form linux

4. Now, run the installer as the root user using sudo command

sudo ./xampp-linux-x64-5.5.37-0-installer.run

running the xampp installer
The installer opens after entering the mentioned command

5. Now that you have opened the installer. All you have to do now is – follow the on-screen instructions to complete the setup. 

Final Setup Process To Install XAMPP in Ubuntu

We will guide you through the final setup procedure as well. Here’s what you need to do:

xampp setup

6. Click on “Next.”

7. Now, you will get to choose the components to install. Leave as it is. And, click “Next.”

xampp setup - components to install

8. You will observe the installation directory as opt/lampp. There’s nothing to be done here. Just don’t miss knowing the directory where it gets installed. Now, click “Next.”

xampp installation directory

9. Bitnami would be installed by default to enable access to some modules (as you can see in the image below) that you can utilize. Finally, click “Next” to start the installation.

bitnami installation

10. You will have to wait for a few minutes (3-5 mins) for the installation to complete. After the installation is done, click “Finish.”

installation of xampp

11. Now, you will be greeted with the XAMPP control center dialogue box.

xampp latest

12. Click on “Go To Application” to get started. Voila! It is done!

So, finally, you have successfully installed XAMPP on Ubuntu. Encountered an error? Can’t start the Apache server? Let me know through the comments section below if you encounter any problems in setting up XAMPP successfully.

Also Read:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top