LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i execute the command? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-execute-the-command-517435/)

kensim00 01-08-2007 10:41 AM

How do i execute the command?
 
Hi all,

i'm a newbie using RHEL Update 3. Currently i am installing an application by reading thru the installation guide. I'm stuck with this step:

"All of the configuration actions described in this chapter are performed using the rtminst program. This program is installed as a part of adlexrtm and can be accessed through the command rtminst. You need to have root privileges to execute the rtminst command from the operating system prompt."

As quoted from the manual, i has already logged on as root privileges and went into the terminal shell command. I have searched thru the directories inside the mounted installation cd but i couldn't really find any program named rtminst or adlexrtm. i tried to type the command 'rtminst' into the terminal but it doesn't recognize it.

Any of you would have some ideas of this? Is the rtminst a predefined command from Linux or something?

Many thanks!

Lenard 01-08-2007 11:08 AM

You need to provide information like what are you attempting to install, what installation guide are your referring to and so on. As a suggestion please read;

http://www.linuxquestions.org/linux/...Ask_a_Question

No, rtminst is not predefined command in Linux.

pixellany 01-08-2007 03:06 PM

Quote:

All of the configuration actions described in this chapter are performed using the rtminst program. This program is installed as a part of adlexrtm and can be accessed through the command rtminst.
Reading this, I suspect you need to install a package named adlexrtm. sometimes, .rpm packages will include numerous utilities/commands.

Google on "adlexrtm" shows nothing, so I guess we need more info....

kensim00 01-08-2007 07:44 PM

Hi,

I have been searching out the whole CD directories but i just couldn't find any files with the name 'rtminst' or the other one. However, i have found one .bin file (if i'm not wrong, *.bin is the Linux's executable file?) on the CD, when i doubleclicked it nothing happens. How do i execute it in the terminal command?

jschiwal 01-08-2007 09:15 PM

If it is an executeable, you could try starting it from the shell as root:
sudo sh /path/to/cdrom/rtminst.bin

Extensions are only a convenience in Linux. The properties are what is important. You may not be able to execute programs directly from a CD if it is mounted with the "noexec" option. That is the reason I used "sh ". For example, this is how I would run the installer program to install Civilization. Double clicking on the Icon wouldn't work.

You still haven't given information on what you are trying to install. There probably is a file that will tell you how to start the installation.

If this is the Network Analysis system, then it must be old because Adlex was aquired by Compuware according to all my Google inquiries. And the installation seems to use a flash based web installer.

kensim00 01-09-2007 12:24 AM

Hi jschiwal,

Thanks for the information. I finally have found the binaries are inside the rpm files from the cd. I have searched the code for un-packaging the rpm. What's the difference between -i and -ivh ?

Also, how do i use my USB devices instead of mouse on a Redhat? It seems like nothing happens although i plug the USB pen drive in or even PCMCIA card. How do i mount the devices?

timmeke 01-09-2007 03:41 AM

See also "man rpm".
rpm options:
-i = for installing a package
-v gives verbose output
-h adds a kind of progress meter (in the form of hash marks) and is preferrably used in conjunction with -v

So, -i and -ivh should do the same (namely, install the package from the rpm file), but -ivh just gives you nicer output.

kensim00 01-09-2007 07:31 PM

I see. Thanks so much.

I have mounted the USB flash drive thru the shell command. But i couldn't mount my PCMCIA network adapter because its directory not listed on the hardware browser. How do i mount this?

Many thanks!

xjlittle 01-09-2007 07:43 PM

You don't mount a network adapter. The kernel sees it and loads modules (drivers) for it to work. Try issuing the command
Code:

ifconfig  #or /sbin/ifconfig
to see if the kernel installed the modules.

You should see some output referring to eth0 or eth1 if it did.

mattgs 06-29-2007 03:06 PM

rtminst is located in /usr/bin

if not, run this at the bash prompt

Code:

whereis rtminst
btw, I found this post through googling "rtminst" ;)


All times are GMT -5. The time now is 03:46 PM.