Problem to setup
Hi,
Any advice to this? [huamin@CentOS65x64 Downloads]$ tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /opt tar (child): eclipse-java-luna-SR1-linux-gtk-x86_64.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 [huamin@CentOS65x64 Downloads]$ |
Just a shot in the dark, but I would try the command without the -C /opt argument and see whether the file decompresses to the local directory, before I tried anything else.
|
I still get
[huamin@CentOS65x64 Downloads]$ tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz tar (child): eclipse-java-luna-SR1-linux-gtk-x86_64.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 [huamin@CentOS65x64 Downloads]$ |
Broken download? What is the size of this file? According to their website it is supposed to be 160,242,552 bytes.
|
I re-do the download but I really get 46MB for that. Here is the place
http://www.eclipse.org/downloads/?osType=linux I get the download. |
Try with wget
Code:
wget http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/SR1/eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz |
What to do, to the downloaded file below?
https://app.box.com/s/6bg8nhcgylpok07h2zgprh3mr6iraez4 |
Delete partial downloads, use the file with size of 160,242,552 bytes. Rename it first, it has that long ugly name right now.
|
Try with the options in this order:
Code:
tar -xzvf |
Order does not matter except that -f requires an argument i.e. filename. tar is capable of determining compression type so you could just try:
tar -xvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz However, I could download and untar the file without issues. The error "Cannot open: No such file or directory" would indicate the OP was not entering the file name correctly but I could not detect an error. Are you typing the name or copying/pasting on the command line. If typing by hand try the later. If you are running a desktop have you tried to untar the file by clicking the name in the file browser? |
Hi,
Can you please help to problem encountered below? [huamin@CentOS65x64 Downloads]$ ln -s /opt/eclipse/eclipse /usr/bin/eclipse ln: creating symbolic link `/usr/bin/eclipse': File exists [huamin@CentOS65x64 Downloads]$ rmdir /usr/bin/eclipse rmdir: failed to remove `/usr/bin/eclipse': Permission denied [huamin@CentOS65x64 Downloads]$ su Password: [root@CentOS65x64 Downloads]# rmdir /usr/bin/eclipse rmdir: failed to remove `/usr/bin/eclipse': Not a directory [root@CentOS65x64 Downloads]# |
Post the output
ls -l /usr/bin/eclipse |
FYI
[root@CentOS65x64 huamin]# ls -l /usr/bin/eclipse -rwxr-xr-x. 1 root root 112 Oct 25 2011 /usr/bin/eclipse [root@CentOS65x64 huamin]# |
A file already exists so a link can not be created.
You can not delete a file by using the rmdir command. |
Many thanks.
I put this ##nano /usr/share/applications/eclipse.desktop within Terminal (but nothing happens), as I want to create Gnome desktop launcher. Please advise. |
All times are GMT -5. The time now is 10:46 AM. |