LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-24-2003, 05:39 PM   #16
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30

Ok, open up a terminal window
$ su
password: enter your root password
# rpm -Uvh xnap-xxxxxx.rpm (replace xxxxxx with the version number of your rpm package)

If it tells you "package already installed" do
# rpm -e xnapxxxxxx.rpm
Chances are you will get a "package is not installed" at this time
do
# rpm -Uvh --force xnapxxxxx.rpm

Then you should be able to run the program from a terminal window or a command box.

Last edited by Ice9; 03-24-2003 at 05:41 PM.
 
Old 03-24-2003, 06:01 PM   #17
mystic
LQ Newbie
 
Registered: Feb 2003
Location: buffalo,ny (soon)
Distribution: mandrake9.1
Posts: 26

Original Poster
Rep: Reputation: 15
nope that didnt work either it was just lettignem type adn type never said not installed or already installed
 
Old 03-24-2003, 06:03 PM   #18
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
erm ...... not sure about what you mean here buddy

what did you do and what was the ouput in the terminal window?
you can copy the text from your terminal just by selecting it with your mouse, and then paste it here

Last edited by Ice9; 03-24-2003 at 06:04 PM.
 
Old 03-24-2003, 06:06 PM   #19
mystic
LQ Newbie
 
Registered: Feb 2003
Location: buffalo,ny (soon)
Distribution: mandrake9.1
Posts: 26

Original Poster
Rep: Reputation: 15
ok i typed in this so u can see for yourself


[root@x1-6-00-0b-06-5e-48-3f root]# xnap
/usr/bin/xnap: line 18: java: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# whereis xnap
xnap: /usr/bin/xnap /usr/share/man/man1/xnap.1.gz
[root@x1-6-00-0b-06-5e-48-3f root]# whereis qtella
qtella:
[root@x1-6-00-0b-06-5e-48-3f root]# $ su
bash: $: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# $su
[root@x1-6-00-0b-06-5e-48-3f root]# rose65
bash: rose65: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# rose65
bash: rose65: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# rpm-uvh-2.4r1-1
bash: rpm-uvh-2.4r1-1: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm-Uvh xnap-2.4r1-1.rpm
[root@x1-6-00-0b-06-5e-48-3f root]# rpm-Uvh xnap-2.4r1-1.rpm
bash: rpm-Uvh: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm-Uvh xnap-2.4rxnap-2.4r
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm-Uvh xnap-2.4r1-1.rpm
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm-e xnap-2.4r1-1.rpm
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm-Uvh-force xnap-2.4r1-1.rpm
[root@x1-6-00-0b-06-5e-48-3f root]# whereis qtella
qtella:
[root@x1-6-00-0b-06-5e-48-3f root]#
 
Old 03-24-2003, 06:15 PM   #20
mystic
LQ Newbie
 
Registered: Feb 2003
Location: buffalo,ny (soon)
Distribution: mandrake9.1
Posts: 26

Original Poster
Rep: Reputation: 15
if anyone can help me please feel free to IM me at
yahoo: mystyautumn
AIM/AOL : myistyautumn
MSN: starlyin5@hotmail.com
 
Old 03-24-2003, 06:18 PM   #21
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Quote:
/usr/bin/xnap: line 18: java: command not found
This suggests that you don't have the java runtime installed .....



Quote:
[root@x1-6-00-0b-06-5e-48-3f root]# rpm-uvh-2.4r1-1
bash: rpm-uvh-2.4r1-1: command not found
It's rpm -Uvh
not rpm-Uvh

rpm is the command, Uvh are the options
you have to put a space between the two elements

To install the java runtime go to
http://users.pandora.be/Ice9/Linux%2...reminders.html

The second item is about java in Mozilla, the third item is about installing the java runtime from Sun.
 
Old 03-24-2003, 06:46 PM   #22
mystic
LQ Newbie
 
Registered: Feb 2003
Location: buffalo,ny (soon)
Distribution: mandrake9.1
Posts: 26

Original Poster
Rep: Reputation: 15
this is driving me nuts, i knwo im not a moron but this just wount work, i dont know why i did what ur instructiosn said i typed in every possible way and still nothing

