Skip to content

rpm package

Yasuhiro Yamada edited this page Feb 5, 2024 · 5 revisions

How to create rpm file

$ git clone https://github.com/greymd/tmux-xpanes.git

$ cd tmux-xpanes

$ sudo yum install rpm-build redhat-rpm-config rpmdevtools

$ sudo rpmbuild --undefine=_disable_source_fetch -ba xpanes.spec

## rpm file is generated
$ ls /root/rpmbuild/RPMS/noarch/xpanes*.rpm
/root/rpmbuild/RPMS/noarch/xpanes-4.1.1-1570533123.noarch.rpm

## Install
$ yum localinstall $HOME/rpmbuild/RPMS/noarch/xpanes*.rpm
Clone this wiki locally