Re: [protobuf] Re: Uninstalling Proto3 and Installing Proto2

2016-06-17 Thread Oi Lee
Did I mention I'm still new to Linux? LOL 
It worked! Thanks a bunch! ^_^

On Friday, June 17, 2016 at 1:02:29 PM UTC-6, Feng Xiao wrote:
>
> Try /usr/bin/protoc?
>
> It might has something to do with command cache. See: 
> http://unix.stackexchange.com/questions/5609/how-do-i-clear-bashs-cache-of-paths-to-executables
>
> On Fri, Jun 17, 2016 at 11:59 AM Oi Lee  
> wrote:
>
>> [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.
>>
>>
>> On Friday, June 17, 2016 at 12:36:01 PM UTC-6, Oi Lee 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. 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.
>>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] Re: Uninstalling Proto3 and Installing Proto2

2016-06-17 Thread 'Feng Xiao' via Protocol Buffers
Try /usr/bin/protoc?

It might has something to do with command cache. See:
http://unix.stackexchange.com/questions/5609/how-do-i-clear-bashs-cache-of-paths-to-executables

On Fri, Jun 17, 2016 at 11:59 AM Oi Lee  wrote:

> [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.
>
>
> On Friday, June 17, 2016 at 12:36:01 PM UTC-6, Oi Lee 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. 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+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.