Skip navigation.
Home
Now Shipping Version 8.0

JFTP software-trying to install a .bin file(solved)

Cramp's picture

Posts: 178

Hello,

The Gftp software that comes with Simply Mepis 6.0 crashes on me, and I searched and found it does this quite often for others as well. So, I am trying to install JFTP. I've downloaded JFTP without Java Runtime Environment, since JRE is already installed, and it is the latest version.

The instructions are as follows:

" The instructions given in this section are applicable only if you are planning to install JFTP on to a Linux system and have downloaded one of the the Linux specific installer. Make sure that the name of the file you have downloaded is jftp4_0_linux_vm.bin or jftp4_0_linux_novm.bin.

If you have downloaded the Linux installer that does not include a JRE (Java Runtime Environment), i.e. jftp4_0_linux_novm.bin, make sure to install JRE version 1.4.0 or higher. You can download the latest JRE from http://www.java.com or http://java.sun.com.

To complete the installation, follow the steps given below:

* After downloading jftp4_0_linux_vm.bin or jftp4_0_linux_novm.bin, double click on the downloaded file to launch the installer.
* Alternatively, open a shell and change the working directory (cd) to the directory where you have downloaded the installer. At the prompt, type: sh ./jftp4_0_linux_vm.bin or sh ./jftp4_0_linux_novm.bin to launch the installer.
* Follow the on-screen instructions to complete the installation."

I click on the file and open it with Kwrite. A warning pops up saying that it is a bin file and saving it will result in a corrupt file. I click OK.

Here is where I get stuck. I did some research on .bin files, and one sight mentioned to change permissions:

""chmod u+x jftp4_0_linux_vm.bin (this changes the file permissions so that your user can execute the binary)

then try:
./jftp4_0_linux_vm.bin""

I don't know where to type this in to change permsission during the process. Do I need to be in root, do I type it in Kwrite, or do I need to open Konsole?

Thanks for your time and any help you can give!

Lisa

james e. thompson's picture

Install a .bin file

Normally a quick double click will make kpackage manager pop up to install the file. Have you tried that? This file is a system file and you will probably have to be root to install it.
Log in to konsole and type su and it will ask you for the root password after that cd to the directory you have the file in and ./jftp4_0_linux_vm.bin should install it. If not then you can try the chmod routine. But as root it should install without that. You might try a fast double click first though kpackage will ask for root password before it will install it anyway.

jim

sag47's picture

.bin, .sh, and binary files

.bin, .sh, and binary files are a little bit different to open than a regular RPM or DEB installer. You can't simply open them with the KPackage Manager. You do not need to be root to install a program using a binary installer.

