Ceci est une ancienne révision du document !



Bauh, le gestionnaire de paquets des formats alternatifs Snap, Flatpak, Appimage, Aur

Bauh est le Gestionnaire de paquets des formats alternatifs Snap, Flatpak, Appimage et enfin Aur.

Le développement de l'application remonte à 2013. Désormais incluse dans la distribution Manjaro par défaut, elle se nommait à l'époque fPackman, probablement en référence au célèbre gestionnaire de paquets AUR nommé — non sans un certain humour — Pacman présent lui au sein de Arch Linux Manjaro.
Peu après avoir été rebaptisée Bauh, elle débarque dans une version compatible Debian, dont Ubuntu est issue.

Elle vient compléter graphiquement, heureusement et efficacement l'incapacité de la Logithèque et de Synaptic à gérer nativement ces nouveaux formats de paquets précompilés.

Les « App-stores » s'invitent de plus en plus sous Ubuntu 1), avec le Snapstore, le Flathub, le Appimage Hub et la possibilité de gérer nativement le format Aur2) issu de l'écosystème Arch Linux.

Bauh est développé en Python et nécessite les bibliothèques Qt5.

Afin de mieux gérer les dépendances de l'application, nous allons installer le paquet debfoster, présent dans les dépôts.

sudo apt-get install debfoster 

puis

  • installer l'environnement Python.
    sudo debfoster python3-venv python3-pip 
  • installer les dépendances de gestion logicielle.
    • installer Flatpak
    • installer snapd (version antérieures à Ubuntu 18.04)
      sudo debfoster snapd
    • installer le transcripteur de commandes Pacapt 4)
      • sous Ubuntu 18.04 le paquet est présent dans le dépôt universe.
        sudo debfoster pacapt 
      • sous Ubuntu 16.04 et suivantes
        install Pacact 16-04
        wget -nv https://download.opensuse.org/repositories/home:Pival81/xUbuntu_16.04/Release.key -O Release.key
        sudo apt-key add - < Release.key
        sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Pival81/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/pacapt.list"
        sudo apt-get update
        sudo apt-get install pacapt 
FIXME le serveur opensuse génère une erreur de clé GPG. Les diverses tentatives visant à régler ce problème ont échoué.
Ceci n'empèche pas de télécharger Pacapt puis de supprimer son dépôt.
    • installer wget pour gérer les paquets Appimage et Aur
      sudo debfoster wget
    • installer Sqlite3
      sudo debfoster sqlite3*
    • installer Git pour gérer les versions AUR
      sudo debfoster git*
    • installer Aria pour améliorer le temps de téléchargement des sources Appimage et AUR ; réduit le temps d’installation
      sudo debfoster aria*
    • installer libappindicator pour gérer le mode « installation dans la barre de taches » sous Gnome GTK3
      sudo debfoster libappindicator* 
    • installer Fuse en cas de dépendance système
      sudo debfoster fuse* 
    • installer toutes les dépendances en une seule commande, via le terminal
      sudo debfoster snapd pacact wget* sqlite* git* aria* libappindicator* fuse*

Nous allons installer Bauh dans un environnement Python isolé afin de d'éliminer les problèmes d'interactions système.

Pour ce faire

  • entrer la commande
    python3 -m venv bauh_env 

    créé l'environnement Python dans dossier bauh_env situé dans votre dossier personnel, puis

  • installer Bauh
    bauh_env/bin/pip install bauh

Nous allons créer deux lanceurs, l'un pour le placement du gestionnaire de Bauh dans la barre de taches et l'autre afin d'effectuer la mise à jour de Bauh à chaque démarrage du système

  • le lanceur Bauh.desktop
Bauh.desktop
[Desktop Entry]
Type=Application
Name=Bauh.desktop
Name[fr_FR]=Bauh.desktop
Comment[fr_FR]=Bauh - installe et supprime les applications Snap, Flatpak, Appimage & Aur
Exec=Exec=bauh --show-panel --download-mthread=1 --max-displayed=100 --check-interval=7200 --locale=fr --tray=1
Icon=/~/bauh_env/lib/python3.6/site-packages/bauh/view/resources/img/logo_update.png
  • le lanceur upgrade Bauh.desktop
upgrade Bauh.desktop
[Desktop Entry]
Type=Application
Name=Bauh
ComName[fr_FR]=upgrade Bauh.desktop
Comment[fr_FR]=mise à jour de Bauh
Exec=/~/bauh_env/bin/pip install bauh --upgrade
Icon=/~/bauh_env/lib/python3.6/site-packages/bauh/view/resources/img/logo_update.png
GenericName[fr_FR.UTF-8]=mise à jour de Bauh
vous pouvez cliquer sur les noms de fichiers pour les télécharger et les sauvegarder

Les fichiers de localisation en français

Les fichiers de localisation en français — chacun d'entre-eux est nommé frn'existent pas dans les dossiers locale. Vous pouvez télécharger les fichiers de locale ci-dessous.

