Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
Hi all: Just wondering if someone could help me with the following: I’m a total newbie to Linux so please forgive ineptitude, however I have come to want to start ...
  1. #1
    Just Joined! oliver79's Avatar
    Join Date
    Jun 2006
    Location
    United Kingdom
    Posts
    46

    Post How to install .bin files

    Hi all:

    Just wondering if someone could help me with the following: I’m a total newbie to Linux so please forgive ineptitude, however I have come to want to start learning the Java syntax on a Debain Linux platform, thus I have started looking into using Eclipse and BeanShell. Now the problem I have is that I need to install JDK, now when I have downloaded this file it is in a .bin file format! Well none of the books I have tell you how to deal with and install such a file? At the moment I simply used to using synaptics package manager! Can anyone give any further guidance and/or how to install such a file?

    Many thanks

    Oliver

  2. #2
    Linux User
    Join Date
    Jan 2006
    Posts
    251
    do a ./xxxx.bin
    i think it should be a self extracting binary file
    thanks

  3. #3
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    And don't forget to chmod 755 the file before you do that; I've had trouble in the past because I forgot to do this!
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

  4. #4
    Just Joined! oliver79's Avatar
    Join Date
    Jun 2006
    Location
    United Kingdom
    Posts
    46
    Hi:

    Thanks for that. Now do I need to drop this file into root folder? Then perform the./xxx.bin?

    p.s. what is: chmod 755? and how would I go about that?

    Thanks

    Oliver

  5. #5
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Quote Originally Posted by oliver79
    p.s. what is: chmod 755? and how would I go about that?
    Code:
    man chmod
    for more.

    To install Java on a Debian system, just follow those instructions :
    http://technowizah.com/2005/12/debia...suns-java.html
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  6. #6
    Just Joined! oliver79's Avatar
    Join Date
    Jun 2006
    Location
    United Kingdom
    Posts
    46
    Ok, just had a quick look at that, thanks!

    One question mind, is it simply a case of downloading the bin file and leaving it on your desktop? Or do I have to drop it into a specific folder, then run the commands - sudo apt-get install fakeroot java-package? The .bin file also tells me that if I choose to save it, it will become corrupt!

    Thanks

    Oliver

  7. #7
    Linux User
    Join Date
    Jan 2006
    Posts
    251
    you can run the command sudo apt-get install.... from the command line(anywhere)
    If you wanna install JDK as debian package also look at
    http://www.debian-administration.org/articles/142

    But to run fakeroot make-jpkg jre-1_5_0_03-linux-i586.bin
    be sure to run from the desktop where you have downloaded it (or you can give the path of the file too)
    cheers

  8. #8
    Just Joined! oliver79's Avatar
    Join Date
    Jun 2006
    Location
    United Kingdom
    Posts
    46
    Hi:

    None of that appears to work! The following:

    HTML Code:
    apt-get install fakeroot java-package
    simply results in the return: no java-package could be found

    Any other suggestions?

    Oliver

    p.s. some of the commands are also not recognized i.e. dpkg!

  9. #9
    Just Joined! oliver79's Avatar
    Join Date
    Jun 2006
    Location
    United Kingdom
    Posts
    46
    p.s. on top of that, can anyone advise me on where I should put such a file as I simply downloaded j2sdk1.4 ....... onto my desktop! Then how to navigate through shell to that location?

    Many thanks

    Oliver

  10. #10
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Are you log as root to install packages and use "dpkg" ?

    What is the content of your /etc/apt/sources.list file? Which version of Debian are you using?
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •