LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2004, 01:38 PM   #1
dieseltech
LQ Newbie
 
Registered: Oct 2004
Location: lagrange new york(armpitt of the world)
Distribution: huh?
Posts: 10

Rep: Reputation: 0
new to linux need some help


well this is my first day using mandrake 9.1 linux, a friend gave it to me and told me to put it on my old machine(hp vectra VLi8sf 600mhz) my first impression is WOW why didnt i switch 10 years ago, but now i am getting stumped trying to put new programs on.
i am trying to install java j2re-1_4_2_04-linux-i586.bin, now when i go to move the file to
/usr/local
it wont let me copy the file there, it says access denied: could not write to /usr/local/j2re..................

i am putting this on to run limewire, but like i said, i am very new to linux and any help in detail will be very helpfull. after using linix i dont think i ever want to use windows again, but if i cant figure this out i may have to continue using microcrap windows xp that crashes for no reason(bought the computer new a week ago and its driving me nutz, pay for tech support thats BS, bill gates what a jackass, i will put linux on the new machine )
thanks chris

Last edited by dieseltech; 10-13-2004 at 01:41 PM.
 
Old 10-13-2004, 01:48 PM   #2
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
you have to become root (the admin user) in order to install something across the computer.

so copy the j2re file to somewhere useful, then open a terminal.

now:
cd /where/you/put/the/file/ (this Changes Directory to the place the file is)
su (this makes you root, you'll have to enter the root password that you set up when you installed Mandrake)
chmod 777 filename.bin (this makes the file executable, ie you can now run it)
./filename.bin (this runs the file, now follow the instructions )


EDIT: Remember, you can type the first few letters of a filename and press TAB, and the terminal will automatically finish it off for you.

Last edited by proudclod; 10-13-2004 at 01:49 PM.
 
Old 10-13-2004, 01:49 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
No worries ... just move the directory as root. Normal
users don't have permissions to write anywhere else
than in there ~home and /tmp (not to files others created).


Cheers,
Tink
 
Old 10-13-2004, 01:50 PM   #4
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
Hi and welcome.

Well, first I'd like to say, the learning curve should be quick once you learn the basics.

Here we go:

If you can move or copy something to a directory, try doing so as root:

open up konsole or a terminal and login as root, then try to move it to that directory.

Do you know how to install the .bin file?

make sure you change the file attributes to executable by doing this as root:

chmod a+x your.filehere.bin //using your file name over course

then to execute this file:

./your.filehere.bin

it should execute the file.

let us know when you get this far...
 
Old 10-13-2004, 01:51 PM   #5
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Are you doing that as root? You need to use the root file manager (konqueror) . If you're doing it in the command line:

Code:
 
su -
Makes you root if you fill in the password

Code:
cd /folder/of/the/file
Go to the directory with the file

Code:
mv "file" /usr/local
moves the file to /usr/local

Code:
cd /usr/local
go to the local folder

Code:
chmod +x "file"
allow the file to be executed

Code:
./"file"
execute the installer.

If you put the name of the j2re-file instead of "file" (you can use TAB to complete a name, it's really nice feature) it should work.

HTH
 
Old 10-13-2004, 01:53 PM   #6
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
Please either su to root and open up konqueror or some other filemanager and copy it from there or do this as root.

su
cp j2re-1_4_2_04-linux-i586.bin /usr/local/ && cd /usr/local/ && chmod 765 j2re-1_4_2_04-linux-i586.bin;sh ./j2re-1_4_2_04-linux-i586.bin

that should bring up the liscense aggreement follow the prompt and it will extract it in /usr/local. Then you will need to symlink the java binary to somewhere like /usr/bin like this:

cd /usr/bin
ln -s /usr/local/java/path to java binary

after that check to see if java is in your path just type java at the terminal.

The most simple way is to extract java in your home directory that way you never have to become root. Just find a way that best suits you.

Btw limewire rocks!
 
Old 10-13-2004, 01:59 PM   #7
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
oh yeah,

try gtk-gnutella over limewire....
 
Old 10-13-2004, 03:59 PM   #8
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
A simple day of downlng for me is......

Azureus for torrents (movies & full albums), Apollon connected to kazaa network with fasttrack plugin enabled., and instead of running gtk-gnutella to save cpu I just enable the gnutella plugin for Apollon. I generally run all thoose apps at the same time. Limewire and Azureus use the most cpu because it's "doing the java do" but all in all the p2p apps for Linux work nicely.
 
  


Reply



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
ut2004 demo help! ned to install ddlinux Linux - Games 1 03-05-2005 01:00 PM
NED editor help vgulch Linux - Software 0 12-23-2004 02:08 AM
Windows-based remote users ned to change password ooorah Linux - Security 5 10-13-2004 05:57 PM
Ned some help with commands Variable001 Linux - Newbie 2 03-10-2004 03:43 PM
Ned help with apache. Z28kid Linux - Newbie 2 02-16-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:42 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
Open Source Consulting | Domain Registration