LoginSignup
9

More than 5 years have passed since last update.

高速なgrep代替ツールhighwayのCentOS 7用rpmを作りました

Posted at

highwayの説明はhighway という高速検索ツールを作りました · けんごのお屋敷をご参照ください。

CentOS6用rpmは提供されているのですが、CentOS7用は提供されていなかったので作りました。

highwayのrpmをインストールする手順

sudo curl -sL -o /etc/yum.repos.d/hnakamur-highway.repo https://copr.fedoraproject.org/coprs/hnakamur/highway/repo/epel-7/hnakamur-highway-epel-7.repo
sudo yum install highway

これで /usr/bin/hw というファイルがインストールされますので、 hw で使えます。

(ご参考) どうやってrpmをビルドしたか

githubのhnakamur/highway-centos7-rpmにrpmのspecファイルを置いています。Travis CIでdockerを使ってsrpmをビルドし、fedora coprのサービスを利用してrpmのビルドを行いました。

hnakamur/highway Coprというプロジェクトを作成して、ここでrpmを配布しています。

上記のビルド手法についてはTravis CIとcopr.fedoraproject.orgを使ってrpmをビルド・配布するのを試してみた · hnakamur's blog at githubをご参照ください。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9