Install XAMPP on Ubuntu 22.04

Dmit
2 min readFeb 7, 2023

XAMPP is an open-source cross-platform web server solution stack package that provides the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. Installing XAMPP on Ubuntu 22.04 is a simple process that can be done in a few easy steps.

Install XAMPP on Ubuntu 22.04

  1. Go to the official XAMPP website (https://www.apachefriends.org/download.html) and download the XAMPP package for Linux.
  2. Move the downloaded package to the desired location, such as the Desktop or Downloads folder.
  3. Open the terminal and navigate to the location where the XAMPP package is stored.
  4. Extract the XAMPP package using the following command:
tar xzf xampp-linux-x64-7.4.16-0-installer.run

Replace “xampp-linux-x64–7.4.16–0-installer.run” with the name of the XAMPP package that you downloaded.

Make XAMPP Package Executable

Give execute permission to the XAMPP package using the following command:

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

Confirm the Execute Permission

Confirm the execute permission of the XAMPP package using the following command:

--

--