RPM does not find executable but documentation files for installed package

I am trying to install “par” (http://www.nicemice.net/par/) for comment reflow in Vim. zypper lists it here:

| par                                           | Parity File Generator                                                             | package 

Well, I don’t knwo what a parity file is, so maybe that is not even the right package. But I will assume so for now. So I installed it. But then I get command not found: par. Okay, I check whether it was actually installed:

▶ rpm -qa --last | grep par
par-0.8.0-1.3.x86_64                          Sat 25 Aug 2018 12:42:41 PM CEST

Sure enough it is. Now I want to query where it is installed:

▶ rpm -ql par
/usr/bin/par2
/usr/bin/par2create
/usr/bin/par2repair
/usr/bin/par2verify
/usr/share/doc/packages/par
/usr/share/doc/packages/par/AUTHORS
/usr/share/doc/packages/par/ChangeLog
/usr/share/doc/packages/par/README
/usr/share/licenses/par
/usr/share/licenses/par/COPYING
/usr/share/man/man1/par2.1.gz

Uhm… par2 is not par… and why is there documentation for par but no executable?

So… where has the executable gone and how can I find it?

My PATH should also be fine btw:

/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

I seem to have “par” installed here (in Leap 15.0). And “par2” is the name of the executable.

A google search for “par software” turns up several different things. The “par” that you installed is probably not what you were looking for.

Hi
Probably just easier to build from source and drop in your ~/bin directory (need make and gcc-c++ installed)?


wget http://www.nicemice.net/par/Par152.tar.gz

--2018-08-25 10:24:12--  http://www.nicemice.net/par/Par152.tar.gz
Resolving www.nicemice.net (www.nicemice.net)... 96.93.119.89
Connecting to www.nicemice.net (www.nicemice.net)|96.93.119.89|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 47999 (47K) [application/x-tar]
Saving to: ‘Par152.tar.gz’

Par152.tar.gz                                  100%==================================================================================================>]  46.87K   306KB/s    in 0.2s    

2018-08-25 10:24:13 (306 KB/s) - ‘Par152.tar.gz’ saved [47999/47999]

tar xvf Par152.tar.gz

Par152/
Par152/buffer.c
Par152/buffer.h
Par152/charset.c
Par152/charset.h
Par152/errmsg.c
Par152/errmsg.h
Par152/par.1
Par152/par.c
Par152/par.doc
Par152/protoMakefile
Par152/reformat.c
Par152/reformat.h
Par152/releasenotes

cd Par152/

make -f protoMakefile 
cc -c buffer.c
cc -c charset.c
cc -c errmsg.c
cc -c par.c
cc -c reformat.c
cc buffer.o charset.o errmsg.o par.o reformat.o -o par

cp par ~/bin/par

which par
~/bin/par

par help

Options for par:

help       print option summary        ---------- Boolean parameters: ---------
version    print version number        b<body>   let non-trailing body chars in
B<op><set> as <op> is =/+/-,                     prefix, non-leading in suffix
           replace/augment/diminish    c<cap>    count all words as capitalized
           body chars by <set>         d<div>    use indentation as a delimiter
P<op><set> ditto for protective chars  E<Err>    send messages to stderr
Q<op><set> ditto for quote chars       e<expel>  discard superfluous lines
-------- Integer parameters: --------  f<fit>    narrow paragraph for best fit
h<hang>    skip IP's 1st <hang> lines  g<guess>  preserve wide sentence breaks
           in scan for common affixes  i<invis>  hide lines inserted by <quote>
p<prefix>  prefix length               j<just>   justify paragraphs
r<repeat>  if not 0, force bodiless    l<last>   treat last lines like others
           lines to length <width>     q<quote>  supply vacant lines between
s<suffix>  suffix length                         different quote nesting levels
T<Tab>     tab stops every <Tab> cols  R<Report> print error for too-long words
w<width>   max output line length      t<touch>  move suffixes left

See par.doc or par.1 (the man page) for more information.

Hi
Built as an rpm, includes the man page…
https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/vim-par


zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/x86_64/vim-par-1.5.2-2.1.x86_64.rpm

Thanks a lot! Worked perfectly!