Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Need advice on building rpm packages for CentOS 6


    Hi,

    I have been following these instructions on installing a openvpn on centos 6 but have run into a problem.

    .................................................. ..............................​............
    The instructions given to build rpm packages.....

    Build the rpm packages:

    rpmbuild --rebuild lzo-1.08-4.rf.src.rpm
    rpm -Uvh lzo-*.rpm
    rpm -Uvh rpmforge-release*

    .................................................. ..............................​............
    The result when I tried to give the first command......

    [vmware(at)localhost ~]$ su
    Password:
    [root(at)localhost vmware]# rpmbuild --rebuild lzo-1.08-4.rf.src.rpm
    bash: rpmbuild: command not found
    [root(at)localhost vmware]#
    .................................................. ..............................​................
    Any advice will be much appreciated, Thanks.

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,906
    You may need to install rpmbuild by running the following as root
    Code:
    yum install rpm-build
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

  3. #3
    Quote Originally Posted by elija View Post
    You may need to install rpmbuild by running the following as root
    Code:
    yum install rpm-build
    Thank you for your help

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •