/ripgrep-ubuntu

Ubuntu build script for ripgrep (not working on Launchpad!)

MIT LicenseMIT

ripgrep-ubuntu

Ubuntu build script for ripgrep

Disclaimer

This repositories and the resulting packages sole purpose is to bridge the time until ripgrep is available in official Ubuntu sources. If you only want to install ripgrep manually, you are most likely better off to download the provided .deb from the ripgrep releases.

Build dependencies

  • cargo (>= 0.13.0)
  • debhelper (>= 9)
  • quilt
  • libxslt1-dev
  • asciidoc
  • docbook-xsl
  • xsltproc
  • libxml2-utils

Build works on Ubuntu >= 16.04

Build steps

  • install build dependencies
  • download source as ripgrep_0.9.0.orig.tar.gz
  • extract source in ripgrep-0.9.0/.
  • download buildscipt
  • extract buildscript in ripgrep-0.9.0/debian/.
  • cd to ripgrep-0.9.0/debian
  • run debuild

Update build dependencies

  • install cargo-vendor
  • cd to ripgrep-0.9.0
  • run cargo vendor debian/vendor
  • cd to ripgrep-0.9.0/debian
  • run rm vendor.tar.gz; tar czf vendor.tar.gz vendor; rm -rf vendor
sudo add-apt-repository ppa:x4121/ripgrep
sudo apt-get update
sudo apt-get install ripgrep

Pre-build should work on Debian as well