Do I need to install rpmbuild? After I did an su - I could not execute rpmbuild:
[root@Fedora Desktop]# su -
[root@Fedora ~]# rpmbuild
-bash: rpmbuild: command not found
What do I need to install to get rpmbuild?
hi,
From the fedoraproject page :
Code:
Setting up your system and account
Before you create RPM packages on Fedora, you need to install some core development tools and set up the account(s) you will use. As root (don't type the "#"!):
# yum groupinstall "Development Tools"
# yum install rpmdevtools
You can create a new "dummy user" specifically for creating rpm packages. That way, if something goes terribly wrong, the program or build process can't trash your files, or send your private files/keys to the world. At the very least, you should never create your packages as user root.
You can create a new user named "makerpm" quickly by doing:
# /usr/sbin/useradd makerpm
Then log in as that special dummy user (makerpm).
Once you're logged in as the user who is creating packages, create the directory structure in your home directory by executing (don't type the "$"):
$ rpmdev-setuptree
The "rpmdev-setuptree" program will create an "rpmbuild" directory in your $HOME directory. Underneath "rpmbuild" are a set of subdirectories (such as SPECS and BUILD), which you will use for creating your packages. The "rpmdev-setuptree" also creates an "~/.rpmmacros" file which will cause rpm and rpmbuild to use them when appropriate.
Once you've set up the user account, you won't normally need to do these steps again.......