Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-22-2003, 04:57 AM
|
#1
|
Member
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87
Rep:
|
command line question...
when it says (to install a modem driver) to type:
Code:
rpm -i hcfpcimodem-{version}.{arch}.rm
do i actually type that? or am i supposed to put something else in where it says {version} & {arch}? because it's not working...
|
|
|
06-22-2003, 05:00 AM
|
#2
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Rep:
|
Take a look at the rm file you're trying to install and just use that filename
(ie rpm -i hcfpcimodem-53_2.arbz.rm or what have you)
Last edited by Poetics; 06-22-2003 at 05:02 AM.
|
|
|
06-22-2003, 05:01 AM
|
#3
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
Nah, those are variables. Your tar.gz probably has the version number (unless it means your modem version number, rather than driver version number) and your architecture is probably i386, though it may be more specific if you have, say, i586 and it actually wants i586. i386 is both a specific and a general that means "i386 and up".
edit - Too slow and not paying attention. Yeah, rpm (yuck), not tar.gz. *g*
Last edited by slakmagik; 06-22-2003 at 05:03 AM.
|
|
|
06-22-2003, 05:06 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
And to make your life easier, use TAB autocompletion. Unless you've got 5 or 6 different files that are very close in name, then that should work just fine. Try it:
rpm -i filenaTAB
Where TAB is when you press TAB  And filena is the beginning of your filename.
Cool
|
|
|
06-22-2003, 05:09 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
basically this means you presumably need to download one of a list of rpms on their site, which are for different versions and architectures. and then run
Code:
rpm -ivh thefilethatyoudeceidedtodownload
|
|
|
06-22-2003, 05:09 AM
|
#6
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Rep:
|
re: Tab
Should've mentioned that. Absolutely fantastic "shortcut," if you will. I use it all the time
|
|
|
06-22-2003, 08:04 AM
|
#7
|
Member
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87
Original Poster
Rep:
|
well thanks for the help, but i believe it's the file, it's corrupt or incomplete or something. doesnt work. in gnome, i just double click the rpm file, it starts the setup, then it disappears like it found something it didnt like and doesnt install anything. oh well. ill figure it out sometime soon hopefully.
|
|
|
06-22-2003, 08:13 AM
|
#8
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Um, open up a terminal and try typing it in as suggested above. From there you may get a usable error message that you can then, in turn, post up here for others to help you with
Cool
|
|
|
06-23-2003, 05:06 AM
|
#9
|
Member
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87
Original Poster
Rep:
|
i did this:
Code:
rpm -ivh /directoryoffile *.rpm
it spit this out at me:
Code:
error: read failed: Is a directory (21)
/directoryoffile: not an rpm package (or package manifest): Is a directory
|
|
|
06-23-2003, 05:47 AM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Yeah, that means that you are not selecting the package, you need to:
rpm -ivh /directoryoffile/filename.rpm
Cool
|
|
|
06-23-2003, 07:12 AM
|
#11
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639
Rep: 
|
To make it perhaps a little more clear:
----------------------------------------------------------------
rpm -ivh /directoryoffile *.rpm
----------------------------------------------------------------
has a blank between "/directoryoffile" and "*.rpm"
They will thus be used as two arguments for the command rpm -ivh, and since "/directoryoffile" is a directory ...

In short: leave out that blank...or rather replace with "/"
|
|
|
06-23-2003, 02:01 PM
|
#12
|
Member
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87
Original Poster
Rep:
|
ok, i did this:
Code:
[root:]rpm -ivh /directoryfileisin/file.rpm
it just sat there and did nothing. not even bringing up the [root:] prompt.
|
|
|
06-25-2003, 04:34 AM
|
#13
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639
Rep: 
|
Did you check in a different terminal, whether rpm still lived (e.g. using ps or top)? With what did you get the prompt back?
Sometimes these commands are e little laconic ...
|
|
|
All times are GMT -5. The time now is 10:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|