FIXME Certaines variables affichées dans les boites de dialogue des applications ne sont pas explicitées dans le fichier locale d'origine de sorte qu'il est impossible de les traduire et ce quelle que soit la langue.
Afin d'obtenir une traduction complète, il faudrait lister les variables manquantes à partir des sources avant compilation.

Les fichiers de locales de la version 32 bits

Le fichier de locale présent dans le dossier lib [...] /bauh/gems/appimage [...]
~/bauh_env/lib/python3.6/site-packages/bauh/gems/appimage/resources/locale/fr
gem.appimage.label=AppImage
gem.appimage.info=« aplication publiée sur https://appimage.github.io/ »
appimage.install.permission=Droits d'exécution accordés à {}
appimage.install.extract=Le contenu est en cours d'extraction à partir de {}
appimage.install.desktop_entry=Création d'un raccourci de menu en cours...
appimage.uninstall.error.remove_folder=Impossible de supprimer le répertoire d'installation de l'application {}
appimage.info.url_download=adresse Internet du fichier
appimage.info.icon_path=icône
appimage.history.0_version=version
appimage.history.1_published_at=date
appimage.history.2_url_download=adresse Internet du fichier
appimage.downgrade.impossible.title=Impossible d'effectuer une rétrogradation de version
appimage.downgrade.impossible.body=« Impossible d'effectuer une rétrogradation de version pour l'application {} Cette application ne possède actuellement qu'une seule version. »
appimage.downgrade.unknown_version.body=« Impossible d'identifier la version actuelle de l'application {] dans l'historique des versions »
appimage.downgrade.first_version=Rétrogradation de version impossible pour le paquet Appimage sélectionné. Il s'agit de la toute première version de l'application {} 
appimage.error.uninstall_current_version=Impossible de désinstaller la version actuelle de l'application {}
appimage.downgrade.install_version=Impossible d'installer la version {} ({})
appimage.install.download.error=Impossible de télécharger le fichier {}. Le serveur qui héberge actuellement le fichier est surement en maintenance.
appimage.install.appimagelauncher.error={appimgl} interdit l'installation de l'application. Veuillez désinstaller {appimgl}, redémarrer votre ordinateur puis essayer de réinstaller l'application {app}.
Le fichier de locale présent dans le dossier lib [...] /bauh/gems/arch [...]
~/bauh_env/lib/python3.6/site-packages/bauh/gems/arch/resources/locale/fr
gem.arch.label=AUR
gem.arch.info=Les paquets précompilés AUR sont maintenus par une communauté d'utilisateurs indépendants. Ils sont fournis sans aucune garantie de fonctionnement correct, ni l’assurance qu'ils sont exempts de tout code dommageable à votre système.
gem.aur.install.warning=Les paquets précompilés AUR sont maintenus par une communauté d'utilisateurs indépendants. Ils sont fournis sans aucune garantie de fonctionnement correct, ni l’assurance qu'ils sont exempts de tout code dommageable à votre système.
arch.install.conflict.popup.title=Conflit détecté
arch.install.conflict.popup.body=« Les applications suivantes {} provoquent un conflit. Vous devez déinstaller l'une ou l'autre. continuer ?
arch.missing_deps.title=Dépendances manquantes
arch.missing_deps.body=« Les dépendances suivantes {deps} doivent être installées pour finaliser l'installation de l'application {name} »
arch.downgrade.error=Erreur
arch.downgrade.impossible=« Impossible de procéder à la rétrogradation de version de l'application {} »
aur.history.1_version=version
aur.history.2_release=publication
aur.history.3_date=date
arch.downloading.package=Téléchargement du paquet en cours...
arch.uncompressing.package=Décompression de l'archive précompilée en cours...
arch.checking.deps=Vérification de la disponibilité des dépendances logicielles pour l'application {} en cours...
arch.missing_deps_found=Liste des dépendances logicielles manquantes pour l'application {}
arch.checking.missing_deps=Vérification des dépendances logicielles manquantes pour l'application {} en cours...
arch.building.package=paquet {} en cours de compilation...
arch.checking.conflicts=Vérification des conflits éventuels engendrés par l'application {} en cours...
arch.installing.package=Installation du paquet {} en cours...
arch.uninstalling.conflict=Désinstallation du paquet conflictuel {} en cours...
arch.uninstalling.conflict.fail=Désinstallation du paquet conflictuel {} impossible !
arch.clone=Clônage du dépôt AUR {} en cours...
arch.downgrade.reading_commits=Reading the repository commits
arch.downgrade.version_found=Current package version found
arch.downgrade.install_older=Installing older version
aur.info.00_pkg_build=pkgbuild
aur.info.01_id=Ident.
aur.info.02_name=nom
aur.info.03_version=version
aur.info.03_description=déscription
aur.info.04_popularity=popularité
aur.info.05_votes=votes
aur.info.06_package_base=base du paquet
aur.info.07_maintainer=personne ressource
aur.info.08_first_submitted=première mise à disposition
aur.info.09_last_modified=dernière modification
aur.info.10_url=adresse Internet de téléchargement
aur.info.11_pkg_build_url=adresse Internet de l'archive précompilée « pkgbuild »
aur.info.13_pkg_build=« pkgbuild »
aur.info.12_makedepends=fichiers de dépendances de compilation
aur.info.13_dependson=dépendances d'installation
aur.info.14_optdepends=fichiers de dépendances optionnels
aur.info.15_checkdepends=vérification des dépendances en cours...
aur.info.14_installed_files=Fichiers installés
arch.install.dep_not_found.title=Dependency not found
arch.install.dep_not_found.body=Required dependency {} was not found in AUR nor in default mirrors. Installation cancelled.
arch.install.dependency.install=Installing package dependency {}
arch.install.dependency.install.error=Could not install dependent package {}. Installation of {} aborted.
arch.uninstall.required_by={} cannot be uninstalled because it is necessary for these following packages to work
arch.uninstall.required_by.advice=Uninstall them first before uninstalling {}.
arch.install.optdeps.request.title=Optional dependencies
arch.install.optdeps.request.body={} was succesfully installed ! There are some optional associated packages that you might want to install
arch.install.optdeps.request.help=Check those you want
arch.install.optdep.error=Could not install the optional package {}
arch.optdeps.checking=Checking {} optional dependencies
arch.warning.disabled={} seems not to be installed. It will not be possible to manage Arch / AUR packages.
arch.warning.git={} seems not to be installed. It will not be possible to downgrade AUR packages.
arch.aur.install.verifying_pgp=Verifying PGP keys
arch.aur.install.pgp.title=PGP keys required
arch.aur.install.pgp.body=To install {} is necessary to receive the following PGP keys
arch.aur.install.pgp.substatus=Receiving PGP key {}
arch.aur.install.pgp.success=PGP keys received and signed
arch.aur.install.pgp.sign_fail=Could not sign PGP key {}
arch.aur.install.pgp.receive_fail=Could not receive PGP key {}
arch.aur.install.unknown_key.title=Public key required
arch.install.aur.unknown_key.body=To continue {} installation is necessary to trust the following public key {}
arch.aur.install.unknown_key.status=Receiving public key {}
arch.aur.install.unknown_key.receive_error=Could not receive public key {}
arch.aur.install.validity_check.title=Integrity issues
arch.aur.install.validity_check.body=Some of the source-files needed for {} installation are not healthy. The installation will be cancelled to prevent damage to your system.
aur.info.architecture=architecture
aur.info.architecture.any=any
aur.info.build date=build date
aur.info.depends on=depends on
aur.info.description=description
aur.info.install date=install date
aur.info.install reason=install reason
aur.info.install reason.explicitly installed=explicitly installed
aur.info.install script=install script
aur.info.install script.no=no
aur.info.installed size=installed size
aur.info.licenses=licenses
aur.info.name=name
aur.info.optional deps=optional deps
aur.info.packager=packager
aur.info.packager.unknown packager=unknown
aur.info.url=url
aur.info.version=version
aur.info.arch=arch
aur.info.arch.any=any
aur.info.depends=depends
aur.info.pkgdesc=description
aur.info.pkgname=name
aur.info.pkgrel=release
aur.info.pkgver=version
aur.info.source=source
aur.info.optdepends=optionally depends
aur.info.license=license
aur.info.validpgpkeys=valid PGP keys
aur.info.options=options
aur.info.provides=provides
aur.info.conflicts with=conflicts with
Il faudra placer le fichier fr dans le dossier personnel ~/bauh_env/lib/python3.6/site-packages/bauh/gems/arch/resources/locale/
Le fichier de locale présent dans le dossier lib [...] /bauh/appimage
fr
gem.arch.label=AUR
gem.arch.info=Les paquets précompilés AUR sont maintenus par une communauté d'utilisateurs indépendants. Ils sont fournis sans aucune garantie de fonctionnement correct, ni l’assurance qu'ils sont exempts de tout code dommageable à votre système.
gem.aur.install.warning=Les paquets précompilés AUR sont maintenus par une communauté d'utilisateurs indépendants. Ils sont fournis sans aucune garantie de fonctionnement correct, ni l’assurance qu'ils sont exempts de tout code dommageable à votre système.
arch.install.conflict.popup.title=Conflit détecté
arch.install.conflict.popup.body=The applications {} are in conflict. You must uninstall one to install the other. Continue ?
arch.missing_deps.title=Missing dependencies
arch.missing_deps.body=The following {deps} dependencies must be installed so the {name} installation can continue
arch.downgrade.error=Error
arch.downgrade.impossible=It is not possible to downgrade {}
aur.history.1_version=version
aur.history.2_release=release
aur.history.3_date=date
arch.downloading.package=Downloading the package
arch.uncompressing.package=Uncompressing the package
arch.checking.deps=Checking {} dependencies
arch.missing_deps_found=Missing dependencies for {}
arch.checking.missing_deps=Verifying missing dependencies of {}
arch.building.package=Building package {}
arch.checking.conflicts=Checking any conflicts with {}
arch.installing.package=Installing {} package
arch.uninstalling.conflict=Uninstalling conflicting package {}
arch.uninstalling.conflict.fail=It was not possible to uninstall the conflicting package {}
arch.clone=Cloning the AUR repository {}
arch.downgrade.reading_commits=Reading the repository commits
arch.downgrade.version_found=Current package version found
arch.downgrade.install_older=Installing older version
aur.info.00_pkg_build=pkgbuild
aur.info.01_id=id
aur.info.02_name=nom
aur.info.03_version=version
aur.info.03_description=description
aur.info.04_popularity=popularity
aur.info.05_votes=votes
aur.info.06_package_base=package base
aur.info.07_maintainer=maintainer
aur.info.08_first_submitted=first submitted
aur.info.09_last_modified=last modified
aur.info.10_url=url download
aur.info.11_pkg_build_url=url pkgbuild
aur.info.13_pkg_build=pkgbuild
aur.info.12_makedepends=compilation dependencies
aur.info.13_dependson=installation dependencies
aur.info.14_optdepends=optional dependencies
aur.info.15_checkdepends=checking dependencies
aur.info.14_installed_files=Installed files
arch.install.dep_not_found.title=Dependency not found
arch.install.dep_not_found.body=Required dependency {} was not found in AUR nor in default mirrors. Installation cancelled.
arch.install.dependency.install=Installing package dependency {}
arch.install.dependency.install.error=Could not install dependent package {}. Installation of {} aborted.
arch.uninstall.required_by={} cannot be uninstalled because it is necessary for these following packages to work
arch.uninstall.required_by.advice=Uninstall them first before uninstalling {}.
arch.install.optdeps.request.title=Optional dependencies
arch.install.optdeps.request.body={} was succesfully installed ! There are some optional associated packages that you might want to install
arch.install.optdeps.request.help=Check those you want
arch.install.optdep.error=Could not install the optional package {}
arch.optdeps.checking=Checking {} optional dependencies
arch.warning.disabled={} seems not to be installed. It will not be possible to manage Arch / AUR packages.
arch.warning.git={} seems not to be installed. It will not be possible to downgrade AUR packages.
arch.aur.install.verifying_pgp=Verifying PGP keys
arch.aur.install.pgp.title=PGP keys required
arch.aur.install.pgp.body=To install {} is necessary to receive the following PGP keys
arch.aur.install.pgp.substatus=Receiving PGP key {}
arch.aur.install.pgp.success=PGP keys received and signed
arch.aur.install.pgp.sign_fail=Could not sign PGP key {}
arch.aur.install.pgp.receive_fail=Could not receive PGP key {}
arch.aur.install.unknown_key.title=Public key required
arch.install.aur.unknown_key.body=To continue {} installation is necessary to trust the following public key {}
arch.aur.install.unknown_key.status=Receiving public key {}
arch.aur.install.unknown_key.receive_error=Could not receive public key {}
arch.aur.install.validity_check.title=Integrity issues
arch.aur.install.validity_check.body=Some of the source-files needed for {} installation are not healthy. The installation will be cancelled to prevent damage to your system.
aur.info.architecture=architecture
aur.info.architecture.any=any
aur.info.build date=build date
aur.info.depends on=depends on
aur.info.description=description
aur.info.install date=install date
aur.info.install reason=install reason
aur.info.install reason.explicitly installed=explicitly installed
aur.info.install script=install script
aur.info.install script.no=no
aur.info.installed size=installed size
aur.info.licenses=licenses
aur.info.name=name
aur.info.optional deps=optional deps
aur.info.packager=packager
aur.info.packager.unknown packager=unknown
aur.info.url=url
aur.info.version=version
aur.info.arch=arch
aur.info.arch.any=any
aur.info.depends=depends
aur.info.pkgdesc=description
aur.info.pkgname=name
aur.info.pkgrel=release
aur.info.pkgver=version
aur.info.source=source
aur.info.optdepends=optionally depends
aur.info.license=license
aur.info.validpgpkeys=valid PGP keys
aur.info.options=options
aur.info.provides=provides
aur.info.conflicts with=conflicts with
Il faudra placer le fichier fr dans le dossier personnel ~/bauh_env/lib/python3.6/site-packages/bauh/gems/appimage/resources/locale
Le fichier de locale présent dans le dossier lib [...] /bauh/gems/arch [...]
fr
gem.arch.label=AUR
gem.arch.info=Les paquets précompilés AUR sont maintenus par une communauté d'utilisateurs indépendants. Ils sont fournis sans aucune garantie de fonctionnement correct, ni l’assurance qu'ils sont exempts de tout code dommageable à votre système.
gem.aur.install.warning=AUR packages are maintained by an independent user community. There is no warranty that they will work or not harm your system.
arch.install.conflict.popup.title=Conflit détecté
arch.install.conflict.popup.body=The applications {} are in conflict. You must uninstall one to install the other. Continue ?
arch.missing_deps.title=Missing dependencies
arch.missing_deps.body=The following {deps} dependencies must be installed so the {name} installation can continue
arch.downgrade.error=Error
arch.downgrade.impossible=It is not possible to downgrade {}
aur.history.1_version=version
aur.history.2_release=release
aur.history.3_date=date
arch.downloading.package=Downloading the package
arch.uncompressing.package=Uncompressing the package
arch.checking.deps=Checking {} dependencies
arch.missing_deps_found=Missing dependencies for {}
arch.checking.missing_deps=Verifying missing dependencies of {}
arch.building.package=Building package {}
arch.checking.conflicts=Checking any conflicts with {}
arch.installing.package=Installing {} package
arch.uninstalling.conflict=Uninstalling conflicting package {}
arch.uninstalling.conflict.fail=It was not possible to uninstall the conflicting package {}
arch.clone=Cloning the AUR repository {}
arch.downgrade.reading_commits=Reading the repository commits
arch.downgrade.version_found=Current package version found
arch.downgrade.install_older=Installing older version
aur.info.00_pkg_build=pkgbuild
aur.info.01_id=id
aur.info.02_name=nom
aur.info.03_version=version
aur.info.03_description=description
aur.info.04_popularity=popularity
aur.info.05_votes=votes
aur.info.06_package_base=package base
aur.info.07_maintainer=maintainer
aur.info.08_first_submitted=first submitted
aur.info.09_last_modified=last modified
aur.info.10_url=url download
aur.info.11_pkg_build_url=url pkgbuild
aur.info.13_pkg_build=pkgbuild
aur.info.12_makedepends=compilation dependencies
aur.info.13_dependson=installation dependencies
aur.info.14_optdepends=optional dependencies
aur.info.15_checkdepends=checking dependencies
aur.info.14_installed_files=Installed files
arch.install.dep_not_found.title=Dependency not found
arch.install.dep_not_found.body=Required dependency {} was not found in AUR nor in default mirrors. Installation cancelled.
arch.install.dependency.install=Installing package dependency {}
arch.install.dependency.install.error=Could not install dependent package {}. Installation of {} aborted.
arch.uninstall.required_by={} cannot be uninstalled because it is necessary for these following packages to work
arch.uninstall.required_by.advice=Uninstall them first before uninstalling {}.
arch.install.optdeps.request.title=Optional dependencies
arch.install.optdeps.request.body={} was succesfully installed ! There are some optional associated packages that you might want to install
arch.install.optdeps.request.help=Check those you want
arch.install.optdep.error=Could not install the optional package {}
arch.optdeps.checking=Checking {} optional dependencies
arch.warning.disabled={} seems not to be installed. It will not be possible to manage Arch / AUR packages.
arch.warning.git={} seems not to be installed. It will not be possible to downgrade AUR packages.
arch.aur.install.verifying_pgp=Verifying PGP keys
arch.aur.install.pgp.title=PGP keys required
arch.aur.install.pgp.body=To install {} is necessary to receive the following PGP keys
arch.aur.install.pgp.substatus=Receiving PGP key {}
arch.aur.install.pgp.success=PGP keys received and signed
arch.aur.install.pgp.sign_fail=Could not sign PGP key {}
arch.aur.install.pgp.receive_fail=Could not receive PGP key {}
arch.aur.install.unknown_key.title=Public key required
arch.install.aur.unknown_key.body=To continue {} installation is necessary to trust the following public key {}
arch.aur.install.unknown_key.status=Receiving public key {}
arch.aur.install.unknown_key.receive_error=Could not receive public key {}
arch.aur.install.validity_check.title=Integrity issues
arch.aur.install.validity_check.body=Some of the source-files needed for {} installation are not healthy. The installation will be cancelled to prevent damage to your system.
aur.info.architecture=architecture
aur.info.architecture.any=any
aur.info.build date=build date
aur.info.depends on=depends on
aur.info.description=description
aur.info.install date=install date
aur.info.install reason=install reason
aur.info.install reason.explicitly installed=explicitly installed
aur.info.install script=install script
aur.info.install script.no=no
aur.info.installed size=installed size
aur.info.licenses=licenses
aur.info.name=name
aur.info.optional deps=optional deps
aur.info.packager=packager
aur.info.packager.unknown packager=unknown
aur.info.url=url
aur.info.version=version
aur.info.arch=arch
aur.info.arch.any=any
aur.info.depends=depends
aur.info.pkgdesc=déscription
aur.info.pkgname=nom
aur.info.pkgrel=release
aur.info.pkgver=version
aur.info.source=source
aur.info.optdepends=dépendances optionnelles
aur.info.license=license
aur.info.validpgpkeys=clés PGP valides
aur.info.options=options
aur.info.provides=Fournit
aur.info.conflicts with=conflicts with
Il faudra placer le fichier fr dans le dossier personnel ~/bauh_env/lib/python3.6/site-packages/bauh/gems/arch/resources/locale
Le fichier de locale présent dans le dossier flatpak
fr
gem.flatpak.info=Applications disponibles dans les dépôts définis dans votre système
flatpak.notification.no_remotes=Aucun dépôt FlatHub n'est défini. Impossible d'effectuer une recherche de paquets au format Flatpak.
flatpak.notification.disable=Si vous ne souhaitez pas utiliser le format Flatpak, décochez {} dans {}
flatpak.downgrade.impossible.title=Erreur
flatpak.downgrade.impossible.body=Impossible d'effectuer une rétrogradation de version : il s'agit de la version initiale de l'application
flatpak.downgrade.commits=Reading package commits
flatpak.downgrade.reverting=Reverting version
flatpak.info.flatpakappid=id
flatpak.info.bugtrackerurl=bug tracker URL
flatpak.info.currentreleasedate=release date
flatpak.info.currentreleasedescription=version description
flatpak.info.currentreleaseversion=version
flatpak.info.donationurl=donation URL
flatpak.info.downloadflatpakrefurl=Ref
flatpak.info.helpurl=Help url
flatpak.info.homepageurl=Home url
flatpak.info.instoresincedate=added in
flatpak.info.projectlicense=license
flatpak.info.translateurl=translate url
flatpak.info.developername=developer
flatpak.info.arch=arch
flatpak.info.branch=branch
flatpak.info.collection=collection
flatpak.info.commit=commit
flatpak.info.date=date
flatpak.info.description=description
flatpak.info.id=id
flatpak.info.installation=installation
flatpak.info.installed=installed
flatpak.info.license=license
flatpak.info.name=name
flatpak.info.origin=origin
flatpak.info.parent=parent
flatpak.info.ref=ref
flatpak.info.runtime=runtime
flatpak.info.sdk=sdk
flatpak.info.subject=subject
flatpak.info.type=type
flatpak.info.version=version
flatpak.history.date=date
flatpak.history.commit=commit
Il faudra placer le fichier fr dans le dossier personnel ~/bauh_env/lib/python3.6/site-packages/bauh/gems/flatpak/resources/locale

