dpkg -i bear_0.9.6-1_i386.debIf all goes well, then Bear is installed and you can try it out immediately:
bear
bear 0.9.6 Copyright (C) 2005 David Dumas (daviddumas@gmail.com) Using Lua 5.0.2, Copyright (C) 1994-2004 Tecgraf, PUC-Rio Build stamp: i486-pc-linux-gnu-2005-08-13 Distributed under the terms of the GNU General Public License For more information, see the file named COPYING. bear>However, if you do not have all of the packages that bear requires, dpkg will report missing dependencies. You can fetch and install these packages using apt-get. For example, a typical clean install of Debian unstable will need to install the following additional packages:
apt-get install libg2c0 libgsl0 h5utils liblua50 liblualib50The full list of required packages as of version 0.9.6 (excluding those which Debian labels as "required") is as follows:
libg2c0 libgsl0 libhdf5-1.6.4-0 or libhdf5-serial-1.6.4-0 liblua50 liblualib50 libreadline5
yum install gsl hdf5Now you should download the RPM package of Bear for Fedora Core 4. For example, the version 0.9.6 package is called bear-0.9.6-1.fc4.i386.rpm. Then use rpm to install the package (again, do this as root):
rpm -i bear-0.9.6-1.fc4.i386.rpmFinally, you can test that Bear is installed and working:
bear
bear 0.9.6 Copyright (C) 2005 David Dumas (daviddumas@gmail.com) Using Lua 5.0.2, Copyright (C) 1994-2004 Tecgraf, PUC-Rio Build stamp: i686-redhat-linux-gnu-2005-08-13 Distributed under the terms of the GNU General Public License For more information, see the file named COPYING. bear>
[extras] name=Fedora Extras - $releasever - $basearch baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/ gpgcheck=1 gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-ExtrasAn alternate approach is to follow the instructions from the Unofficial Fedora FAQ and replace your /etc/yum.conf configuration file with one that lists many more repositories and faster mirrors of the default ones.
After the extras repository has been added, you can install the libraries that Bear requires using yum (as root):
yum install gsl hdf5Note that the package gsl is in the main Fedora Core 3 repository, so it could have been installed before the 'extras' repository was added.
Once all the required libraries are installed, you should download the RPM package of Bear for Fedora Core 3. For version 0.9.6, the package is called bear-0.9.6-1.fc3.i386.rpm. You can install the package using rpm (as root):
rpm -i bear-0.9.6-1.fc3.i386.rpmFinally, you can test that Bear is installed and working:
bear
bear 0.9.6 Copyright (C) 2005 David Dumas (daviddumas@gmail.com) Using Lua 5.0.2, Copyright (C) 1994-2004 Tecgraf, PUC-Rio Build stamp: i686-redhat-linux-gnu-2005-08-13 Distributed under the terms of the GNU General Public License For more information, see the file named COPYING. bear>
rpm -i hdf5-1.6.2-2.mr.i386.rpmBear also requires the GNU Scientific Library (GSL), which is part of Fedora Core 2. You can download and install it in one step using yum:
yum install gslOnce all the required libraries are installed, you should download the RPM package of Bear for Fedora Core 2. For version 0.9.6, the package is called bear-0.9.6-1.fc2.i386.rpm. You can install the package using rpm (as root):
rpm -i bear-0.9.6-1.fc2.i386.rpmFinally, you can test that Bear is installed and working:
bear
bear 0.9.6 Copyright (C) 2005 David Dumas (daviddumas@gmail.com) Using Lua 5.0.2, Copyright (C) 1994-2004 Tecgraf, PUC-Rio Build stamp: i686-redhat-linux-gnu-2005-08-13 Distributed under the terms of the GNU General Public License For more information, see the file named COPYING. bear>