LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   eclipse on linux (https://www.linuxquestions.org/questions/linux-newbie-8/eclipse-on-linux-414891/)

Gary_hide 02-13-2006 08:21 AM

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

Hangdog42 02-13-2006 09:42 AM

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.

bretts5964 02-16-2006 01:00 AM

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

graciejj_82 02-27-2006 10:41 PM

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

reddazz 02-28-2006 03:18 AM

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".


All times are GMT -5. The time now is 02:11 PM.