There is no need to create a deb-package manually.
The Cozy Stable Releases PPA is already available.
It provides deb-packages for Ubuntu 20.10 (groovy, EOL), 21.04 (hirsute) and 21.10 (impish, development) – here Cozy may be installed as simple as
sudo add-apt-repository ppa:cozy-team/cozy
sudo apt-get update
sudo apt-get install cozy
Installation on Ubuntu 20.04 LTS needs some hacks. You will need to manually install libhandy-1-0
, and install updated versions of python3-peewee
and python3-mutagen
(otherwise cozy won't load chapters in m4b audiobooks):
sudo add-apt-repository ppa:apandada1/libhandy-1
sudo apt-get install libhandy-1-0
cd ~/Downloads
wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/p/peewee/python3-peewee_3.13.1+dfsg-1_amd64.deb
sudo apt-get install ./python3-peewee_3.13.1+dfsg-1_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/m/mutagen/python3-mutagen_1.45.1-2_all.deb
sudo apt-get install ./python3-mutagen_1.45.1-2_all.deb
sudo add-apt-repository ppa:cozy-team/cozy
sudo sed -i "s/focal/hirsute/" /etc/apt/sources.list.d/cozy-team-ubuntu-cozy-focal.list
sudo apt-get update
sudo apt-get install cozy
Then you can launch Cozy from dash or by using com.github.geigi.cozy
command.
Note: This answer works for Ubuntu and its official flavors. In some derivatives of Ubuntu, the repository is saved in cozy-team-cozy-focal.list
instead of cozy-team-ubuntu-cozy-focal.list
.