gRPC RPM for Fedora Linux

1,267 views
Skip to first unread message

Jeff Mendoza

unread,
Jul 11, 2017, 11:55:53 AM7/11/17
to grpc.io
Hi gRPC Community. I have been working on an RPM for gRPC on Fedora
Linux. I plan on going through the process of contributing the rpm to
Fedora, but have not started that yet. I'm looking for any feedback on
the rpm. I'm still working out the many rpmlint issues, but it is
currently usable.

To test you need to be on Fedora 26 or rawhide. I have the rpm up on
OBS[1]. Here is an example of running the C++ quickstart without
building gRPC or protobuf!


# Add my dnf repo
wget http://download.opensuse.org/repositories/home:/jeffmendoza/Fedora_26/home:jeffmendoza.repo
sudo cp ./home\:jeffmendoza.repo /etc/yum.repos.d/

# Have a C++ dev environment
sudo dnf install gcc-c++ make git pkg-config

# Install grpc devel libs to build against, and the protoc plugin to
autogen grpc code from protos
sudo dnf install grpc-devel grpc-plugins

# Get some sample grpc code (don't actually need core grpc code)
git clone -b v1.4.1 https://github.com/grpc/grpc
cd grpc/examples/cpp/helloworld/

# Build sample code
make

# Works!
./greeter_server &
Server listening on 0.0.0.0:50051

./greeter_client
Greeter received: Hello world


[1] https://build.opensuse.org/package/show/home:jeffmendoza/gRPC

April Kyle Nassi

unread,
Aug 15, 2017, 6:59:32 PM8/15/17
to grpc.io
Hi Jeff, are you still looking for testers?

Jeff Mendoza

unread,
Aug 17, 2017, 4:20:37 PM8/17/17
to April Kyle Nassi, grpc.io
Hi April. Yes I am, I haven't had much feedback. Being able to develop
or just run binaries that link grpc without building from source
should be an improvement. I'm thinking that not many people have
Fedora environments. I believe RHEL/CentOS is a popular server
environment, and Fedora is the feeder to those.
> --
> You received this message because you are subscribed to the Google Groups
> "grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+u...@googlegroups.com.
> To post to this group, send email to grp...@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/153b84c3-222d-4264-bc4a-55d6e3fc7a67%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

john.ob...@gmail.com

unread,
Aug 25, 2017, 2:24:27 PM8/25/17
to grpc.io


On Tuesday, July 11, 2017 at 5:55:53 PM UTC+2, Jeff Mendoza wrote:
Hi gRPC Community. I have been working on an RPM for gRPC on Fedora
Linux. I plan on going through the process of contributing the rpm to
Fedora, but have not started that yet. I'm looking for any feedback on
the rpm. I'm still working out the many rpmlint issues, but it is
currently usable.

Hi Jeff,

I've been looking for a gRPC c++ RPM for quite some time. I would *really* like to see this in Fedora & RHEL.

-- john

Dave Quigley

unread,
Mar 21, 2018, 1:02:17 PM3/21/18
to grpc.io
Hi Jeff,

If you are still interested in working on the spec file I can test it for you. I am more interested in using it for providing the core grpc library for use wth grpc-c.

Dave
Reply all
Reply to author
Forward
0 new messages