I have a .proto file for Google GTFS-realtime data and I want to use it from a C++ app. I know you run it through a compiler and get C++ code out the other end that you then compile into your app but I cant find the right packages on Debian to use for this? What package(s) do I want to use to get the .proto-to-C++ compiler and what package(s) do I want to use to get whatever runtime bits are required to link with alongside the output of the .proto-to-C++ compiler when building my app?
I searched for protobuf in the debian package list but I see a lot of different packages and dont have a clue which one is the right one to use...
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
What package for Google protobuf and C++ on Debian?
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: What package for Google protobuf and C++ on Debian?
It kind of depends on which version of Debian you are using,
and what architecture .
Did you even try to do some searches ?
Ahh, yes, I see that you did, or say you did,
https://packages.debian.org/search?keywords=protobuf
I don't have a clue which one is the right one to use either, because
you did not bother to mention what version of Debian you use,
nor the architecture, but any way, below is a example,
of what I use.
This is just one package,
https://packages.debian.org/wheezy/protobuf-compiler
or here,
https://packages.debian.org/wheezy/i386 ... r/download
but :
or aptitude, or synaptic.
NOTE: IMPORTANT, This is for Deeian Wheezy, i386,...that is what I use,
I can not guess, and am not psychic, I don't know what version of Debian
you are using, nor what kind of computer, etc.
You need to search for yourself, and find the correct package, for your specific
version and architecture.
What package for Google protobuf and C + on Debian?
First Hit :https://packages.debian.org/search?keywords=protobuf
and what architecture .
Did you even try to do some searches ?
Ahh, yes, I see that you did, or say you did,
Did you look here,
I searched for protobuf in the debian package list but I see a lot of different packages and dont have a clue which one is the right one to use...
https://packages.debian.org/search?keywords=protobuf
I don't have a clue which one is the right one to use either, because
you did not bother to mention what version of Debian you use,
nor the architecture, but any way, below is a example,
of what I use.
This is just one package,
https://packages.debian.org/wheezy/protobuf-compiler
or here,
https://packages.debian.org/wheezy/i386 ... r/download
but :
It is better to install the package, instead of download it, and you can use
If you are running Debian, it is strongly suggested to use a package manager like aptitude or synaptic to download and install packages, instead of doing so manually via this website.
You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:
deb http://ftp.de.debian.org/debian wheezy main
Replacing ftp.de.debian.org/debian with the mirror in question.
Code: Select all
apt-get install protobuf-compiler
NOTE: IMPORTANT, This is for Deeian Wheezy, i386,...that is what I use,
I can not guess, and am not psychic, I don't know what version of Debian
you are using, nor what kind of computer, etc.
You need to search for yourself, and find the correct package, for your specific
version and architecture.
What package for Google protobuf and C + on Debian?
First Hit :https://packages.debian.org/search?keywords=protobuf
"What we expect you have already Done"
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
Re: What package for Google protobuf and C++ on Debian?
Sorry, I should have said that I am looking for whatever the latest stable version is (Jessie I believe) on x86. The protobuf-compiler seems like what I need for compiling but is there a runtime package I need as well?
And yes I was looking for the package names to pass to apt-get.
And yes I was looking for the package names to pass to apt-get.
- dilberts_left_nut
- Administrator
- Posts: 5346
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 12 times
- Been thanked: 66 times
Re: What package for Google protobuf and C++ on Debian?
AdrianTM wrote:There's no hacker in my grandma...