[root@x1-6-00-0b-06-5e-48-3f root]# # rpm -ivh j2reversionnumber -fcs -linux -1586.rpm
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivhj2reversionnumber-fcs-linux-i586.rpm
[root@x1-6-00-0b-06-5e-48-3f root]# #kedit.bash_profile
[root@x1-6-00-0b-06-5e-48-3f root]# su
[root@x1-6-00-0b-06-5e-48-3f root]# rose65
bash: rose65: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# bash
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivh j2re-1_4_1_02-linux-i586-rpm
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivhj2re-1_4_1_02-linux-i586-rpm
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivh j2re-1_4_1_02-linux-i586-rpm.bin
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivhj2re-1_4_1_02-linux-i586-rpm.bin
[root@x1-6-00-0b-06-5e-48-3f root]# j2re-1_4_1_02-linux-i586-rpm.bin
\bash: j2re-1_4_1_02-linux-i586-rpm.bin: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivhj2re-1_4_1_02-linux-i586-rpm.bin
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivh j2re-1_4_1_02-linux-i586-rpm.bin
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivh
[root@x1-6-00-0b-06-5e-48-3f root]# #
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivh
[root@x1-6-00-0b-06-5e-48-3f root]#
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm -ivhj2re-1_4_1_02-linux-i586-rpm
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm ivhj2re-1_4_1_02-linux-i586-rpm.bin
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm ivh j2re-1_4_1_02-linux-i586-rpm.bin
[root@x1-6-00-0b-06-5e-48-3f root]# #rpm ivhj2re-1_4_1_02-linux-i586-rpm
[root@x1-6-00-0b-06-5e-48-3f root]#
 
Old 03-24-2003, 06:53 PM   #23
mystic
LQ Newbie
 
Registered: Feb 2003
Location: buffalo,ny (soon)
Distribution: mandrake9.1
Posts: 26

Original Poster
Rep: Reputation: 15
i also got this


