Skip to content

Instantly share code, notes, and snippets.

# coding=utf-8
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@jambonn
jambonn / protobuf-ubuntu-20-04.md
Last active June 6, 2024 18:03
How to Install Protobuf on Ubuntu 20.04
1. sudo apt-get install autoconf automake libtool curl make g++ unzip -y
2. Download the appropriate release here:
https://github.com/protocolbuffers/protobuf/releases/tag/v3.5.1 <protobuf-all-3.5.1.tar.gz
>
3. Unzip the folder
4. Enter the folder and run ./autogen.sh && ./configure && make
5. Then run these other commands. They should run without issues:
$ make check
$ sudo make install