How to install packages in Linux (CentOS) without root user with automatic dependency handling?

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

Rails + New Relic: What does RPM mean?

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

setup.py examples?

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

yum error “Cannot retrieve metalink for repository: epel. Please verify its path and try again” updating ContextBroker

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

How to make rpm auto install dependencies

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)