How to install a progam? :)

Hi,
well I want to get the latest version of java on my opensuse. (java is just an example, the rest of programs are similar)
Default I had JRE 1.6.0-u17 and I want to have 1.6.0-u20 both JRE and JDK.
Choices:

  1. I added some yast repositories and installed JRE, JDK and java browser plugin
  2. download from site the .bin file, chmod +x and ./runit!

First, I tried the 2nd version but I had some problems:
1 - this didn’t affected the classpath so when I used *java -version * still u17 it was, not u20
2 - the browser plugin wasn’t updated
3 - how cand I uninstall it (u20)? :smiley:
Latelty I come back to the 1st choice, it works, but I want to learn opensuse so… I have to find out the answer for the 2nd choice.
Thank you

Check here

Webpin

yes, one click install
btw, do you use one click install or rpm -ivh blabla.rmp or run a .bin file?
wich way is better?

ioask4it wrote:
> yes, one click install
> btw, do you use one click install or rpm -ivh blabla.rmp or run a .bin
> file?
> wich way is better?
>
>
imo, the best way is to use YaST > Community Repositories to enable
four, and only four repos: oss, non-oss, update and packman…

then, use YaST > Software Manager to search for the program/package
you wish to install, and then do it…

do it that way because all dependencies will be taken care of by YaST
and the new program will automatically be added to your menu (unless
it is a CLI program) and it will automatically be easy to uninstall…

always try YaST and the four repos first…if that doesn’t work then
you are working OUTSIDE the safe openSUSE system…

well, you may find it in one of the other repos and that is easy to do
with the link caf gave you…

that means you are kinda on your own to download rpms, tarballs or
whatever…and track down and solve whatever dependencies pop
up…and, expect problems and maybe no one here with experience down
the same winding dark path you have taken…

in that case i’d always opt for an rpm claiming to be packaged for
“suse” and when downloaded i’d right click it, and select Actions >
Install with YaST…next choice would be use the CLI rpm command…

others will have other opinions, pick one…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

well, I have those four repositories and now I want to get netbeans.
On those repositories I found netbeans 6.5 (Build Time:
Sun 01 Nov 2009 09:58:18 PM EET) but the last available version is 6.9, so I installed with ./netbeans-6.9-ml-javase-linux.sh
So, this is a situation where yast cannot be used because those repositories don’t have the latest version of programs and, sometimes, a binary version is recommended.
Being a beginner I have troubles when not using yast :slight_smile:

Just for clarification: it is a good advice to use oneclickers with caution (I recommend not to use them at all), but oneclickers a) by default add the repository from which the .rpm is fetched and b) lets YaST take care of dependencies too.

Agreed.
Not my choice at all those OneClicks

To the OP: @ioask4it
I suspect you are headed for disaster BTW
Do you have some rational explanation for what you are trying to achieve ?

yes, I intend to have java u20 and netbeans 6.9.
And now I have those but netbeans was installed from a .bin file because I couldn’t found any repository with the latest version.
So my dilema was: if you get the same version of a program in a one-click or a binary/rpm file, what is recommended to install?
And I found the solution: one-click because it’s simple and resolves the dependencies.
Thank you

ioask4it wrote:
> yes, I intend to have java u20 and netbeans 6.9.
> And now I have those but netbeans was installed from a .bin file
> because I couldn’t found any repository with the latest version.
>
>
are there specific functions not available in u17 and 6.5 which you
must have in order to do what you need to do ???

i ask because you say you are “a beginner” and i suppose that means
a beginner to Linux but a old hand at either Windows or Mac…in
which case i think you MIGHT be using experience gained in your former
life where the software maker moved SLOWLY and when they did they VERY
often made the new software not work with the old software (it is a
way they ensure themselves a constant new stream of money flowing in)…

therefore, Redmond and Mac folks have a built in, burning desire to
always have the latest version installed, and THEN get to work hacking
up (or using) some net beans (or whatever) stuff…

TaDa! [that is the sound of the trumpets accompanying the light bulb
about to come on over your cartoon head]:

Congratulations, because you are wise and have taken on a new
operating system, you do not have to do that anymore…

sure, you can always have the lastest of every program on your
computer…but, you are gonna be BUSY…in Linux there IS something
new everyday…actually more likely every hour…instead of all the
programmers with access to the code base living in either California
or Washington (state) they are all over the world, working around the
clock…and, something new is likely to show up any hour of any day,
somewhere…

to always have the latest is a LOT of work…and, usually gives a lot
more problems than it solves…

my free advice is to read this: go to http://tinyurl.com/yhf65pv then
scroll down to post #4, and read and follow the info following
“IMPORTANT”. especially, note the part about “Please note that adding
other repositories can cause compatibility problems. You may add
others when the time comes when you learn how to solve problems that
may arise from having others.”

and, for now (since you haven’t learned how to solve the problems
which WILL arise by mixing the tried and tested software from the
basic four openSUSE repos with that from outside RPMs, bin files or
tarballs) then ACCEPT the software in the four, and stop trying to
have the very latest…for now, today! tomorrow is a different things…

i think you will soon find that you could actually install something
that was first new two years ago and it be just fine (and even stable,
usuable, dependable, predictable and secure—more so than what you
used to use, when it was the latest…)

see: 11.2 is only seven months old!! do not loose sight of that…

obviously, you may actually require u17 and 6.5 and ymmv.


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

well, you are not always right because:

  • I guess you still have activated updater applet to update your o.s.
  • if you use an antivirus (well, abstratly speaking because the linux user don’t have any) you keep the antivirus set to update himself every 3 hours
  • any linux program looks more uglyer than the windows (7) and with less options so I want to keep my software updated with the latest version
  • microsoft word always will look bettern then openoffice’s writer so ofc I want to update that software
  • the latest version of java is not BETA so it is a working version, no problems to update
  • and btw, the drivers here sucks (I have no printer, webcam, 5.1 sound & rest) so ofc I want to update maybe maybe a newer kernel/driver appears

I made highschool, faculty and master on computers, I am a programer of microcontrollers and now I’ve changed the cv a little with administering oracle database and novel open enterprise server 2 (3088 course) :stuck_out_tongue: BUT I am new to linux :slight_smile:

and as I said, I am NEW to linux, linux != windows so… problems may arise. You are expert (let’s say) in linux but if you will change to… Snow Leopard (for example) you may have big troubles too :stuck_out_tongue:
Anyway thank you for your answers and I understood: as a beginner, stick at the 4 repositories!

ioask4it wrote:
> well, you are not always right because:

wow, i’m not always right? i’m gonna cry :wink:

> - I guess you still have activated updater applet to update your o.s.

nope, i got rid of that thing a long time ago…

> - if you use an antivirus (well, abstratly speaking because the linux
> user don’t have any) you keep the antivirus set to update himself every
> 3 hours

of course i don’t use AV…

> - any linux program looks more uglyer than the windows (7) and with
> less options so I want to keep my software updated with the latest
> version

whatever you like, go for it…but, you are just making harder on
yourself to have a stable system…

> - microsoft word always will look bettern then openoffice’s writer so
> ofc I want to update that software

then you should use what you like best…if it works for you what is
the point of trying something new? Linux is not for everyone on the
planet…if you are happy paying the price for other, then use it…

> - the latest version of java is not BETA so it is a working version, no
> problems to update

then do so…

> - and btw, the drivers here sucks (I have no printer, webcam, 5.1 sound
> & rest) so ofc I want to update maybe maybe a newer kernel/driver
> appears

have you asked for help with those problems also…one problem per
post, in the correct forum, with a good subject line…

> I made highschool, faculty and master on computers,

with all that education you should very soon be a helper, instead of
an asker…

> I am a programer of
> microcontrollers and now I’ve changed the cv a little with administering
> oracle database and novel open enterprise server 2 (3088 course) :stuck_out_tongue: BUT
> I am new to linux :slight_smile:

just be patient, it is takes a little time to learn you way around
here…you might benefit from a read here:

http://en.opensuse.org/Concepts

and, an old posting of mine with directions to more documentation than
you can read in a day, or twelve :slight_smile: here: http://tinyurl.com/ybklh48


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

ioask4it wrote:
> and as I said, I am NEW to linux, linux != windows so… problems may
> arise.

oh, it wasn’t my intent to relay that i think you (or anyone else)
should be born with the knowledge of how to “install a program” but, i
do think a trip to the search engines will find all those answers
already waiting for you…

> You are expert (let’s say)

you can say that, i won’t.