Les fichiers de locale de la version 64 bits

Le fichier de locale présent dans le dossier lib64 [...] appimage
fr
gem.appimage.label=AppImage
gem.appimage.info=aplication publiée sur https://appimage.github.io/
appimage.install.permission=Droits d'exécution accordés à {}
appimage.install.extract=Le contenu est en cours d'extraction à partir de {}
appimage.install.desktop_entry=Création d'un raccourci de menu en cours...
appimage.uninstall.error.remove_folder=Impossible de supprimer le répertoire d'installation de l'application {}
appimage.info.url_download=adresse Internet du fichier
appimage.info.icon_path=icône
appimage.history.0_version=version
appimage.history.1_published_at=date
appimage.history.2_url_download=adresse Internet du fichier
appimage.downgrade.impossible.title=Impossible d'effectuer une rétrogradation de version
appimage.downgrade.impossible.body={} Cette application ne possède actuellement qu'une seule version.
appimage.downgrade.unknown_version.body=Impossible d'identifier la version actuelle de l'application {] dans l'historique des versions
appimage.downgrade.first_version=Il s'agit de la toute première version de l'application {} 
appimage.error.uninstall_current_version=Impossible de désinstaller la version actuelle de l'application {}
appimage.downgrade.install_version=Impossible d'installer la version {} ({})
appimage.install.download.error=Impossible de télécharger le fichier {}. Le serveur hébergeant le fichier est surement en maintenance.
appimage.install.appimagelauncher.error={appimgl} interdit l'installation de l'application. Veuillez désinstaller {appimgl} puis redémarrer votre ordinateur ; enfin, essayer de réinstaller l'application {app}.
Il faudra placer le fichier fr dans le dossier personnel ~/bauh_env/lib64/python3.6/site-packages/bauh/gems/appimage/resources/locale
  • redémarrer votre ordinateur