Let's say Lisa that you're username is lisa (i'm assuming here). Since you are a user and not a root then you need to open the konsole and run the binary.

http://kb.tafusion.org/link.php?id=62
That is an article that shows you an installer using just a user (not root).

But let's say we look at just you. Open the Konsole by going to KStartMenu > System > Terminal Program (Konsole)

Now follow my commands below for YOUR user. I am also assuming that you have this installer on your desktop. Remember that these commands are CASE-SENSITIVE.

lisa@1[~]$ cd Desktop/
lisa@1[Desktop]$ sh jftp4_0_linux_vm.bin
Verifying Archive Integrity...

There you have it. That's how you run binary files as a user. If you were logged in as the root then all you would have to do is simply open the file like you tried as a user. And instead of opening KWrite it will execute the file as the root user.

The cool thing about binary installers is they are compatable with ALL linux distro's whether it be RedHat based (like SuSE 10) or Debian based (like MEPIS 6).

Write more if needed.
SAM


Play Savage for Linux! MEPIS Knowledge Base Articles
MEPIS Quick-Start Guide

Cramp's picture

? installer

Oh, I was hoping I wouldn't have to ask you this, Sam, for it's just another sign of my ignorance.

The question I ask is, what installer?

"and have downloaded one of the the Linux specific installer",

and I see you assumed I already had the installer on my desktop. I don't. I need hand-holding through this, I'm afraid.

When I type in what you suggested in Konsole using my real user name, it says file not found. Looks like I need to take ten steps back.

Again, thanks for your time as well as others that can help me through this.

Lisa

james e. thompson's picture

? installer

I think you are confused by terminoligy , the file you downloaded is an installable file. Another thing to be aware of is linux uses explicit paths . I dont know what folder you downloaded the file to But i will give you an example lets say for instance its in your /home/lisa/Share folder. After you log into the konsole and type su that means you want to continue what you are doing as root or super user so after you give it root password you are logged in as root. cd means change directory. In our example it would be cd /home/lisa/Shared. Once you have the proper folder you just execute the file ./jfto4_0_linux_vm.bin or sh ./jftp4_0_linux_vm.bin then you are off and running hopefully. Usually file not found means you are not in the right folder or you made a type-o so you need to look at the file and make sure the name is correct. Another thing in konsole after each command you have to hit the enter key to make it happen mouse dont usually work in konsole. Allso if you notice the example the S in the Shared folder is upper case , if thats the way it is in the directory tree you will have to type it upper case to cd to that folder. Yell if any thing is not clear.

jim

AdrianTM's picture

Also don't forget to use TAB

Also don't forget to use TAB for autocompletion, this way you reduce the risk of mistyping the name of the file

So type:
sh jftp [and press TAB to complete the name] press 2 times if there are more alternatives, then press Enter.

--
Check out Mepis wiki: www.mepis.org/docs
Community site: www.mepislovers.com/forums

Cramp's picture

Installed JFTP

Thank you so much, Sam, Jim, and Adrian! I apprediate your descriptive help with this as it enabled me to install the software.

What threw me is in Konsole, when it asked for root password, I typed it in and nothing shows up in text as I type. I hit enter, and it's accepted.

I'm so glad command lines are so forgiving, for I had to type several times to get it right. But it the end, I got it. The only error was a simple one:

"Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct"

I'm new at learning my home file structure. It asked where to put JFTP, and I let it install it in /root/jftp.

Hugs to each of you! I appreciate the time you took with me to help explain it all. Don't you just hate those pleas for help, "But where do I type it?!!!"

Cheerio,

Lisa

On a side note, I downloaded that large MB driver file for Canon printers that Sam suggested, and I can't find where it put it. It's in here somewhere. Well, I'm always misplacing things-Ha!

james e. thompson's picture

Printer Driver

I may be wrong about this but i think the other driver will work better it is made specifically for Debian and the guy that wrote them stated the canon co. drivers were way too complicated or overblown and he had doubts about them. I would follow the url M_pav provided in that post and check it out before you install. I installed them in wifes rig and they work fine on her pixima4000.

jim

Cramp's picture

printer driver thank you!

Hello Jim,

Thanks for pointing me to that Japanese fellow's sight on Canon printer drivers. I looked it over a week ago, and didn't see iP3000, but this time I did. The printer driver I am using now is just so-so after giving it a week's trial.

You have to shake your head and laugh when the fellow stated under Known Bugs: "Another problem is that pstocanonbj provided by Canon did not work at all. I had to make an original version. My program is much simpler, and has enough function. I don't know why Canon made such a complicated filter Sad. "

Thank you, Mr. Miyoshi!

Cheerio,

Lisa

james e. thompson's picture

printer driver

Cramp wrote:
Hello Jim,

Thanks for pointing me to that Japanese fellow's sight on Canon printer drivers. I looked it over a week ago, and didn't see iP3000, but this time I did. The printer driver I am using now is just so-so after giving it a week's trial.

You have to shake your head and laugh when the fellow stated under Known Bugs: "Another problem is that pstocanonbj provided by Canon did not work at all. I had to make an original version. My program is much simpler, and has enough function. I don't know why Canon made such a complicated filter Sad. "

Thank you, Mr. Miyoshi!

Cheerio,

Lisa

Yeah those statements hung in my head and made me doubt the quality of Canons drivers. I think you will find his drivers work well and hes willing if time permits to buld drivers for other products made by canon i presume. Seemed like a well intergrated setup i couldnt tell the diffrence between sources when installed they just jumped alongside the rest. Have fun with them .

jim

.bin files

Thanks for this information. It works fine. Josef

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.