From b484be6a4eddbbd9aeca32edb35f20455b890cdb Mon Sep 17 00:00:00 2001 From: larsch Date: Fri, 10 May 2024 06:18:03 +0000 Subject: [PATCH] Add README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6ca9956 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# Package Repository Usage +To use the Hoglandet package repository, run the following commands on your machine + +```bash +# Ensure prerequisites are installed +sudo apt-get update +sudo apt-get -y install gnupg2 apt-transport-https curl + +# Download and import the public key for verifying packages +sudo curl https://deb.pkg.hoglan.dev/debian/repository.key -o /etc/apt/trusted.gpg.d/hoglandet.asc + +# Add the package repository +source /etc/os-release +echo "deb https://deb.pkg.hoglan.dev/debian ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/hoglandet.list + +# Check that the repository works +sudo apt-get update +``` \ No newline at end of file