Ses différentes fonctionnalités

  • Gems (gestion des paquets)
  • Flatpak (le format flatpak) L'utilisateur a la possibilité d'effectuer une recherche, d'installer, de désinstaller, d'effectuer une rétrogradation de version, de lancer une application et enfin d'avoir accès à l'historique de l'application
  • Snap (le format snap) L'utilisateur a la possibilité d'effectuer une recherche, d'installer, de désinstaller, d'effectuer une rétrogradation de version, de lancer une application et enfin d'avoir accès à l'historique de l'application
  • AppImage L'utilisateur a la possibilité d'effectuer une recherche, d'installer, de désinstaller, d'effectuer une rétrogradation de version, de lancer une application et enfin d'avoir accès à l'historique de l'application
    • Site pris en charge pour la gestion des sources: AppImageHub
      l'application Bauh ne prend actuellement pas en charge les sources d'applications hors du dépôt GitHub5)
    • La rapidité de téléchargement est améliorée si vous avez installé aria2c. Same behavior described in the AUR support section.
    • Les applications installées sont stockées dans le dossier ~/.local/share/bauh/appimage/installed
    • Les raccourcis de menu pour le gestionnaire de bureau sont stockés dans le dossier caché ~/.local/share/applications
    • Les fichiers de bases de données téléchargés sont stockés dans le dossier ~/.local/share/bauh/appimage et se nomment apps.db et releases.db
    • Le service de mise à des bases de données intervient toutes les 20 minutes.
      L'intervalle en SECONDES peut être modifié grâce à la variable d'environnement BAUH_APPIMAGE_DB_UPDATER_TIME.
      Le service de mises à jour automatisées peut être désactivé à l'aide de la variable d'environnement BAUH_APPIMAGE_DB_UPDATER=0.