[root@x1-6-00-0b-06-5e-48-3f root]# rpm -Uvh xnap-2.4r1-1.rpm
error: open of xnap-2.4r1-1.rpm failed: No such file or directory
[root@x1-6-00-0b-06-5e-48-3f root]# rpm -ivhj2re-1_4_1_02-linux-i586-rpm.bin
-ivhj2re-1_4_1_02-linux-i586-rpm.bin: unknown option
[root@x1-6-00-0b-06-5e-48-3f root]# rpm -ivh j2re-1_4_1_02-linux-i586-rpm
error: open of j2re-1_4_1_02-linux-i586-rpm failed: No such file or directory
[root@x1-6-00-0b-06-5e-48-3f root]# rpm -ivhj2re-1_4_1_02-linux-i586-rpm
-ivhj2re-1_4_1_02-linux-i586-rpm: unknown option
[root@x1-6-00-0b-06-5e-48-3f root]# rpm -ivhj2re-1_4_1_02-linux-i586-rpm.bin
-ivhj2re-1_4_1_02-linux-i586-rpm.bin: unknown option
[root@x1-6-00-0b-06-5e-48-3f root]# ror: open of j2re-1_4_1_02-linux-i586-rpm failed: No such file or directory
bash: ror:: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# [root@x1-6-00-0b-06-5e-48-3f root]# rpm -ivhj2re-1_4_1_02-linux-i586-rpm
bash: [root@x1-6-00-0b-06-5e-48-3f: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# -ivhj2re-1_4_1_02-linux-i586-rpm: unknown option
bash: -ivhj2re-1_4_1_02-linux-i586-rpm:: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# [root@x1-6-00-0b-06-5e-48-3f root]# rpm -ivhj2re-1_4_1_02-linux-i586-rpm.bin
bash: [root@x1-6-00-0b-06-5e-48-3f: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# -ivhj2re-1_4_1_02-linux-i586-rpm.bin: unknown option
bash: -ivhj2re-1_4_1_02-linux-i586-rpm.bin:: command not found
[root@x1-6-00-0b-06-5e-48-3f root]# [root@x1-6-00-0b-06-5e-48-3f root]#
bash: [root@x1-6-00-0b-06-5e-48-3f: command not found
[root@x1-6-00-0b-06-5e-48-3f root]#
[root@x1-6-00-0b-06-5e-48-3f root]#
 
Old 03-24-2003, 07:01 PM   #24
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
A few pointers and a few questions :

Do you have a regular user account?
You seem to be logged in as root all the time.
When you're root, you don't have to do "su"
"su" stands for either switch user or superuser and is used to switch from your regular account to the root account.

Quote:
[root@x1-6-00-0b-06-5e-48-3f root]# # rpm -ivh j2reversionnumber -fcs -linux -1586.rpm
The # indicates you're operating as root, you don't have to type it.
Did you actually type "j2reversionnumber -fcs -linux -1586.rpm"?
You have to replace the "revisionnumber" part with the actual revision number from the java runtime.
And you have to issue the rpm command from the directory where you saved the rpm file, navigate to it using cd followed by the name of the dir where you have to go.

Quote:
#rpm -ivhj2re-1_4_1_02-linux-i586-rpm
Spaces man, spaces this would be
# rpm -ivh j2re-1_4_1_02-linux-i586-rpm
not
#rpm -ivhj2re-1_4_1_02-linux-i586-rpm

And please edit your post to remove your root password, you never know who can brwose through these forums.
Don't know for sure if someone would be able to do something with it but better safe than sorry.
That would count for always being logged as root too!!!
If you have a user account, use it, switch to root (su) whenever you need.

Last edited by Ice9; 03-24-2003 at 07:03 PM.
 
Old 03-24-2003, 07:11 PM   #25
mystic
LQ Newbie
 
Registered: Feb 2003
Location: buffalo,ny (soon)
Distribution: mandrake9.1
Posts: 26

Original Poster
Rep: Reputation: 15
no i never made a user account , root is where u make all your changes, well i just installed redhat liek 3 days ago so im tryignt o get it all set up for me so i didnt make one as for the spaces i did use spaces i didnt quit catch onto teh version number till after lol stupid me, as for my passwork im nto overlyw orried i dotn have anythign on here so if by some chance someone wants to hack me i can always fix it not a biggie, but thanx for the concern.
"And you have to issue the rpm command from the directory where you saved the rpm file, navigate to it using cd followed by the name of the dir where you have to go." no idea what your talking about there
but like i said i have tried what i can i dont know what im doign wrong i tried the spaces and i typed int he version number, but it still doesnt seem tobe doign what i want.
but sence i cant find xnap on here how would i remove it or anythign for that matter
 
Old 03-24-2003, 07:28 PM   #26
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Hint: There's an edit button, remove some of those typos
And like any new thing, reading the manual helps, so remember you can usually man command to get info on the command
 
Old 03-24-2003, 07:32 PM   #27
mystic
LQ Newbie
 
Registered: Feb 2003
Location: buffalo,ny (soon)
Distribution: mandrake9.1
Posts: 26

Original Poster
Rep: Reputation: 15
ok not to be snippy but i dont know if any of u have noticed teh word newbie under my name and for the typeos im sorry but i have been on this forum all day long and i dont care much abotu the typeos
and if i knew where these things were id use them but sence i dont i cant and if they wount work well i stilkl cant use em
 
Old 03-24-2003, 07:33 PM   #28
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I noticed that when you were trying to install the java package you had some that ended in .rpm and some that ended in .bin. What is the FULL file name exactly?

Also you should have a user account other then root because it is required during installation.

If the file is a .bin file rather then .rpm then thats in a whole other ballpark.
 
Old 03-24-2003, 07:39 PM   #29
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Quote:
And you have to issue the rpm command from the directory where you saved the rpm file, navigate to it using cd followed by the name of the dir where you have to go." no idea what your talking about there
Well, where did you save the rpm package?
Asuming that you saved it in let's say /home/files/xnap

type "pwd" (without the quotes), you will probably be in /root

type
cd /home/files/xnap

now you're in the directory with the rpm package
from there you type
rpm -Uvh whateverthenameis.rpm

next, make a user account, even if you're not afraid of someone hacking you, you WILL fsck up your system sooner or later if you stay root all the time!

If you have problems with the rpm look at one of my first posts in this thread.

And Proud is right you know, read as many newbie guides as you can find.
Here are some links which might be of some use
http://www.rpm.org/RPM-HOWTO/
http://www.tldp.org/
http://wks.uts.ohio-state.edu/unix_c...intro-137.html
http://www.justlinux.com/

And if you want some info about a command, type
man rpm
or man followed by whatever command
you will see all the info about that particular command listed in the terminal window.

Last edited by Ice9; 03-24-2003 at 07:40 PM.
 
Old 03-24-2003, 08:23 PM   #30
mystic
LQ Newbie
 
Registered: Feb 2003
Location: buffalo,ny (soon)
Distribution: mandrake9.1
Posts: 26

Original Poster
Rep: Reputation: 15
crashed_again java is an .rpm.bin i tried ending it with just rpm or just bin to see if maybe it would work as for the use account it isnt required they ask u to but u dont have to

Ice9 they are saved in file:/root
 
  


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
uninstalling programs speel Linux - Newbie 3 11-09-2004 04:47 PM
uninstalling programs fuelinux Linux - Newbie 9 10-31-2003 08:00 AM
Uninstalling programs alofatti Linux - Newbie 3 06-20-2003 10:50 PM
'Uninstalling' programs keymoo Linux - Newbie 3 01-02-2002 06:06 AM
uninstalling programs punt Linux - General 3 07-17-2001 07:52 PM

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

All times are GMT -5. The time now is 05:35 AM.

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