> in linux but if you will change to…
> Snow Leopard (for example) you may have big troubles too :stuck_out_tongue:

heck, i have BIG troubles every time i go on vacation and am forced to
use Windows in a net cafe or library…i’ve not had any Redmond on my
own computer since 1995 so i don’t know how to use it at
all…zero…every time i try i get it all messed up…it is
impossible!!

and, i’ve even touched a Mac…saw my first iPhone just a couple of
week ago…i thought it was impossible to see the screen while
outside…looked impossible to use to me…

ymmv


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

linux != windows but I see linux != linux: I mean yesterday I tried to put a kubuntu to start in text mode (runlevel 3, wich can be found in /etc/inittab) or init 3 (from command line) and I’ve seen that is SO different from suse. It has no inittab and in runlevel 3 the kde was still up :disapointed:

I hope I didn’t disturb anyone. I will read all the recommended articles.
thank you a lot

ioask4it wrote:
> I hope I didn’t disturb anyone.

sure didn’t disturb me…and, yes there are lots of differenceds
between the distros, all 350+ have some variations somewhere…if you
don’t like openSUSE try something else…i bet you can find something
you like…

as for “linux != windows” you will probably get a kick out of this
article: http://tinyurl.com/8b9s6


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

On Sun, 27 Jun 2010 19:26:01 GMT, ioask4it
<ioask4it@no-mx.forums.opensuse.org> wrote:

>
>well, I have those four repositories and now I want to get netbeans.
>On those repositories I found netbeans 6.5 (Build Time:
>Sun 01 Nov 2009 09:58:18 PM EET) but the last available version is 6.9,
>so I installed with ./netbeans-6.9-ml-javase-linux.sh
>So, this is a situation where yast cannot be used because those
>repositories don’t have the latest version of programs and, sometimes, a
>binary version is recommended.
>Being a beginner I have troubles when not using yast :slight_smile:

This is a litmus question, can you explain, in any way, why you must have
netbeans 6.9 instead of 6.5? Just exactly what does 6.9 provide or bug
does it fix that is not provided/not fixed in 6.5?

On Mon, 28 Jun 2010 19:26:01 GMT, ioask4it
<ioask4it@no-mx.forums.opensuse.org> wrote:

>
>well, you are not always right because:
>- I guess you still have activated updater applet to update your o.s.
>- if you use an antivirus (well, abstratly speaking because the linux
>user don’t have any) you keep the antivirus set to update himself every
>3 hours
>- any linux program looks more uglyer than the windows (7) and with
>less options so I want to keep my software updated with the latest
>version
>- microsoft word always will look bettern then openoffice’s writer so
>ofc I want to update that software
>- the latest version of java is not BETA so it is a working version, no
>problems to update
>- and btw, the drivers here sucks (I have no printer, webcam, 5.1 sound
>& rest) so ofc I want to update maybe maybe a newer kernel/driver
>appears
>
>I made highschool, faculty and master on computers, I am a programer of
>microcontrollers and now I’ve changed the cv a little with administering
>oracle database and novel open enterprise server 2 (3088 course) :stuck_out_tongue: BUT
>I am new to linux :slight_smile:

Yep, you are so darned new that you have no respect for the Linux ways of
doing things. We built Linux and several exemplars such as Linus
Torvalds contributed far more than almost anyone else, each and every one
of us has access to the current and historical sources and can remake any
part of it to suit ourselves. Try that with Redmond or Cupertino
software.

On Mon, 28 Jun 2010 19:36:01 GMT, ioask4it
<ioask4it@no-mx.forums.opensuse.org> wrote:

>
>and as I said, I am NEW to linux, linux != windows so… problems may
>arise. You are expert (let’s say) in linux but if you will change to…
>Snow Leopard (for example) you may have big troubles too :stuck_out_tongue:

I have Redmond and Cupertino OSs on other machines i own and use and i am
perfectly comfortable there as well.

I have Redmond and Cupertino OSs on other machines i own

Go find a dark room and sit in there quietly.
You’ll soon feel better.
:slight_smile:

Oh my god! I didn’t want to offend anyone! Sorry for that.
And regarding to "why you must have netbeans 6.9 instead of 6.5? " well, I bet you will upgrade your opensuse to 11.3 in december! Well, I will upgrade to in 15 days