NB : Une liste exaustive des applications supportées se trouve à l'adresse Liste des applications Appimage sur le Github
ATTENTION : There are some crashes when AppImageLauncher is installed. It is advisable to uninstall it and reboot the system before trying to install an AppImage application. AUR ( arch )

The user is able to search, install, uninstall, downgrade, launch and retrieve the packages history. It handles conflicts, and missing / optional packages installations ( including from your distro mirrors )

Si
  1. aria2 est installé sur votre système — nous nous en sommes assurés à l'étape de l'installation des dépendances logicielles —
  2. ajouté à cela que les téléchargements multicanaux sont activés ; BAUH_DOWNLOAD_MULTITHREAD=1

dans ce cas, les fichiers-sources seront téléchargés plus rapidement. Ceci n'affecte en rien les paramètres de Pacman.

NB : Vérifier l'état de la variable BAUH_DOWNLOAD_MULTITHREAD, au besoin, vous pouvez l'activer en la plaçant dans le raccourci de chargement de Bauh dans la barre de lancement rapide. Raccourci crée à l'étape précédente.

Unelmiste exhaustive des variables d’environnement est disponible dans cette documentation au chapitre Bauh : Chapitre 6 - Paramétrage à l'aide des variables d'environnement

Automatically makes simple package compilation improvements :

  • if MAKEFLAGS is not set in /etc/makepkg.conf, then a copy of /etc/makepkg.conf will be generated at ~/.config/bauh/arch/makepkg.conf defining MAKEFLAGS to work with the number of your machine processors (-j${nproc}).
  • same as previous, but related to COMPRESSXZ definition ( if '–threads=0' is not defined )
