Octaviz, VTK, & Octave CMAKE???
Ben Scott
dragonhawk at gmail.com
Tue Aug 5 12:18:19 EDT 2008
Please trim quoted text when replying. Thanks.
On Tue, Aug 5, 2008 at 12:01 PM, Labitt, Bruce
<labittb1 at tycoelectronics.com> wrote:
> The vtk.spec file contains make and make install instructions - I
> thought that would install stuff.
It does, sort of. The "rpmbuild" command will go through the steps
of compiling, linking, installing, etc. -- but the installation target
is a tempory RPM build directory. rpmbuild then takes all the
installed files, and packages them up into one or more .rpm files.
Those packages can then be installed on any number of hosts.
Including the build host, in your case.
Remember, the idea behind RPM is to build software once, package it,
and then distribute the package to thousands of other users.
To install a single RPM package (without dependency resolution), you
can just do:
rpm rpm --install --verbose --hash whatever-1.2.3-4.i386.rpm
(All you really need is "--install"; the other two just give you a
progress indication.)
If you want dependency resolution (i.e., to automatically install
any packages needed to support the package you're asking for), there's
a way to tell yum to install a package from a collection of local
files. I forget the details, but the man page should remember.
Chances are you won't need this -- you likely already have the
dependencies installed. That rpm command will abort with a diagnostic
message if you don't.
> How do I tell if yum installed these rpms?
Unless you told something to install the .rpm packages you built,
the system will not have done anything with them. Neither RPM nor YUM
will, by default, look under /usr/src for package files to install.
> yum list installed vtk
That will tell you for sure.
-- Ben
More information about the gnhlug-discuss
mailing list