rpm

RPM management

Example: The quanta package

rpm -q quanta Check whether and which version of quanta is installed

rpm -ql quanta List all files (and their installation location) that are provided by the quanta package

rpm -ivh quanta Install quanta

rpm -e quanta Erase (deinstall) quanta

rpm -aq | grep quanta If you don't know exactly what you are looking for you can list all packages and grep them with a substring.

rpm -q -f filename Search for rpm packages that provide filename

Making a Suse RPM for the Staden Package

As the binaries work on all Suse distributions, I though to skip the build process and just have the binaries unpacked by rpm and then add the suse-specific files to the correct places. These additional files are mainly kde.desktop files, icons and

export STADENROOT=/usr/local/staden-linux-1-4-1

and sourcing

/usr/local/staden-linux-1-4-1/staden.profile

in ~/.bashrc.

Thus the unpacking would be just
tar --extract --verbose --gzip --absolute-names --file=staden-linux-1-4-1.tar.gz

and

Pages