NB : this feature can be disabled through the environment variable BAUH_ARCH_OPTIMIZE=0 ( For more information about these optimizations, have a look at Makepkg )

Arch package memory-indexer running every 20 minutes. This memory index is used when AUR Api cannot handle the amount of results found for a given search. It can be disabled via the environment variable BAUH_ARCH_AUR_INDEX_UPDATER=0.

If some of your installed packages are not categorized, send an e-mail to bauh4linux@gmail.com informing their names and categories in the following format: name=category1[,category2,category3,…]

Transitive dependencies checking can be disabled through the environment variable BAUH_ARCH_CHECK_SUBDEPS=0. The dependency checking process will be faster, but the application will ask for a confirmation every time a not installed dependency is detected.

Paramètres généraux

Paramétrage à l'aide des variables d'environnement

Vous avez la possibilité de modifier certains des paramètres de l'application grâce aux différentes variables d'environnement et aux arguments qui y sont associés.
Entrer dans un terminal

bauh --help 

Vous obtenez la liste des variables d'environnement de l'application Bauh.

Il est important de respecter l'ordre de de saisie des variables dans le Terminal ou dans une commande de raccourci. Dans le le cas contraire, certaines variables peuvent ne pas être exécutées.
C'est notamment le cas de –locale=fr ou –tray

