Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Update Ubuntu/Debian repo instructions #3050

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Docs: Update Ubuntu/Debian repo instructions
Note that there wont be anything populated in 'stable' until we push the next tagged release
  • Loading branch information
whyman committed Apr 10, 2024
commit f39a6c0f88aacee5c33f84dcce96a11df1215c15
38 changes: 32 additions & 6 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,26 @@ Ubuntu/Mint
.. index:: Ubuntu Linux
.. index:: Mint

We maintain a `Ubuntu Repository <https://gerbera.jfrog.io/>`__.
We maintain a `Ubuntu Repository <https://pkg.gerbera.io/>`__.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting this friendly message for the page:
grafik

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes a landing page there would be nice to have. Some sources don't though and makes finding if a release is available by directory read traversal a little harder to determine if a certain distro is supported yet.


To install the latest tagged release (>=1.8.0):
To install the latest tagged release (>=2.1.0):

.. code-block:: sh

curl -fsSL https://gerbera.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -
sudo apt-add-repository https://gerbera.jfrog.io/artifactory/debian
wget -O - https://pkg.gerbera.io/public.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/gerbera-keyring.gpg >/dev/null
Copy link

@Martii Martii Apr 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know if this is "the usual thing" but still getting stdout on the binary gpg key here... it does however create it correctly in the target file. Logging might be a little messy if this is the norm.


Misc Note: We use a variation on it... doesn't matter on curl or wget... but this doesn't generate stdout here:

curl -fsSL $KEY | sudo gpg --batch --yes --dearmor -o $KEYRING

EDIT Retested this today (the next day) and it's not dumping the key to stdout anymore... weird... anywho... please ignore if you wish. :\

echo "deb [signed-by=/usr/share/keyrings/gerbera-keyring.gpg] https://pkg.gerbera.io/debian/ $(lsb_release -c --short) main" | sudo tee /etc/apt/sources.list.d/gerbera.list >/dev/null
Copy link

@Martii Martii Apr 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created file normally...

sudo apt-get update
Copy link

@Martii Martii Apr 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... as you mentioned the release isn't there yet:

Reading package lists... Done                                      
E: The repository 'https://pkg.gerbera.io/debian jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

sudo apt-get install gerbera

Or for the latest code install git builds:

.. code-block:: sh

curl -fsSL https://gerbera.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -
sudo apt-add-repository https://gerbera.jfrog.io/artifactory/debian-git
wget -O - https://pkg.gerbera.io/public.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/gerbera-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/gerbera-keyring.gpg] https://pkg.gerbera.io/debian-git/ $(lsb_release -c --short) main" | sudo tee /etc/apt/sources.list.d/gerbera.list >/dev/null
sudo apt-get update
sudo apt-get install gerbera


Or Stephen Czetty maintains a `Ubuntu PPA <https://launchpad.net/~stephenczetty/+archive/ubuntu/gerbera-updates>`__.

Expand Down Expand Up @@ -129,6 +134,27 @@ Gerbera is included in Buster_ and Sid_.

Due to the stable nature of Debian, these packages are likely to be some versions behind the current Gerbera release.

We maintain a `Debian Repository <https://pkg.gerbera.io/>`__.

To install the latest tagged release (>=2.1.0):

.. code-block:: sh

wget -O - https://pkg.gerbera.io/public.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/gerbera-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/gerbera-keyring.gpg] https://pkg.gerbera.io/debian/ $(lsb_release -c --short) main" | sudo tee /etc/apt/sources.list.d/gerbera.list >/dev/null
sudo apt-get update
sudo apt-get install gerbera

Or for the latest code install git builds:

.. code-block:: sh

wget -O - https://pkg.gerbera.io/public.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/gerbera-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/gerbera-keyring.gpg] https://pkg.gerbera.io/debian-git/ $(lsb_release -c --short) main" | sudo tee /etc/apt/sources.list.d/gerbera.list >/dev/null
Copy link

@Martii Martii Apr 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See successful installation/start screenshot at #2988 (comment)

sudo apt-get update
sudo apt-get install gerbera


`Deb-Multimedia.org <https://www.deb-multimedia.org/>`__ also provide builds for Buster_ and Sid_.

.. _Buster: http://www.deb-multimedia.org/dists/buster/main/binary-amd64/package/gerbera
Expand Down