How to reinstall rpm package?
Try: rpm -iv –replacepkgs <packagefile>. More details are in the book.
Try: rpm -iv –replacepkgs <packagefile>. More details are in the book.
It is possible to use yum and rpm to install any package in the repository of the distribution. Here is the recipe: Find the package name Use yum search. Download Download the package and all of its dependencies using yumdownloader (which is available on CentOS by default). You’ll need to pass it –resolve to get … Read more
The product name “RPM” stands for “Rails Performance Management” – which is an anachronism, now that we support Ruby, Java, PHP and .NET (stay tuned for other languages). The suffix “rpm” stands for “Requests per Minute”. Typically used to measure throughput, either for the whole application, or a specific Web Transaction (Controller Action in Rails). … Read more
rpm -qip foo.rpm
Complete walkthrough of writing setup.py scripts here. (with some examples) If you’d like a real-world example, I could point you towards the setup.py scripts of a couple major projects. Django’s is here, pyglet’s is here. You can just browse the source of other projects for a file named setup.py for more examples. These aren’t simple … Read more
You just needed to update ca-certificates package. Before that just disable all repos with https that are failing. That’s why solution with commenting mirrorlist or using http instead https would work also. For example if you need to disable only epel repo: yum –disablerepo=epel -y update ca-certificates This will also help wget, curl, and anything … Read more
I often do binary rpm per packaging proprietary apps – also moster as websphere – on linux. So my experience could be useful also a you, besides that it would better to do a TRUE RPM if you can. But i digress. So the a basic step for packaging your (binary) program is as follow … Read more
The link @gertvdijk provided shows a quick way to achieve the desired results without configuring a local repository: $ yum –nogpgcheck localinstall packagename.arch.rpm Just change packagename.arch.rpm to the RPM filename you want to install. Edit Just a clarification, this will automatically install all dependencies that are already available via system YUM repositories. If you have … Read more
Did you try the rpm2cpio commmand? See the example below: $ rpm2cpio php-5.1.4-1.esp1.x86_64.rpm | cpio -idmv /etc/httpd/conf.d/php.conf ./etc/php.d ./etc/php.ini ./usr/bin/php ./usr/bin/php-cgi etc
yum uses RPM, so the following command will list the contents of the installed package: $ rpm -ql package-name