• About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy Policy
  • Change the purpose of use

Tnhelearning.edu.vn - Various useful general information portal

  • Photo
  • Bio
  • How To
  • Tech

How to Install XAMPP on Linux

November 16, 2023 by admin Category: How To

You are viewing the article How to Install XAMPP on Linux  at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.

XAMPP is a popular software package that allows users to easily set up a local web server environment on their Linux operating system. It is widely used by developers and website creators for testing and deploying web applications efficiently. Installing XAMPP on Linux not only provides users with a localhost environment for website development but also includes essential tools such as Apache web server, MySQL database server, PHP, and Perl interpreters all bundled into one convenient package. In this guide, we will walk you through the step-by-step process of installing XAMPP on Linux, ensuring you have a fully functional web server setup on your system in no time.

X

This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.

The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.

This article has been viewed 14,659 times.

This wikiHow teaches you how to install and run the XAMPP software on a Linux computer.

Table of Contents

  • Steps
    • Install XAMPP
    • Launch XAMPP
  • Advice
  • Warning

Steps

Install XAMPP

Image titled Install XAMPP on Linux Step 1

Image titled Install XAMPP on Linux Step 1

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/a9/Install-XAMPP-on-Linux-Step-1-Version-2.jpg/v4-728px-Install-XAMPP- on-Linux-Step-1-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/a9/Install-XAMPP-on-Linux-Step-1- Version-2.jpg/v4-728px-Install-XAMPP-on-Linux-Step-1-Version-2.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight” :410,”licensing”:”<div class=”mw-parser-output”></div>”}
Open the XAMPP download page. Go to https://www.apachefriends.org/index.html using a web browser on your computer. This is the official XAMPP software download page.
Image titled Install XAMPP on Linux Step 2

Image titled Install XAMPP on Linux Step 2

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/0e/Install-XAMPP-on-Linux-Step-2-Version-2.jpg/v4-728px-Install-XAMPP- on-Linux-Step-2-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/0/0e/Install-XAMPP-on-Linux-Step-2- Version-2.jpg/v4-728px-Install-XAMPP-on-Linux-Step-2-Version-2.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight” :410,”licensing”:”<div class=”mw-parser-output”></div>”}
Click XAMPP for Linux (XAMPP for Linux). This option is in the middle of the page. The XAMPP setup file will begin downloading to your computer.

  • You may need to click Save File or select the “Downloads” folder as your save location before continuing.
READ More:   How to Remove Turmeric Stain
Image titled Install XAMPP on Linux Step 3

Image titled Install XAMPP on Linux Step 3

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/f/fe/Install-XAMPP-on-Linux-Step-3-Version-2.jpg/v4-728px-Install-XAMPP- on-Linux-Step-3-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/f/fe/Install-XAMPP-on-Linux-Step-3- Version-2.jpg/v4-728px-Install-XAMPP-on-Linux-Step-3-Version-2.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight” :409,”licensing”:”<div class=”mw-parser-output”></div>”}
Allow the download to complete. Once the XAMPP installation file has downloaded to your computer, you can continue.
Image titled Install XAMPP on Linux Step 4

Image titled Install XAMPP on Linux Step 4

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/74/Install-XAMPP-on-Linux-Step-4-Version-2.jpg/v4-728px-Install-XAMPP- on-Linux-Step-4-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/7/74/Install-XAMPP-on-Linux-Step-4- Version-2.jpg/v4-728px-Install-XAMPP-on-Linux-Step-4-Version-2.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight” :409,”licensing”:”<div class=”mw-parser-output”></div>”}
Open Terminal. Click on the black framed Terminal application icon with a white “>_” inside.

  • Or you can just press Alt + Ctrl + T to open a new Terminal window.
Image titled Install XAMPP on Linux Step 5

Image titled Install XAMPP on Linux Step 5

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/a5/Install-XAMPP-on-Linux-Step-5-Version-2.jpg/v4-728px-Install-XAMPP- on-Linux-Step-5-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/a5/Install-XAMPP-on-Linux-Step-5- Version-2.jpg/v4-728px-Install-XAMPP-on-Linux-Step-5-Version-2.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight” :410,”licensing”:”<div class=”mw-parser-output”></div>”}
Switch to the “Downloads” folder. Type the command cd Downloads and press ↵ Enter .

  • You need to make sure that “Downloads” is capitalized.
  • If the default download folder is another folder, you need to switch to that folder.
Image titled Install XAMPP on Linux Step 6

Image titled Install XAMPP on Linux Step 6

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/30/Install-XAMPP-on-Linux-Step-6.jpg/v4-728px-Install-XAMPP-on-Linux- Step-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/3/30/Install-XAMPP-on-Linux-Step-6.jpg/v4-728px-Install- XAMPP-on-Linux-Step-6.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight”:410,”licensing”:”<div class=”mw-parser -output”></div>”}
Execute downloaded file. Type the command chmod +x xampp-linux-x64-7.2.9-0-installer.run and press ↵ Enter . [1] X Research Source

  • If you downloaded a different version of XAMPP (eg version 5.9.3), replace “7.2.9” with the actual version number.
Image titled Install XAMPP on Linux Step 7

Image titled Install XAMPP on Linux Step 7

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/6/61/Install-XAMPP-on-Linux-Step-7.jpg/v4-728px-Install-XAMPP-on-Linux- Step-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/6/61/Install-XAMPP-on-Linux-Step-7.jpg/v4-728px-Install- XAMPP-on-Linux-Step-7.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser -output”></div>”}
Enter the install command. Type sudo ./xampp-linux-x64-7.2.9-0-installer.runand press ↵ Enter .
Image titled Install XAMPP on Linux Step 8

Image titled Install XAMPP on Linux Step 8

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/8a/Install-XAMPP-on-Linux-Step-8.jpg/v4-728px-Install-XAMPP-on-Linux- Step-8.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/8/8a/Install-XAMPP-on-Linux-Step-8.jpg/v4-728px-Install- XAMPP-on-Linux-Step-8.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser -output”></div>”}
Enter your password when asked. Type the password that you use to log in to the computer, then press ↵ Enter . The installation window will appear.

  • The character in the password will not be visible in the Terminal as you type.
Image titled Install XAMPP on Linux Step 9

Image titled Install XAMPP on Linux Step 9

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/6/63/Install-XAMPP-on-Linux-Step-9.jpg/v4-728px-Install-XAMPP-on-Linux- Step-9.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/6/63/Install-XAMPP-on-Linux-Step-9.jpg/v4-728px-Install- XAMPP-on-Linux-Step-9.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight”:410,”licensing”:”<div class=”mw-parser -output”></div>”}
Follow the installation instructions. After the installation window appears, please:

  • Click Next three times.
  • Uncheck the “Learn more about Bitnami for XAMPP” box.
  • Click Next and then Next again to start the XAMPP installation.
Image titled Install XAMPP on Linux Step 10

Image titled Install XAMPP on Linux Step 10

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/a9/Install-XAMPP-on-Linux-Step-10.jpg/v4-728px-Install-XAMPP-on-Linux- Step-10.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/a9/Install-XAMPP-on-Linux-Step-10.jpg/v4-728px-Install- XAMPP-on-Linux-Step-10.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:408,”licensing”:”<div class=”mw-parser -output”></div>”}
Uncheck the “Launch XAMPP” box (Launch XAMPP). This option is in the middle of the last settings window.

  • Since XAMPP requires a few extra steps to actually run on Linux, you need to complete the installation without automatically launching the software.
READ More:   How To Make Him Fall In Love With You
Image titled Install XAMPP on Linux Step 11

Image titled Install XAMPP on Linux Step 11

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/5c/Install-XAMPP-on-Linux-Step-11.jpg/v4-728px-Install-XAMPP-on-Linux- Step-11.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/5c/Install-XAMPP-on-Linux-Step-11.jpg/v4-728px-Install- XAMPP-on-Linux-Step-11.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:408,”licensing”:”<div class=”mw-parser -output”></div>”}
Click the Finish button at the bottom of the window. The settings window will close. Now you are ready to launch XAMPP.

Launch XAMPP

Image titled Install XAMPP on Linux Step 12

Image titled Install XAMPP on Linux Step 12

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/4a/Install-XAMPP-on-Linux-Step-12.jpg/v4-728px-Install-XAMPP-on-Linux- Step-12.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/4/4a/Install-XAMPP-on-Linux-Step-12.jpg/v4-728px-Install- XAMPP-on-Linux-Step-12.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser -output”></div>”}
Reopen Terminal if necessary. If you closed the Terminal window after installing XAMPP, open Terminal again.

  • XAMPP doesn’t have any files on the desktop, so you need to launch the program in the installation directory via Terminal every time you want to use it.
Image titled Install XAMPP on Linux Step 13

Image titled Install XAMPP on Linux Step 13

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/20/Install-XAMPP-on-Linux-Step-13.jpg/v4-728px-Install-XAMPP-on-Linux- Step-13.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/2/20/Install-XAMPP-on-Linux-Step-13.jpg/v4-728px-Install- XAMPP-on-Linux-Step-13.jpg”,”smallWidth”:460,”smallHeight”:260,”bigWidth”:728,”bigHeight”:411,”licensing”:”<div class=”mw-parser -output”></div>”}
Switch to the XAMPP installation directory. Type the command cd /opt/lampp and press ↵ Enter . [2] X Research Source
Image titled Install XAMPP on Linux Step 14

