
We will install the package through the Ubuntu command line, The Terminal. Step 2: Make the installation package executable

After which, your downloaded file will be saved to the Downloads folder by default. We recommend downloading the package by clicking the Save File option. The first step is to download the XAMPP package for Linux from the official Apache Friends website:Ĭlick on the XAMPP for Linux option after which you will be prompted to Run the package or Save it to your system.

If you are relatively new to Linux, use cd command to change a current directory. If you have followed the first step to download the XAMPP package, then you need to open a terminal and go to the directory where the xampp package exists. To provide executable permission, follow the below steps. Otherwise, you will not be able to run it. $ wget Step 2: Change Package PermissionĪfter downloading the file, you need to provide executable permission. After that, please copy the link address and replace it with the below link. To get a newer version of PHP, go to the official page and scroll to the Linux section. If you want to download XAMPP from the terminal, then pass the below command and wait until the file gets downloaded.Īt the time of writing, this article’s latest version of PHP is 8.0.0.
