Command RPM Won't Work on Fedora 2

Posted on 2006-04-19
Last Modified: 2013-12-15

I am Noob on Unix, and i need to install Broadcom Network Card on Special Fedora 2 with Puresight integrated on the Kernel.

I Have test on Fedora 2 & trouble.
But on this special version when I try this command, i have an error
rpm -ivh bcm5700-6.2.17-1.src.rpm
cd /usr/src/rpm/

rpm -bb SPECS/bcm5700.spec or rpmbuild -bb SPECS/bcm5700.spec

Then I try the -bb i have the error :
Command not found.
Question by:bruno_boccara

    Author Comment

    I have somes news...i have try this process
    1. Create a directory and extract the files:
    tar xvzf bcm5700-<version>.tar.gz
    2. Build the driver bcm5700.o as a loadable module for the running kernel:
    cd src
    3. Test the driver by loading it:
    insmod bcm5700.o
    insmod bcm5700.ko (on 2.6.x kernels)
    If loading the driver on Red Hat 7.3, 2.1 AS or other newer kernels with the
    tg3 driver, refer to the "Removing tg3 Driver" in DISTRIB.TXT before loading
    the driver.
    4. Install the driver and man page:
    make install

    But When I launch the Make or make install I have a bug

    The release of my kernel is :
    2.6.5.-1.358 smp on i686

    LVL 61

    Expert Comment

    $ rpmbuild  bcm5700-<version>.tar.gz
    # rpm -i bcm5700-<version>.rpm

    Author Comment

    Hi Gheist

    So the command
    rpm -i  or rpm -ivh  are correctly pass.

    But After the next command block me

    rpm -bb SPECS/bcm5700.spec ===> -bb: unknow option

    rpmbuild -bb SPECS/bcm5700.spec====> -bash rpmbuild command not found

    LVL 51

    Expert Comment

    > rpm -bb SPECS/bcm5700.spec ===> -bb: unknow option
    why are you using this option?

    > rpmbuild -bb SPECS/bcm5700.spec====> -bash rpmbuild command not found
    why would you build an rpm if you want to install one?
    LVL 15

    Expert Comment

    Here is the story. At one point, long time age (in this Galaxy) building RPMs was done by

    rpm -bb (i.e. Build Binary)

    At around RH9, RedHat decided to split developer tools from regular package management, so all building functionality was moved to rpmbuild. Later on, rpmbuild was split from rpm package into rpm-build package, which you are apparently missing.

    So it's yum install rpm-build and then continue as advised by gheist.
    LVL 15

    Expert Comment

    >>why would you build an rpm if you want to install one?

    Because he only got .src.rpm, i.e source RPM.
    LVL 15

    Expert Comment

    Oh, and it's

    rpmbuild --rebuild somehting.src.rpm

    LVL 51

    Accepted Solution

    > Because he only got .src.rpm, i.e source RPM.
    thanks for clarifying, didn't read the package name carefully in the question ..
    LVL 51

    Expert Comment

    bruno_boccara, are you sure you graded the right question?
    just wondering ...

    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
    Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now