In RedHat 7.2, what do I do with a Bin file?

Bateluer

Lifer
Jun 23, 2001
27,730
8
0
?? I know its a binary file, do I need to compile it into an RPM? If so, how do I do that?
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
bin = binary. where did you get it and what is it?

is it for installing a program? you probably should just chmod +x it and execute it...but only if you're supposed to execute it.
 

manly

Lifer
Jan 25, 2000
13,190
3,974
136
Yeah, sadly some commercial software vendors like to ship their software as a shell-script that you execute.

The script displays a license agreement, and then self-extracts itself into the working directory.

Like BBWF said, if you got it from a safe source, chmod +x the file and run it. I would never run it as root though.
 

Bateluer

Lifer
Jun 23, 2001
27,730
8
0
Its LimeWire for linux, so I would consider it save, though I would never run it as root.

This is the first Bin file I have used in linux, how do I "chmod +x" it?

Edit - 'Nother question, how do i use a Tar.GZ file? The Tar.gz is ProFTPD.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< Yeah, sadly some commercial software vendors like to ship their software as a shell-script that you execute.

The script displays a license agreement, and then self-extracts itself into the working directory.
>>


i hate stuff that installs like that. i think java is like that. java seemed too lame to deal with, i gave up on installing it. not a big loss anyways. at least a browser plugin would be nice

speaking of which, non-windows browser plugins are such a pain.

sigh
 

jcrowe

Banned
Jun 19, 2001
191
0
0
To change the mod type:
chmod +x filename.bin

This changes the file so you can execute it. To execute it type:
./filename.bin

As for tar.gz files. These are just files that are compressed. To uncompress them type:
tar -xzvf filename.tar.gz

Hope that helps.

jcrowe
 

Bateluer

Lifer
Jun 23, 2001
27,730
8
0
What do I type at the cmd line to run an RPM?

And is it just me, or does Gnome have crummy support for GUI RPM installation?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< What do I type at the cmd line to run an RPM? >>



man rpm



<< And is it just me, or does Gnome have crummy support for GUI RPM installation? >>



Its just you, no one else uses gnome :p
 

Bateluer

Lifer
Jun 23, 2001
27,730
8
0
I like Gnome, its prettier than KDE IMO.

Anyway, so I type 'rpm-i filename.rpm'?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< I like Gnome, its prettier than KDE IMO. >>



Good. What I said was a joke, I personally dont use either. They are too slow and big. :)



<< Anyway, so I type 'rpm-i filename.rpm'? >>



Sounds about right. I dont like rpms so I dont know for sure.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< Said command not found.


Nuts to this, I'll log into KDE.
>>



It couldnt find rpm? Try "locate rpm" and see if it finds it. I didnt think you could install RedHat without it..
 

Bateluer

Lifer
Jun 23, 2001
27,730
8
0
Ok, here is the scoop.

I want to install LimeWire thru the bin file, but it needed Java Runtime installed. I DLed the Java files linked to on their site, use the chmod +x and installed it.

When I attempt to chmod +x the limewire bin file and execute it, i get the following " Extracting the installation resources from the installer archive . . . Configuring the installer for this system's environment . . . No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program."

Didn't i just install a Java VM rpm?

BTW, those Limewire RPMs did not work either :p
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< Ok, here is the scoop.

I want to install LimeWire thru the bin file, but it needed Java Runtime installed. I DLed the Java files linked to on their site, use the chmod +x and installed it.

When I attempt to chmod +x the limewire bin file and execute it, i get the following " Extracting the installation resources from the installer archive . . . Configuring the installer for this system's environment . . . No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program."

Didn't i just install a Java VM rpm?

BTW, those Limewire RPMs did not work either :p
>>


you dont need limewire, install gtk-gnutella, it runs off the same network (gnutella) and works much better than limewire IMO.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< Find out where the JAVA VM isntalls itself and add that location to your $PATH. >>


i tried to install limewire once, and i did exactly what he did, and then added java's path to my path, and it still didnt work. i just gave up and found gtk-gnutella

rolleye.gif
 

Bateluer

Lifer
Jun 23, 2001
27,730
8
0


<<
i tried to install limewire once, and i did exactly what he did, and then added java's path to my path, and it still didnt work. i just gave up and found gtk-gnutella
/q]

Where? :p
 

manly

Lifer
Jan 25, 2000
13,190
3,974
136
I've used LimeWire on Linux in the past, but not recently enough to comment on installation. I've never tried those RPMs that I mentioned.

I believe LimeWire is considered a decent/good Gnutella client, as long as you're willing to accept that it's a Java client app.

On the other hand, Gnutella isn't really considered a good p2p foundation for WANs (i.e. the Internet). The problem w/ Gnutella is that at any given time, your searches aren't global; so you effectively belong to a small local Gnutella network. As a result, downloading is a real pain.