Image titled Install XAMPP on Linux Step 14

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/49/Install-XAMPP-on-Linux-Step-14.jpg/v4-728px-Install-XAMPP-on-Linux- Step-14.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/4/49/Install-XAMPP-on-Linux-Step-14.jpg/v4-728px-Install- XAMPP-on-Linux-Step-14.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser -output”></div>”}
Enter the command “Open”. Type sudo ./manager-linux-x64.run and press ↵ Enter .
Image titled Install XAMPP on Linux Step 15

Image titled Install XAMPP on Linux Step 15

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/aa/Install-XAMPP-on-Linux-Step-15.jpg/v4-728px-Install-XAMPP-on-Linux- Step-15.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/aa/Install-XAMPP-on-Linux-Step-15.jpg/v4-728px-Install- XAMPP-on-Linux-Step-15.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser -output”></div>”}
Enter the password when prompted. Enter the password that you normally use to log in to your computer, then press ↵ Enter .
Image titled Install XAMPP on Linux Step 16

Image titled Install XAMPP on Linux Step 16

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/a5/Install-XAMPP-on-Linux-Step-16.jpg/v4-728px-Install-XAMPP-on-Linux- Step-16.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/a5/Install-XAMPP-on-Linux-Step-16.jpg/v4-728px-Install- XAMPP-on-Linux-Step-16.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight”:410,”licensing”:”<div class=”mw-parser -output”></div>”}
Click the Manage Servers tab. This option is at the top of the window.
Image titled Install XAMPP on Linux Step 17

Image titled Install XAMPP on Linux Step 17

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/81/Install-XAMPP-on-Linux-Step-17.jpg/v4-728px-Install-XAMPP-on-Linux- Step-17.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/8/81/Install-XAMPP-on-Linux-Step-17.jpg/v4-728px-Install- XAMPP-on-Linux-Step-17.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight”:410,”licensing”:”<div class=”mw-parser -output”></div>”}
Click the Start All option at the bottom of the window. All active components of XAMPP will start running.
  • Image titled Install XAMPP on Linux Step 18

    Image titled Install XAMPP on Linux Step 18

    {“smallUrl”:”https://www.wikihow.com/images_en/thumb/c/c1/Install-XAMPP-on-Linux-Step-18.jpg/v4-728px-Install-XAMPP-on-Linux- Step-18.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/c/c1/Install-XAMPP-on-Linux-Step-18.jpg/v4-728px-Install- XAMPP-on-Linux-Step-18.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight”:410,”licensing”:”<div class=”mw-parser -output”></div>”}
    Open your computer’s localhost page. Access 127.0.0.1 using a desktop web browser. The XAMPP control panel will appear; At this point, you can start using XAMPP as you please.
  • Advice

    • XAMPP is often used to simulate a working web server for the purpose of testing applications, website content, and so on.

    Warning

    • You need to make sure you enter the correct version number of the XAMPP installation file in the Terminal. If you enter it incorrectly, it will result in an error.
    X

    This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.

    READ More:   How to Marinate a Turkey

    The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.

    This article has been viewed 14,659 times.

    This wikiHow teaches you how to install and run the XAMPP software on a Linux computer.

    In conclusion, installing XAMPP on Linux can be a relatively straightforward process when following the necessary steps. XAMPP provides a convenient solution for creating a local development environment with Apache, MySQL, PHP, and Perl all bundled together. By ensuring that the system meets the minimum requirements, downloading the appropriate XAMPP package, and executing the installation script, users can have XAMPP up and running on their Linux system in no time. Furthermore, configuring the necessary permissions and starting the individual components are essential steps to ensure a smooth functioning environment. Overall, XAMPP provides a powerful tool for developers to test and develop web applications locally on a Linux system, offering the convenience of multiple servers and programming languages bundled into one package.

    Thank you for reading this post How to Install XAMPP on Linux at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.

    Related Search:

    1. Step-by-step guide to installing XAMPP on Linux
    2. XAMPP installation tutorial for Linux users
    3. Installing XAMPP on Ubuntu Linux
    4. XAMPP installation process on Linux Mint
    5. How to install XAMPP on Fedora Linux
    6. Installing XAMPP on Arch Linux: A comprehensive guide
    7. XAMPP setup on CentOS: Step-by-step instructions
    8. XAMPP installation guide for Debian Linux
    9. Easy way to install XAMPP on openSUSE Linux
    10. Installing XAMPP on Manjaro Linux: A beginner’s guide

    Related Posts

    How to Create Curved Text in Photoshop
    How to fall asleep faster
    How to Install FBReader to Read eBooks

    Category: How To

    Previous Post: « Top 999+ jai hanuman hd images – Amazing Collection jai hanuman hd images Full 4K
    Next Post: Top 999+ Galaxy Unicorn Wallpaper Full HD, 4K✅Free to Use »

    Copyright © 2025 · Tnhelearning.edu.vn - Useful Knowledge