Robbie Cannings

An online space to store my technical observations, learnings and anything which may help me or others in the future.

twitter linkedin youtube
Blog Logo
  • About
  • Blog
  • My Services
  • Twitter
  • LinkedIn
  • Email
All tags
    18 May 2016

    Modify an srpm

    To unpack the contents of an SRPM, make changes, then re-package it, follow the below steps 1) Install rpmbuild yum install rpmbuild 2) Install the srpm rpm -ivh http://server/package-1.0.1.src.rpm This will install source into ~/rpmbuild/SOURCE/package-1.0.1.tar.gz Spec file into…

    18 May 2016 Read More
    • linux
    • rpm
    • rpmbuild

    11 Feb 2016

    yum - once off enable or disable repos

    If you need to, as a once-off, disable specific repos (e.g. if the version of a packages you need are in a lower-priority repo), or if you need to enable a specific repo (which is disabled by default), you cna use the below. yum install --disablerepo="base,epel,…

    11 Feb 2016 Read More
    • rpm
    • yum

    17 Jan 2016

    Pulp rpm repo - symlinked files

    It appears that when using pulp (http://www.pulpproject.org/) to synchronise and manage yum repositories, pulp categorises a repository with the following in mind OS Major Release Number (E.g. CentOS 7) OS Minor Release number (e.g. CentOS 7.2) These are stored under the release number, e.…

    17 Jan 2016 Read More
    • linux
    • rpm
    • pulp

    22 Dec 2015

    rpm quick reference - useful stuff

    Useful rpm commands rpm -qa | grep [string] Will show if the RPM you specify (in the string) is installed rpm -qf [/path/somefile] will show which package provides the specified file rpm -ql [packagename] will show all files contained in the installed package specified rpm -qlp [package.rpm] will list…

    22 Dec 2015 Read More
    • linux
    • rpm

    22 Dec 2015

    Building an rpm from source

    If you have a .src.rpm file, you can rebuild it on your local system using rpmbuild --rebuild /tmp/mypackage-1.0.0-1.src.rpm This will extrack the source files from the file and rebuild it using the instructions in the spec file.…

    22 Dec 2015 Read More
    • rpm
    • rpmbuild

    Load more posts
    Subscribe!
    Blog Logo
    All content copyright Robbie Cannings © 2021 • All rights reserved.
    Proudly published with Ghost