Tab key

Discuss Programming / Linux questions.

Moderators: scallenger, Sky, TresCom Support Team

User avatar
Dapper Dan
-=TresCom Elder=-
-=TresCom Elder=-
Posts: 2010
Joined: Tue Nov 12, 2002 7:43 am
Location: South Carolina
Contact:

Tab key

Post by Dapper Dan »

Lou, here's an example...

Code: Select all

[dan@dapperdan dan]$ cd rpm
[dan@dapperdan rpm]$ ls
winex3.2-2.i686.rpm
winex3-3.1-1.i386.rpm
winex3-3.2.1-1.i386.rpm
winex3-3.2-1.i386.rpm
xfe-0.60-1rh9.i386.rpm
xpad-1.12-1.i386.rpm
xv-3.10a-13.i386.rpm
[dan@dapperdan rpm]$ su
Password:
[dan@dapperdan rpm]# rpm -ivh winex3
Then, press tab. If nothing, then tab again for a list of what begins with winex3.

Code: Select all

winex3.2-2.i686.rpm      winex3-3.2.1-1.i386.rpm
winex3-3.1-1.i386.rpm    winex3-3.2-1.i386.rpm
Then add a '.2' to the end of 'winex3', press tab and it fills it out..

Code: Select all

[dan@dapperdan rpm]$ rpm -ivh winex3.2-2.i686.rpm 
"I have discovered an ancient tribe of those who still hold a candle for this dead, and forgotten Videonic Gamen... the Forgotten people."
Lou-saydus
Pteranodon
Pteranodon
Posts: 983
Joined: Wed Sep 10, 2003 11:18 pm

Post by Lou-saydus »

Ya i know. thanks that really speeds things up.

btw do u know where i can get a java plugin for mozilla?
User avatar
Dapper Dan
-=TresCom Elder=-
-=TresCom Elder=-
Posts: 2010
Joined: Tue Nov 12, 2002 7:43 am
Location: South Carolina
Contact:

Post by Dapper Dan »

Download sdk-1_4_2-nb-3_5_1-bin-linux.bin ( Linux (.bin) ) from the sun java website. Then follow these instructions..
"I have discovered an ancient tribe of those who still hold a candle for this dead, and forgotten Videonic Gamen... the Forgotten people."
Lou-saydus
Pteranodon
Pteranodon
Posts: 983
Joined: Wed Sep 10, 2003 11:18 pm

Post by Lou-saydus »

the thing is 90 mb! this is going to take a while...
User avatar
Dapper Dan
-=TresCom Elder=-
-=TresCom Elder=-
Posts: 2010
Joined: Tue Nov 12, 2002 7:43 am
Location: South Carolina
Contact:

Post by Dapper Dan »

You can shuck the .bin file after installation..
"I have discovered an ancient tribe of those who still hold a candle for this dead, and forgotten Videonic Gamen... the Forgotten people."
Lou-saydus
Pteranodon
Pteranodon
Posts: 983
Joined: Wed Sep 10, 2003 11:18 pm

Post by Lou-saydus »

How do i decompress the .bin?
User avatar
Dapper Dan
-=TresCom Elder=-
-=TresCom Elder=-
Posts: 2010
Joined: Tue Nov 12, 2002 7:43 am
Location: South Carolina
Contact:

Post by Dapper Dan »

First do:

chmod 777 sdk-1_4_2-nb-3_5_1-bin-linux.bin

This is to change ownership so you can run it. Then:

./ sdk-1_4_2-nb-3_5_1-bin-linux.bin [enter]

or:

sh sdk-1_4_2-nb-3_5_1-bin-linux.bin [enter]
"I have discovered an ancient tribe of those who still hold a candle for this dead, and forgotten Videonic Gamen... the Forgotten people."
Lou-saydus
Pteranodon
Pteranodon
Posts: 983
Joined: Wed Sep 10, 2003 11:18 pm

Post by Lou-saydus »

./ error = .: /: is a directory

sh error = j2sdk-1_4_2-nb-3_5_1-bin-linux.bin: j2sdk-1_4_2-nb-3_5_1-bin-linux.bin: cannot execute binary file

i did this is root and i set the permissios to 777.
User avatar
Dapper Dan
-=TresCom Elder=-
-=TresCom Elder=-
Posts: 2010
Joined: Tue Nov 12, 2002 7:43 am
Location: South Carolina
Contact:

Post by Dapper Dan »

If you are in the same directory,

./ sdk-1_4_2-nb-3_5_1-bin-linux.bin [enter]

should work. Make sure the file name is right. Go

./sdk [tab]

then enter..
"I have discovered an ancient tribe of those who still hold a candle for this dead, and forgotten Videonic Gamen... the Forgotten people."
Lou-saydus
Pteranodon
Pteranodon
Posts: 983
Joined: Wed Sep 10, 2003 11:18 pm

Post by Lou-saydus »

Ok i got it to decompress. And i ran the install shield.
But where did i decompress it to?
i used the defaul location.
Lou-saydus
Pteranodon
Pteranodon
Posts: 983
Joined: Wed Sep 10, 2003 11:18 pm

Post by Lou-saydus »

ok nether of the plugins work that come with that.. i really need to
get this fixed by monday. Any other ideas?
Lou-saydus
Pteranodon
Pteranodon
Posts: 983
Joined: Wed Sep 10, 2003 11:18 pm

Post by Lou-saydus »

well im about at my wits end.

Do u know how to uninstall mozilla?
User avatar
Dapper Dan
-=TresCom Elder=-
-=TresCom Elder=-
Posts: 2010
Joined: Tue Nov 12, 2002 7:43 am
Location: South Carolina
Contact:

Post by Dapper Dan »

Why would you want to uninstall mozilla?? Check in /opt and see if java is installed there (which I'm sure it is). You have to make a symbolic link to let Mozilla know where to find the java plugin. This is a lot easier than you think. You should be able to make the symbolic link by doing as root:

Code: Select all

ln -s /opt/j2sdk_nb/j2sdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so [enter]
the tab key is a big help when doing this kind of command line editing. Make sure there is a space between 'oji.so' and /usr/lib..
"I have discovered an ancient tribe of those who still hold a candle for this dead, and forgotten Videonic Gamen... the Forgotten people."
Lou-saydus
Pteranodon
Pteranodon
Posts: 983
Joined: Wed Sep 10, 2003 11:18 pm

Post by Lou-saydus »

i have already tried copying the plugin its sefl for all three of them.
and i have also tried making a symbolic link for ns 610 but not the others. when i made a symbolic link mozilla wouldnt even start up.


the reason i want to uninstall mozilla is so i can install a newer version.
User avatar
Dapper Dan
-=TresCom Elder=-
-=TresCom Elder=-
Posts: 2010
Joined: Tue Nov 12, 2002 7:43 am
Location: South Carolina
Contact:

Post by Dapper Dan »

That's because you don't have the right plugin linked. Using nautilus, go into your

/usr/lib/mozilla/plugins/

directory, and delete whatever,

libjavaplugin_oji.so

is now there.

Then do the command I have written out for you above. You must use the plugin from ns610-gcc32 instead of the one from just ns610. ns610 will cause Mozilla not to run! The version of Mozilla that you now have is more than adequate. Have you started using Synaptic yet?
"I have discovered an ancient tribe of those who still hold a candle for this dead, and forgotten Videonic Gamen... the Forgotten people."
Post Reply