LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2006, 08:21 AM   #1
Gary_hide
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
eclipse on linux


hi guys im a newb. i got suse 10 on my laptop and when i try to install eclipse-SDK-3.1.2-linux-gtk.tar.gz it comes with some problems...
first i tried to install it with KPackage and it says:
installpkg -warn //home/gary/eclipse-SDK-3.1.2-linux-gtk.tar.gz ;echo RESULT=$ ?
sh: installpkg: command not found
RESULT=127
then i tried something like:
:~> su
Password:
linux:/home/# installpkg eclipse-SDK-3.1.2-linux-gtk.tar.gz
bash: installpkg: command not found

wat is going on??im totally confused...
any help?

Thanks a lot

Last edited by Gary_hide; 02-13-2006 at 08:25 AM.
 
Old 02-13-2006, 09:42 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
It looks as if you've got a few things confused. Installpkg is the tool you use in Slackware to install Slackware packages. Since you're running Suse, it probably is a good thing that it isn't a recognized command. Suse uses RPM packages and those are installed with the rpm command.

What you've got there is a tarball (.tar.gz) not a Slackware package (.tgz) that you can expand with the tar command like this:

tar zxvf eclipse-SDK-3.1.2-linux-gtk.tar.gz

(check out man tar for more of what tar can do)

That will create a directory with the expanded contents of the eclipse tarball.

Last edited by Hangdog42; 02-13-2006 at 09:43 AM.
 
Old 02-16-2006, 01:00 AM   #3
bretts5964
Member
 
Registered: Feb 2005
Location: Seattle WA USA
Distribution: openSUSE 10.2 / Kubuntu 7.04
Posts: 46

Rep: Reputation: 15
Lightbulb YAST is your friend...

Hey Gary,

Hangdog is correct, you've got a hairball, but I think I can help you cough it up. ;-)

Actually, in SUSE, the thing to use is YAST. I went for several months using SUSE before I figured out that the Software Management option of YAST can be used to upgrade EVERYTHING easily. I have the following version of Eclipse successfully running on SUSE 10.0:

Eclipse SDK Version: 3.1.2 Build id: M20060118-1600

The trick is to first install Eclipse 3.1.0 using YAST (currently the newest RPM that SUSE has packaged). This tutorial should help with that, and more:

Update All Package Versions on Your SUSE Linux 10.0 Machine
http://www.novell.com/coolsolutions/feature/16592.html

Specifically, you'll need to select these packages while in YAST:

eclipse
eclipse-gtk2
eclipse-jdt
eclipse-platform
eclipse-scripts

Then after it's done, just start Eclipse and use it to upgrade the rest of the way via its own Update Manager. The official instructions are here:

Upgrading from 3.1 to 3.1.x using update manager
http://www.eclipse.org/eclipse/platf...sfor3.1.1.html

You might also find this article useful for getting the latest version of Java, and other goodies:

Hacking OpenSUSE
http://www.thejemreport.com/mambo/content/view/178/42/

Good luck,
Brett
 
Old 02-27-2006, 10:41 PM   #4
graciejj_82
Member
 
Registered: Feb 2006
Distribution: Fedora 2
Posts: 63

Rep: Reputation: 15
new person, same question.

I'm running Fedora 2.

I did tar -zxvf eclipse.......

it created a directory called "eclipse" and put all the files in it.

What is the next step? Keep in mind I'd like to do it all at command prompt if possible, since I'm trying to learn all I can about shell
 
Old 02-28-2006, 03:18 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by graciejj_82
new person, same question.

I'm running Fedora 2.

I did tar -zxvf eclipse.......

it created a directory called "eclipse" and put all the files in it.

What is the next step? Keep in mind I'd like to do it all at command prompt if possible, since I'm trying to learn all I can about shell
You need to change into the eclipse directory and do "./eclipse".
 
  


Reply



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
Problem using eclipse on Linux via XWindow s.y.crompton Linux - General 0 04-21-2005 10:14 AM
Problem Installing Eclipse on Linux kazu Linux - Software 3 03-30-2005 07:13 AM
How to run Eclipse on linux Fedora I ? ? caovankhanhvn Programming 3 06-25-2004 03:31 AM
eclipse-linux-motif CuteBug Programming 1 01-31-2004 04:04 AM
Eclipse for Linux helenvale Linux - Software 3 09-11-2003 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 PM.

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