LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-22-2016, 10:15 PM   #1
Huamin
Member
 
Registered: May 2011
Posts: 562

Rep: Reputation: 12
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]$
 
Old 06-22-2016, 10:25 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,921
Blog Entries: 28

Rep: Reputation: 5577Reputation: 5577Reputation: 5577Reputation: 5577Reputation: 5577Reputation: 5577Reputation: 5577Reputation: 5577Reputation: 5577Reputation: 5577Reputation: 5577
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.
 
Old 06-22-2016, 10:32 PM   #3
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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]$
 
Old 06-22-2016, 10:43 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Broken download? What is the size of this file? According to their website it is supposed to be 160,242,552 bytes.
 
Old 06-22-2016, 11:07 PM   #5
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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.
 
Old 06-22-2016, 11:12 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 06-23-2016, 01:13 AM   #7
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
What to do, to the downloaded file below?
https://app.box.com/s/6bg8nhcgylpok07h2zgprh3mr6iraez4
 
Old 06-23-2016, 07:07 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Delete partial downloads, use the file with size of 160,242,552 bytes. Rename it first, it has that long ugly name right now.
 
Old 06-23-2016, 08:43 AM   #9
Chevron7
LQ Newbie
 
Registered: May 2016
Location: UK
Distribution: Debian
Posts: 5

Rep: Reputation: Disabled
Try with the options in this order:
Code:
tar -xzvf
tar requires that the first option be one of the functions.
 
Old 06-23-2016, 09:22 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,257

Rep: Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542
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?
 
Old 06-24-2016, 02:46 AM   #11
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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]#
 
Old 06-24-2016, 05:48 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,257

Rep: Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542
Post the output
ls -l /usr/bin/eclipse
 
Old 06-27-2016, 02:45 AM   #13
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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]#
 
Old 06-27-2016, 09:13 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,257

Rep: Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542Reputation: 4542
A file already exists so a link can not be created.

You can not delete a file by using the rmdir command.
 
Old 06-28-2016, 03:48 AM   #15
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on setup of fedora 20 as a router from nic setup to firewalld setup Brian1 Linux - Networking 4 07-02-2014 09:53 PM
setup for official Laptop. (Admin setup in server and user account setup in lap) vignesh4sh Linux - Server 3 11-26-2012 08:03 AM
DNS Setup Problem or Godaddy Problem videoman Linux - Networking 1 02-05-2009 05:38 PM
Webmail setup problem in Thunderbird - Hotmail and Yahoo setup arindom Linux - Software 7 03-25-2008 12:27 PM
setup problem 65chevelle Linux - Newbie 1 01-16-2003 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration