| Sep | OCT | Nov |
| 28 | ||
| 2019 | 2020 | 2021 |
COLLECTED BY
Collection: Common Crawl
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bashfull script.deb.sh
...
rpm
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bashfull script.rpm.sh
...
node.JS
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.node.sh | bashfull script.node.sh
...
pip
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.python.sh | bashfull script.python.sh
...
gem
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.gem.sh | bashfull script.gem.sh
...
sudo apt-get updateIf you are running Debian, install debian-archive-keyring so that official Debian repositories will be verified (Ubuntu users can skip this)
sudo apt-get install debian-archive-keyringEnsure the required tools (curl, gpg, apt-transport-https) are installed before proceeding:
sudo apt-get install curl gnupg apt-transport-httpsIn order to install a deb repo, first you need to install the GPG key that used to sign repository metadata. You do that using a utility called apt-key.
curl -L https://packagecloud.io/github/git-lfs/gpgkey | sudo apt-key add -Create a file named
/etc/apt/sources.list.d/github_git-lfs.list that contains the repository configuration below.
Make sure to replace ubuntu and trusty in the config below with your Linux distribution and version:
deb https://packagecloud.io/github/git-lfs/ubuntu/ trusty main deb-src https://packagecloud.io/github/git-lfs/ubuntu/ trusty mainValid options for osand dist parameters can be found in our support OS list in the docs. Run this command update your local APT cache:
sudo apt-get updateYou can now install packages from your repository. rpm
sudo yum install pygpgme yum-utilsYou may need to install the EPEL repository for your system to install these packages. If you do not install pygpgme, GPG verification will not work. Create a file named
/etc/yum.repos.d/github_git-lfs.repo that contains the repository configuration below.
Make sure to replace eland 6in the config below with your Linux distribution and version:
[github_git-lfs] name=github_git-lfs baseurl=https://packagecloud.io/github/git-lfs/el/6/$basearch repo_gpgcheck=1 gpgcheck=0 enabled=1 gpgkey=https://packagecloud.io/github/git-lfs/gpgkey sslverify=1 sslcacert=/etc/pki/tls/certs/ca-bundle.crt metadata_expire=300 [github_git-lfs-source] name=github_git-lfs-source baseurl=https://packagecloud.io/github/git-lfs/el/6/SRPMS repo_gpgcheck=1 gpgcheck=0 enabled=1 gpgkey=https://packagecloud.io/github/git-lfs/gpgkey sslverify=1 sslcacert=/etc/pki/tls/certs/ca-bundle.crt metadata_expire=300Valid options for osand dist parameters can be found in our supported OS list in the docs. Update your local yum cache by running
sudo yum -q makecache -y --disablerepo='*' --enablerepo='github_git-lfs'You can now install packages from your repository. node
npm config set registry https://packagecloud.io/github/git-lfs/npm/
yarn add.
Verify a repository is configured correctly by running yarn config list and making sure the registry url is set correctly.
example yarn config list output:
...
info npm config
{ registry: 'https://packagecloud.io/github/git-lfs/npm/' }
npm install, the npm program will automatically
attempt to install any dependencies required by the package. If those dependencies are not found in your
packagecloud repository, packagecloud will automatically forward requests for those missing dependencies to the official
NPM public registry.
This is the default behavior and is recommended for most users.
To learn more about this behavior and how to disable it,
take a look at our documentation.
zypper
/etc/zypp/repos.d/github_git-lfs.repo that contains the repository configuration below.
Make sure to replace eland 6in the config below with your Linux distribution and version:
[github_git-lfs] name=github_git-lfs baseurl=https://packagecloud.io/github/git-lfs/opensuse/13.2/$basearch enabled=1 repo_gpgcheck=1 pkg_gpgcheck=0 gpgkey=https://packagecloud.io/github/git-lfs/gpgkey autorefresh=1 type=rpm-md [github_git-lfs-source] name=github_git-lfs-source baseurl=https://packagecloud.io/github/git-lfs/opensuse/13.2/SRPMS enabled=1 repo_gpgcheck=1 pkg_gpgcheck=0 gpgkey=https://packagecloud.io/github/git-lfs/gpgkey autorefresh=1 type=rpm-mdValid options for osand dist parameters can be found in our supported OS list in the docs. Update your local zypper cache by running
zypper --gpg-auto-import-keys refresh github_git-lfs zypper --gpg-auto-import-keys refresh github_git-lfs-sourceYou can now install packages from your repository. rubygems
gem source --add https://packagecloud.io/github/git-lfs/
# Gemfile # Note: It's recommended you add the official https://rubygems.org source, unless your # packagecloud repository can meet all of the dependency requirements in the Gemfile. source "https://rubygems.org" source "https://packagecloud.io/github/git-lfs" do gem "my-gem" gem "another-gem" end
# Gemfile source "https://rubygems.org" source "https://packagecloud.io/github/git-lfs"python
[global] section in your ~/.pip/pip.conf
[global] extra-index-url=https://packagecloud.io/github/git-lfs/pypi/simpleNote: if you would like pip to use only this repository as a source, replace
extra-index-url with index-url
my_virtualenv/bin/pip install --upgrade pipAdd this to the bottom of your
requirements.txt
--extra-index-url=https://packagecloud.io/github/git-lfs/pypi/simpleNote: if you would like pip to use only this repository as a source, replace
extra-index-url with index-url
If you're looking for further clarification on anything, don't hesitate to get in touch!
cookbook "packagecloud"If you're managing your cookbooks some other way, you can get our cookbook from supermarket.chef.ioorgithub. Once you have our cookbook installed, all you have to do to install this repo is add the following block to one of your recipes:
packagecloud_repo "github/git-lfs" do type "deb" # or "rpm" or "gem" endThe LWRP in our cookbook will determine what OS/Version you're on and setup the repository correctly for that particular node. It will also contact our installation API to issue a read token, and make sure our gpg key gets installed if necessary.
include packagecloud
packagecloud::repo { "github/git-lfs":
type => 'rpm', # or "deb" or "gem"
}
The module will determine what OS/Version you're on and setup the repository correctly for that particular node. It will also contact our installation API to issue a read token, and make sure our gpg key gets installed if necessary.
# Gemfile # Note: It's recommended you add the official https://rubygems.org source, unless your # packagecloud repository can meet all of the dependency requirements in the Gemfile. source "https://rubygems.org" source "https://packagecloud.io/github/git-lfs" do gem "my-gem" gem "another-gem" end
# Gemfile source "https://rubygems.org" source "https://packagecloud.io/github/git-lfs"
my_virtualenv/bin/pip install --upgrade pipAdd this to the bottom of your
requirements.txt
--extra-index-url=https://packagecloud.io/github/git-lfs/pypi/simpleNote: if you would like pip to use only this repository as a source, replace
extra-index-url with index-url
pom.xml
<repositories>
<repository>
<id>github-git-lfs</id>
<url>https://packagecloud.io/github/git-lfs/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
project.clj file
:repositories [["snapshots" "https://packagecloud.io/github/git-lfs/maven2"]
["releases" "https://packagecloud.io/github/git-lfs/maven2"]]
project/maven.sbt file in your project:
addMavenResolverPluginThen, add this entry anywhere in your
build.sbt file:
resolvers += "github-git-lfs" at "https://packagecloud.io/github/git-lfs/maven2"
build.gradle file
repositories {
maven {
url "https://packagecloud.io/github/git-lfs/maven2"
}
}