L'argument –help de Bauh renvoie

Commande : bauh –help

usage: bauh [-h] [-v] [-e CACHE_EXP] [-ie ICON_EXP] [-l LOCALE]
            [-i CHECK_INTERVAL] [-n {0,1}] [-dc {0,1}] [-di {0,1}] [-co {0,1}]
            [--tray {0,1}] [--sugs {0,1}] [-md MAX_DISPLAYED] [--logs {0,1}]
            [--show-panel] [-dmt {0,1}] [--clean]

GUI for Linux package management

Terminal

  • BAUH_SYSTEM_NOTIFICATIONS: active ou désactive les notifications système.
    Paramètre 0 (inactif) or 1 (actif, default). schéma de l'argument
    -n {0,1} 


    utilisation de l'argument

    bauh -n=1 
  • BAUH_CHECK_INTERVAL: définit les intervalles en secondes des vérifications de mises à jour
    Défaut: 60. schéma de l'argument
    -i {nn} 


    utilisation de l'argument

    bauh --check-interval=60  
  • BAUH_LOCALE : define a custom app translation for a given locale key (e.g: pt, en, es, …).
    Défaut : system locale. schéma de l'argument
    -l {xx} 


    utilisation de l'argument

    bauh --locale=fr 
  • BAUH_CACHE_EXPIRATION : define a custom expiration time in SECONDS for cached API data.
    Défaut: 3600 (1 hour). schéma de l'argument
    -e {nn} 


    utilisation de l'argument

    bauh --cache-exp=3600 
  • BAUH_ICON_EXPIRATION : define a custom expiration time in SECONDS for cached icons.
    Default: 300 (5 minutes).
  • BAUH_DISK_CACHE : enables / disables disk cache. When disk cache is enabled, the installed packages data are loaded faster.
    Use 0 (inactif) or 1 (actif, défaut). schéma de l'argument
    -dc {0,1} 


    utilisation de l'argument

    bauh --disk-cache=1 
  • BAUH_DOWNLOAD_ICONS : Enables / disables applications icons downloading.
    It may improve the application speed depending on how applications data are being retrieved. Use 0 (inactif) or 1 (actif, défaut).
  • BAUH_CHECK_PACKAGING_ONCE : If the availabilty of the supported packaging types should be checked only once.
    It improves the application speed if enabled, but can generate errors if you uninstall any packaging technology while using it, and every time a new supported packaging type is installed it will only be available after a restart. Use 0 (disable, default) or 1 (enable).
  • BAUH_TRAY: If the tray icon and update-check daemon should be created. Use 0 (disable, default) or 1 (enable).
  • BAUH_SUGGESTIONS: If application suggestions should be displayed if no package considered an application is installed (runtimes / libraries do not count as applications). Use 0 (disable) or 1 (enable, default).
  • BAUH_MAX_DISPLAYED: Maximum number of displayed packages in the management panel table. Default: 50.
  • BAUH_LOGS: enable bauh logs (for debugging purposes). Use: 0 (disable, default) or 1 (enable)
  • BAUH_DOWNLOAD_MULTITHREAD : enable multi-threaded download for installation files (only possible if aria2 is installed ). This feature reduces the application installation time. Use 0 (disable) or 1 (enabled, default).
  • BAUH_TRAY_DEFAULT_ICON_PATH : define a custom icon for the tray mode ( absolute path)
  • BAUH_TRAY_UPDATES_ICON_PATH : define a custom updates icon for the tray mode (absolute path)

