Installing Xampp in Ubuntu 22.04 using Terminal is easy with this step-by-step guide with images. Follow these simple steps to get Xampp up and running on your Ubuntu system in minutes.
To install Xampp in Ubuntu 22.04 using the terminal, follow these steps:
wget https://www.apachefriends.org/xampp-files/7.4.30/xampp-linux-x64-7.4.30-0-installer.run
2. Make the Xampp installer executable. Type the following command:
chmod +x xampp-linux-x64-7.4.30-0-installer.run
3. Run the Xampp installer. Type the following command:
sudo ./xampp-linux-x64-7.4.30-0-installer.run
Follow the on-screen instructions to install Xampp. You will be prompted to select a destination directory for Xampp. Accept the default directory or select a different directory as desired.
Once Xampp is installed, start the Apache and MySQL services. Type the following commands:
sudo /opt/lampp/xampp start
sudo /opt/lampp/lampp startmysql
http://localhost/
You should see the Xampp welcome page.
Additional Notes
sudo snap install xampp
sudo snap refresh xampp
sudo snap remove xampp
Conclusion
Installing Xampp in Ubuntu 22.04 using the terminal is a simple process. By following the steps above, you can install and configure Xampp on your Ubuntu 22.04 system. Once Xampp is installed and configured, you can start using it to develop and test web applications.