LinuxQuestions.org
Review your favorite Linux distribution.
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 05-13-2002, 01:08 AM   #1
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
hwo do I install programs that are not RPM's


I downloaded some files they end with .bin. What do I do? I read somewere that I had to make it executables I did that but it doesn't do anything still.

Also after I uzip the tar.zips how do i install them?

Thanx
 
Old 05-13-2002, 03:39 AM   #2
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
non rpm's

Try to find a readme file that came with the binaries, that should tell you what to do with it, otherwise just try clicking on them (or open them on the command line)

the tar files are what you might call a zip-file in windhoze. That means you have to unpack them. you do this with this command:
tar zvxf filename
e.g.:
tar zvxf xine-lib-0.9.9.tar.gz
Then you get a directory with all the unpacked files which usually contains a readme file which tells you what to do ( probably you have to compile the software which means you have to configure, make and install)
I like using mc (midnight commander) for doing a lot of this, it's simple and easy to use, it's also able to unpack things for you.

good luck!
Anne

Last edited by annehoog; 05-13-2002 at 03:40 AM.
 
Old 05-13-2002, 05:20 AM   #3
Doalwa
LQ Newbie
 
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Rep: Reputation: 15
Just open a console window, change to the directory that contains the .bin file and then just type the following:

sh filename.bin
 
Old 05-13-2002, 05:35 AM   #4
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
sh?

what exactly does sh do?
 
Old 05-13-2002, 08:44 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
sh is an interpreter normally used to run a script, "sh file.sh" with a .bin you should do "./file.bin" to run it from the current directory.
 
Old 05-13-2002, 08:55 AM   #6
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
thanks

Ok, thanks for the explanation

So I've learned yet an other thing today....
 
Old 05-13-2002, 03:38 PM   #7
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Yes sh worked and made the rpm.bin a rpm. The purpose of me dooing this is to get java Vm installed on my machine if any one has done this pls tell me what to do the rpm doesn't do what its supposed to do, or i just don't know how to install this. Pls help i wanna swap mp3's , The program I am trying to use is limewire.

Thanx
 
Old 05-14-2002, 01:50 AM   #8
Doalwa
LQ Newbie
 
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Rep: Reputation: 15
Setting up Java isn't all that hard to do, here's how to do it:

First of all, don't download the RPM file, you have to download the .bin package.
Once you've done that create a folder in /usr/local called java so that it looks like this
/usr/local/java
Now copy or move the downloaded binary package to this directory and execute it as root.

This will create some directories in /usr/local/java which contain the java files.

Now you just have to set a symbolic link to that directory so that Linux knows that you installed java on your system.

Do it like this:

ln -s /usr/local/java/j2re1.4.0/bin/java /sbin/java

This should solve your problem.
 
Old 05-14-2002, 06:57 PM   #9
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Is this the same as JVM?
 
Old 05-16-2002, 06:43 AM   #10
Doalwa
LQ Newbie
 
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Rep: Reputation: 15
The description I posted above applies to the Java Virtual Machine installation, yep :-)
 
Old 05-16-2002, 11:07 PM   #11
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
I have created the dir but how do i get to /usr in the terminal all i see is mail desktop/ core.

I downloaded the bin to my desktop and I can run it it fully extracts but then i try to install the other software and it does not see any VM.

I tried to create the symbolic an it executes fine, (I am under the impression that if u get no errors linux can do it). But i still get teh same thing no JVM detected in te path. What do i do now??

Thanx
 
Old 06-01-2002, 02:05 AM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
YOu should place Java in your PATH If you do a search, I very recently have told someone how to do this. It goes something like this:

Add these lines to your '~/.bashrc' file:

#JAVA
JAVA_HOME=/usr/java/j2sdk1.4.0
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH

In order to let these changes take effect immediately, run this command:

source ~/.bashrc
 
Old 06-01-2002, 02:07 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Also, you should really update your user profile to at least reflect what distro you are using.
 
Old 06-01-2002, 03:07 PM   #14
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
how do u update your user profile?
 
Old 06-02-2002, 07:43 AM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
At the top of the screen there is a button that says 'user cp' click it, then you can edit a lot of things.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
hwo to install kapslock Linux - General 1 07-11-2004 10:05 AM
RPM's won't install Hoops66 Red Hat 2 10-16-2003 04:15 PM
RPM's won't install DigiDave Linux - Newbie 10 09-29-2003 05:48 AM
Can't install RPM's kronchev Linux - Software 1 07-30-2003 09:05 AM
hwo to execute C programs in linux gonus Programming 9 09-30-2002 05:54 PM


All times are GMT -5. The time now is 08:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration