Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2013
    Posts
    2

    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,539
    You may need to install rpmbuild by running the following as root
    Code:
    yum install rpm-build
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

  3. #3
    Just Joined!
    Join Date
    Mar 2013
    Posts
    2
    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

Posting Permissions

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