How to improve bauh performance

Disable package types that you do not want to deal with ( via GUI ) If you don't care about restarting the app every time a new supported packaging technology is installed, set "check-packaging-once=1" (bauh –check-packaging-once=1). This can reduce the application response time up in some scenarios, since it won't need to recheck if the packaging type is available for every action you request. If you don't mind to see the applications icons, you can set "download-icons=0" (bauh –download-icons=0). The application may have a slight response improvement, since it will reduce the parallelism within it. Let the disk cache always enabled so bauh does not need to dynamically retrieve some data every time you launch it.

Files and Logs

Some application settings are stored in ~/.config/bauh/config.json Installation logs are saved at /tmp/bauh/logs/install Some data about your installed applications are stored in ~/.cache/bauh to load them faster ( default behavior ).

Structure du code

Modules

  • view: code chargé de gérer l'interface graphique
  • gems: code chargé d'interagir avec chaque type de paquet précompilé (chaque sous module peut prendre en charge un seul, voire plusieurs types de paquets)
  • api: abstractions du code représentant les actions principales qu'un utilisateur s'attend à accomplir sur les diférents paquets Linux (recherche, installation, etc…). Ces abstractions sont mises en oeuvre grace aux modules gems ; le module view ne servant qu'à compléter leur champs d'action spécifique (view n'a aucune incidence directe sur les actions des modules gems)
  • commons: code commun partagé par les modules gems et view

Pour supprimer cette application, il suffit de supprimer son paquet. Selon la méthode choisie, la configuration globale de l'application est conservée ou supprimée. Les journaux du système, et les fichiers de préférence des utilisateurs dans leurs dossiers personnels sont toujours conservés.

—-

Contributeurs principaux : René Stoecklin.


1)
Vous vous apercevrez que beaucoup de composants logiciels présents dans l'ISO d'installation officielle sont — en définitive — des paquets snap issus du Snapstore
2)
site : Dépôt des utilisateurs d'Arch Linux
4)
Bauh est sensé gérer les paquets Arch Linux Manjaro au format AUR. Or :
Le gestionnaire de paquets Pacman ne fait pas partie de l'écosystème Debian Ubuntu.
Afin de contourner cette limitation, nous allons installer le transcripteur de commandes Pacapt.

(en) « How To Use ArchLinux’s Pacman Package Manager In Other Unix-like OSs » — site : OS TechNix.com
5)
Il s'agit du dépôt Appimage GitHub.
  • bauh.1579278220.txt.gz
  • Dernière modification: Le 17/01/2020, 17:23
  • par eagle08