{"id":1068,"date":"2020-10-30T13:47:48","date_gmt":"2020-10-30T13:47:48","guid":{"rendered":"https:\/\/linuxways.net\/?p=1068"},"modified":"2020-11-13T20:21:54","modified_gmt":"2020-11-13T20:21:54","slug":"how-to-install-xampp-server-on-linux-mint-20","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/mint\/how-to-install-xampp-server-on-linux-mint-20\/","title":{"rendered":"How to install XAMPP Server on Linux Mint 20"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>XAMPP is a cross-platform web server that is designed for testing your web applications based on Apache, MySQL, Perl, and PHP. This webserver was developed by Apache Friends and it has been in use since 2002. Today, we will learn the method of installing XAMPP on Linux Mint 20. However, the same series of steps can be performed on Debian 10 for installing XAMPP on it.<\/p>\n<h2>Method of Installing XAMPP on Linux:<\/h2>\n<p>For having XAMPP installed on your Linux system, you should perform all the steps listed below:<\/p>\n<h3>Step # 1: Verifying the Installation of \u201cnet-tools\u201d:<\/h3>\n<p>XAMPP requires the \u201cnet-tools\u201d package to be installed on your system. This package can be installed by running the following command in the terminal:<\/p>\n<pre><strong>$ sudo apt install net-tools<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"457\" height=\"29\" class=\"wp-image-1069\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-611.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-611.png 457w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-611-300x19.png 300w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><\/strong><\/p>\n<p>Since the net-tools package was already installed on our system that is why we got the message shown in the image below on our terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"147\" class=\"wp-image-1070\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-612.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-612.png 623w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-612-300x71.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/p>\n<h3>Step # 2: Downloading XAMPP via the Internet:<\/h3>\n<p>Now you need to visit the following website for downloading XAMPP:<\/p>\n<p><a href=\"https:\/\/www.apachefriends.org\/download.html\"><strong>https:\/\/www.apachefriends.org\/download.html<\/strong><\/a><\/p>\n<p>Once you will visit this website, you need to download the latest version of XAMPP for Linux as highlighted in the image shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"559\" class=\"wp-image-1071\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-613.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-613.png 802w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-613-300x209.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-613-768x535.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/p>\n<p>When you will click on the \u201cDownload\u201d button, a dialogue box will appear on your screen from which you are supposed to select the \u201cSave\u201d option and then click on the \u201cOK\u201d button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"453\" height=\"333\" class=\"wp-image-1072\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-614.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-614.png 453w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-614-300x221.png 300w\" sizes=\"auto, (max-width: 453px) 100vw, 453px\" \/><\/p>\n<p>After doing this, XAMPP will start downloading and when it has been downloaded successfully, you will see the following message on your browser:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"524\" height=\"114\" class=\"wp-image-1073\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-615.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-615.png 524w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-615-300x65.png 300w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/p>\n<h3>Step # 3: Making the Downloaded File Executable:<\/h3>\n<p>Once the XAMPP file has been downloaded on your system, you need to make it executable so that it can be installed successfully. For making this file executable, you need to navigate to your Downloads directory and then execute the command stated below:<\/p>\n<pre><strong>sudo chmod 755 xampp-linux-x64-7.2.34-0-installer.run<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"52\" class=\"wp-image-1074\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-616.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-616.png 645w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-616-300x24.png 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/strong><\/p>\n<p>Running this command will set the execute permissions for your downloaded XAMPP file.<\/p>\n<h3>Step # 4: Installing XAMPP on Linux:<\/h3>\n<p>When we have made this file executable, we can easily install it by running the following command in our terminal:<\/p>\n<pre><strong>sudo .\/xampp-linux-x64-7.2.34-0-installer.run<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"47\" class=\"wp-image-1075\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-617.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-617.png 646w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-617-300x22.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/strong><\/p>\n<p>After doing that, the installation wizard will appear on your screen. You are required to go with all the options that are selected by default and just press the Next button at every screen that appears. However, we have still shown all the screens below for your convenience. The welcome screen of XAMPP is shown in the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"498\" height=\"418\" class=\"wp-image-1076\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-618.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-618.png 498w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-618-300x252.png 300w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/p>\n<p>After clicking the Next button on the welcome screen, you will be asked to select the components for XAMPP. Just go with the default selected components and click on the Next button as highlighted in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"418\" class=\"wp-image-1077\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-619.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-619.png 499w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-619-300x251.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/p>\n<p>Now select an installation directory and click on the Next button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"417\" class=\"wp-image-1078\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-620.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-620.png 500w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-620-300x250.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>On the Bitnami for the XAMPP screen, you are again supposed to click on the Next button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"415\" class=\"wp-image-1079\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-621.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-621.png 496w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-621-300x251.png 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/p>\n<p>Then the installation wizard will tell you that the setup is ready to install as shown in the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"497\" height=\"417\" class=\"wp-image-1080\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-622.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-622.png 497w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-622-300x252.png 300w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/p>\n<p>The installation progress bar is shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"416\" class=\"wp-image-1081\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-623.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-623.png 499w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-623-300x250.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/p>\n<p>Finally, when the installation will complete, you will be supposed to click on the Finish button as highlighted in the image shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"497\" height=\"417\" class=\"wp-image-1082\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-624.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-624.png 497w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-624-300x252.png 300w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/p>\n<h3>Step # 5: Verifying the Installation of XAMPP on Linux:<\/h3>\n<p>If XAMPP has been successfully installed on your Linux system, then after clicking on the Finish button, the following screen will appear on your system which will confirm the installation:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"448\" class=\"wp-image-1083\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-625.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-625.png 663w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-625-300x203.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/p>\n<h2>Method of Uninstalling XAMPP in Linux:<\/h2>\n<p>However, at any point, if you feel like you do not need XAMPP on your Linux system anymore, then you can always uninstall it. First, you will need to move to the directory where XAMPP has been installed by running the command stated below:<\/p>\n<pre><strong>cd \/opt\/lampp<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"439\" height=\"30\" class=\"wp-image-1084\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-626.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-626.png 439w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-626-300x21.png 300w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/strong><\/p>\n<p>After navigating to this directory, uninstall XAMPP by running the following command:<\/p>\n<pre><strong>sudo .\/uninstall<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"25\" class=\"wp-image-1085\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-627.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-627.png 451w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-627-300x17.png 300w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/strong><\/p>\n<p>Your terminal will prompt you with a confirmation dialogue box from which you are supposed to click on the \u201cYes\u201d button as highlighted in the image shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"403\" height=\"129\" class=\"wp-image-1086\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-628.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-628.png 403w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-628-300x96.png 300w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/p>\n<p>When the uninstallation process will complete, you need to click on the \u201cOK\u201d button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"221\" height=\"126\" class=\"wp-image-1087\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-629.png\"><\/p>\n<p>Finally, you can also remove the directory in which XAMPP was installed by running the following command:<\/p>\n<pre><strong>sudo rm \u2013r \/opt\/lampp<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"418\" height=\"24\" class=\"wp-image-1088\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-630.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-630.png 418w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/10\/word-image-630-300x17.png 300w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/strong><\/p>\n<p>Doing this will remove all the traces of XAMPP from your Linux system.<\/p>\n<h2>Conclusion:<\/h2>\n<p>In this article, we explained to you the method of installing XAMPP on Linux Mint 20. The steps described above were demonstrated on Linux Mint 20 but they can also be performed as it is on Debian 10. Moreover, we also shared with you the method of uninstalling this web server whenever you feel like it.<\/p>\n<p><a href=\"https:\/\/linuxways.net\/de\/mint\/how-to-host-an-application-in-xampp-webserver\/\">In my next post, I will continue hosting a small application on this webserver.<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction: XAMPP is a cross-platform web server that is designed for testing your web applications based on Apache, MySQL, Perl, and PHP. This webserver was developed by Apache&hellip;<\/p>","protected":false},"author":3,"featured_media":1567,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[45,56],"class_list":["post-1068","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mint","tag-linux-mint","tag-xampp-server"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/1068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=1068"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/1068\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/1567"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=1068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=1068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=1068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}