2 Replies - 780 Views - Last Post: 02 February 2011 - 07:56 PM

#1 flint0131   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 84
  • Joined: 12-January 11

Installing XAMPP on Ubuntu Linux [ Need Help ]

Posted 02 February 2011 - 11:09 AM

I tried following this tutorial, I got this error message.
What does it mean? Can someone help me? I so want to use Ubuntu but the command line is hating me.
[email protected]:~/Desktop$ sudo -s
[email protected]:~/Desktop# tar xvfz xampp-linux-1.7.3.a.tar.gz -C /opt
tar (child): xampp-linux-1.7.3.a.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



Is This A Good Question/Topic? 0
  • +

Replies To: Installing XAMPP on Ubuntu Linux [ Need Help ]

#2 Ticon   User is offline

  • D.I.C Regular

Reputation: 28
  • View blog
  • Posts: 320
  • Joined: 20-August 09

Re: Installing XAMPP on Ubuntu Linux [ Need Help ]

Posted 02 February 2011 - 03:46 PM

you have the wrong directory from what it looks like. Right click where the tar is and hit properties and look at its location
Was This Post Helpful? 0
  • +
  • -

#3 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: Installing XAMPP on Ubuntu Linux [ Need Help ]

Posted 02 February 2011 - 07:56 PM

You could try running this small script :

#!/bin/sh
file="xampp-linux-1.7.3.a.tar.gz"
if [ -f ${file} ]; then 
  tar xvfz ${file} -C /opt
  exit
fi
find / -name ${file} > /tmp/out.txt 2>/dev/null
DIR=`cat /tmp/out.txt`
echo "Found ${file} in ${DIR}"
cd ${DIR}
if [ -f ${file} ]; then 
  tar xvfz ${file} -C /opt
  exit
fi
echo "Was unable to find ${file}"
wget http://www.apachefriends.org/download.php?xampp-linux-1.7.3a.tar.gz
if [ $? -eq 0 ]; then
  if [ -f ${file} ]; then 
    tar xvfz ${file} -C /opt
    exit
  fi
fi
echo "Was unable to download ${file}"


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1