Re: Installation Doubts by Beginner



Daniel,
You should not use RPMs in a DEB based system.. Unless you are an expert and
there is NO other way to get something, ALWAYS use .debs. Use Synaptic:
System -> Administration -> Synaptic Package Manager and you can search for
Java.. HOWEVER
Java, i.e. a JRE (Java Runtime Environment) is already installed and more
than likely all you will need.
If you simply MUST install a separate java engine, just google java .debs
and go from there.

To answer root questions:
You should never log in or work as root on a regular basis. There is a way
to do it, but I will leave that as a learning experience, because its not
too challenging. To run as root, if you are working in the GUI, you will be
prompted for your password.. That is the system 'running as root' with your
permission. So, yes, you are root, but only when you need to be, grok?
Root has no password so no one can log in as root because the default
behavior of all Debian based systems is to disallow remote login without a
password. A very simple but effective safety precaution.

Peace,
V


On Thu, Jun 24, 2010 at 8:55 PM, Daniel Ram <
danielmesquitadearaujo@xxxxxxxxxxxx> wrote:

On 06/24/2010 09:04 PM, Steve Grace wrote:
On 06/24/2010 04:57 PM, Daniel Ram wrote:

Hi all!

I'm trying to install Java in my computer, but when I try to run "rpm"
command, the system ask me to use alien.
How can I use alien? I've installed it, but I'm not sure what it is..
;-( .. yet! ... The same for Debian (Is Debian a project, isn't?)

P.S.: I have no root password. I put danielram as Administrator, but I'm
not sure if it is already running as Administrator.
How can I check it? Do I need system restart? Or how can I use sudo like
a super user?

See below the message after I've tried rpm command (in red):

danielram@danielram-laptop:~$ ls
CEGO examples.desktop My GCompris TestCego
Desktop jre-6u20-linux-i586.rpm Pictures Ubuntu One
Documents jre-6u20-linux-i586-rpm.bin Public Videos
electric.log Music Templates
danielram@danielram-laptop:~$

danielram@danielram-laptop:~$ rpm -iv jre-6u20-linux-i586
rpm: please use alien to install rpm packages on Debian, if you are
really sure use --force-debian switch. See README.Debian for more
details.
danielram@danielram-laptop:~$

Daniel:

"rpm" format is used by Red Hat, I believe. Ubuntu and Debian software
is packaged into "deb" format. "alien" is used to convert "rpm" to "deb"
but that probably isn't the right approach in this case.

Rather than try to convert the "rpm" version, I'm pretty sure you can
get what you want directly from the Ubuntu repositories. However, I
don't use Java, so someone else will need to tell you what package(s) to
install.

Steve


Hi Steve!
I'm using Ubuntu 10.04 LTS, so I need to run alien.
How could I run it?

As you see, I already have the .rpm file. >>

jre-6u20-linux-i586.rpm

And, What means Ubuntu repositories?

Thank you.
Daniel



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: gcj and Suns jdk on fc4
    ... So, I removed Suns rpm, reinstalled gcj and installed Suns Java as ... but this only works as root. ...
    (Fedora)
  • building java rpm
    ... I am trying to build a java rpm based on the nosrc.rpm from jpackage.org ... chmod -R u+w bin CHANGES COPYRIGHT javaws lib LICENSE man plugin ... This package contains source files for %. ...
    (Fedora)
  • Re: lsof t0rn
    ... Kirill Protsenko wrote: ... Root causes analysis is a discipline. ... So, linking to the newer ncurses is a workaround, but may cause some ... rpm -qf on RPM based distros; ...
    (comp.os.linux.security)
  • Re: How to install Java/Frefox in FC6 -
    ... don't trust java and rpm in the same breath, ... make && make install and I don't recall a single instance where you have ... came out, switched to Caldera for a long time, went to work at RedHat ... My beef is, as I said, java -and- rpm, which I meant inclusively, ...
    (Fedora)
  • Re: RPM files
    ... My question is can the same software we use in ubuntu to download which, ... can I download and install a RPM file into ubuntu with synaptic app. ... RPM is the RedHat Package Management system. ...
    (Ubuntu)