无法在ubuntu 13.04中安装xampp

我在ubuntu 13.04中安装xampp,但在安装xampp时…

当我尝试提取文件时…它显示以下消息

sudo tar xvfz xampp-linux-1.8.1.tar.gz -C /opt 

回复如下..

  tar (child): xampp-linux-1.8.1.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now 

如何摆脱错误。

我不知道你从哪里得到那个包裹。 但是XAMP很容易安装。 用CTRL + ALT + T打开你的终端,然后一个接一个地完美地粘贴这些行。

对于32位Ubuntu

 wget http://www.apachefriends.org/download.php?xampp-linux-1.8.3-1-installer.run chmod +x xampp-linux-1.8.3-1-installer.run ./xampp-linux-1.8.3-1-installer.run 

对于64位Ubuntu

 wget http://www.apachefriends.org/download.php?xampp-linux-x64-1.8.3-1-installer.run chmod +x xampp-linux-x64-1.8.3-1-installer.run ./xampp-linux-x64-1.8.3-1-installer.run 

安装后启动XAMP键入命令为

  /opt/lampp/lampp start 

然后使用http://localhost检查浏览器以进行正确的安装validation。

我不明白你在哪里,但这是你如何安装它:

1)添加ppa:

  $ sudo add-apt-repository ppa:upubuntu-com/xampp 

2)更新回购索引:

  $ sudo apt-get update 

3)安装XAMPP:

  $ sudo apt-get install xampp 

如果您有任何问题,请在下面发表评论。 如果是这样,我很想你。