Uninstalling Proto3 and Installing Proto2

4,824 views
Skip to first unread message

Oi Lee

unread,
Jun 17, 2016, 2:36:01 PM6/17/16
to Protocol Buffers
Hello, so I am pretty new to this and was trying to figure out what I did wrong. So I started out using Proto3 and now decided to use Proto2 (since Proto3 is still in Beta). I installed Proto2 (http://stackoverflow.com/questions/29797763/how-do-i-install-protobuf-2-5-on-arch-linux-for-compiling-hadoop-2-6-0-using-mav) and noticed that if I check for version it said Proto3. So I followed the following post to remove Proto3: http://stackoverflow.com/questions/35896335/how-can-i-uninstall-protobuf-3-0-0. But now it doesn't recognize the protoc command, ie: protoc --version. I tried reinstalling proto2, but no luck. Any suggestions will be greatly appreciated.
VM:
OS: CentOS Linux 7 
Kernel: Linux 3.10.0-327.18.2.el7.x86_64
Architecture: x86-64

Thanks!

Feng Xiao

unread,
Jun 17, 2016, 2:40:05 PM6/17/16
to Oi Lee, Protocol Buffers
On Fri, Jun 17, 2016 at 11:28 AM, Oi Lee <lee...@gmail.com> wrote:
Hello, so I am pretty new to this and was trying to figure out what I did wrong. So I started out using Proto3 and now decided to use Proto2 (since Proto3 is still in Beta). I installed Proto2 (http://stackoverflow.com/questions/29797763/how-do-i-install-protobuf-2-5-on-arch-linux-for-compiling-hadoop-2-6-0-using-mav) and noticed that if I check for version it said Proto3. So I followed the following post to remove Proto3: http://stackoverflow.com/questions/35896335/how-can-i-uninstall-protobuf-3-0-0. But now it doesn't recognize the protoc command, ie: protoc --version. I tried reinstalling proto2, but no luck.
What problems did you get when you tried to reinstalling proto2? From what you saying, it sounds like both proto2 and proto3 are completely removed from your system and reinstalling proto2 should work fine.
 
Any suggestions will be greatly appreciated.
VM:
OS: CentOS Linux 7 
Kernel: Linux 3.10.0-327.18.2.el7.x86_64
Architecture: x86-64

Thanks!

--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
To post to this group, send email to prot...@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Oi Lee

unread,
Jun 17, 2016, 2:59:18 PM6/17/16
to Protocol Buffers
[oi.lee@localhost protobuf-2.6.1]$ protoc --version
bash: /usr/local/bin/protoc: No such file or directory

I tried reinstall via the first link above but the above command still does not work.

Feng Xiao

unread,
Jun 17, 2016, 3:02:29 PM6/17/16
to Oi Lee, Protocol Buffers
Try /usr/bin/protoc?


--

Oi Lee

unread,
Jun 17, 2016, 3:13:56 PM6/17/16
to Protocol Buffers, lee...@gmail.com
Did I mention I'm still new to Linux? LOL 
It worked! Thanks a bunch! ^_^
Reply all
Reply to author
Forward
0 new messages