Ceci est une ancienne révision du document !



Bauh (gestionnaire de paquets)

Bauh est un gestionnaire de paquets pour les formats de distribution alternatifs Snap, Flatpak, et Appimage.

Le développement de l'application remonte à 2013, sous le nom de fpakman. Rebaptisée Bauh, et incluse dans la distribution Manjaro par défaut, cette application propose maintenant une version compatible Debian et Ubuntu.

En alternative à la Logithèque, Bauh peut vient compléter graphiquement les gestionnaires de paquets classiques comme Synaptic. On aura alors :

Sur Arch Linux et ses dérivées (dont Manjaro par exemple), Bauh gère aussi (à vos risques et périls !) les paquets issus des dépôts communautaires AUR.

Pré-requis

Pour installer Bauh, il vous faudra :

  • une connexion internet fonctionnelle ;
  • les droits d'administration de la machine ;
  • le gestionnaire de paquet pip3 dédié au développement d'application python3 (paquet python3-pip) ; il permettra de télécharger des dépendances spécifiques absentes des dépôts officiels d'Ubuntu.

Par sa conception, Bauh est modulaire, et peut gérer les divers formats listés en introduction. Chacun des formats a évidemment ses propres pré-requis :

Procédure d'installation basique

Installer les paquets suivants :

Puis entrez les commandes suivantes :

pip3 install --upgrade pip
pip3 install --upgrade setuptools
pip3 install bauh

Procédure d'installation avancée

kisspng-sqlite-database-browser-sqlite-database-browser-co-database-5abe2cce87aeb2.5438749115224127505558.jpg kisspng-file-transfer-computer-icons-document-data-transfer-rate-5b0fa38a37d671.1059897315277515622287.jpg

Ceci est une procédure d'installation avancée, en alternative à la procédure basique. On pré-supposera que vous savez installer les paquets et vous servir d'un terminal, tout ne sera pas détaillé pour ne pas noyer les infos utiles dans celles inutiles.

[Mai 2020] La pertinence de cette section est contestée FIXME le wiki ubuntu-fr se veut accessible et n'a pas pour but de détailler de telles manipulations avancées.

Le fond du contenu est également peu standard, le lecteur aventureux est invité à la prudence et à la réflexion quant à ce qu'il recopie : tous les paquets suggérés dans cette section ne sont pas nécessaires.

Merci de ne surtout pas inclure des commandes admin dans cette section : leur recopie est une habitude néfaste, potentiellement dangereuse pour la santé de l'OS des utilisateurs débutants. Les réorienter vers un mini-tutoriel pour qu'ils maîtrisent l'installation des paquets est une meilleur pratique.

Installer l'environnement d'un développement Python 3 : python3-venv et python3-pip

Puis :

Sqlite est un moteur de bases de données. Pour de plus amples informations, veuillez consulter Sqlite sur Wikipedia.
  • installer git pour gérer les versions AUR (FIXME la page github de Bauh est claire : ce n'est pas possible sur Ubuntu ni Debian)
  • installer aria2 pour améliorer le temps de téléchargement des sources Appimage et AUR ; réduit le temps d’installation
Aria2 est un gestionnaire de téléchargements simultanés multi-protocoles à grande vitesse de transfert.
  • installer libappindicator pour gérer le mode « indicateur dans la barre de statut système » dans les environnements basés sur GTK3.
  • installer fuse en cas de dépendance système.
Fuse permet à un utilisateur de monter lui-même un système de fichiers.

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

Pour ce faire, installer Bauh ainsi :

pip3 install bauh
testé sous Focal Fossa 20.04 sans problème

Erreurs d'installation

Erreur « fichier /tmp/pip-build-n5uaen1g/pyqt5/setup.py introuvable »

Erreur « fichier /tmp/pip-build-n5uaen1g/pyqt5/setup.py introuvable »

bauh_env/bin/pip install bauh
Collecting bauh
  Using cached https://files.pythonhosted.org/packages/fc/f1/c85b9f78503f0653bb6d887cbf0eae8e6ea9c21f62cb72a7081e989472f5/
  bauh-0.8.5-py3-none-any.whl
Collecting pyqt5>=5.12 (from bauh)
  Using cached https://files.pythonhosted.org/packages/4d/81/b9a66a28fb9a7bbeb60e266f06ebc4703e7e42b99e3609bf1b58ddd232b9/
  PyQt5-5.14.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.6/tokenize.py", line 452, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-n5uaen1g/pyqt5/setup.py'
 
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-n5

Terminal

Si vous rencontrez cette erreur, suivez la procédure suivante avant de tenter de nouveau d'installer Bauh :

  1. mise à jour de Python-pip, mise à jour de setuptools, réinstallation de l'environnement de Bauh ;
    bauh_env/bin/pip install pip --upgrade && bauh_env/bin/pip install setuptools --upgrade && bauh_env/bin/pip install bauh


    Si ça ne fonctionne toujours pas, essayez de :

  2. (ré)installer le paquet python3-venv puis recréez complètement l'environnement Python :
    sudo apt install python3-venv && rm -rf bauh_env && virtualenv -p python3 bauh_env 


    Effectuer de nouveau les mises à jour

     bauh_env/bin/pip install pip --upgrade && bauh_env/bin/pip install setuptools --upgrade && bauh_env/bin/pip install bauh 

voici le lien du sujet sur github : https://github.com/vinifmor/bauh/issues/85

Erreur « No module named 'pip' »

Erreur « No module named 'pip' »

bauh_env/bin/pip install bauh --upgrade
Traceback (most recent call last):
  File "bauh_env/bin/pip", line 6, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'

Terminal

Cette erreur est apparue lors d'un essai de mise à jour.

Cette erreur est due à l'utilisation de pip à la place de pip3
La commande — insérée dans le lanceur « MAJ-Bauh.desktop » — est la suivante :

/~/bauh_env/bin/pip3 install bauh --upgrade

Bauh a été installé via le gestionnaire de paquets pip3, qui n'est pas le gestionnaire natif de votre système : l'application n'est pas correctement intégrée à Ubuntu, et notamment elle n'est pas présente dans les menus, et elle ne vérifie pas la disponibilité des mises à jour au démarrage.

Pour y remédier, on peut créer des lanceurs.

Ajouter Bauh à la liste des applications

  • 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=/~/bauh_env/bin/bauh --tray

Mises à jour automatiques en arrière-plan

  • le lanceur MAJ-Bauh.desktop
MAJ-Bauh.desktop
[Desktop Entry]
Type=Application
Name=Bauh
Exec=/~/bauh_env/bin/pip3 install bauh --upgrade
vous pouvez cliquer sur les noms de fichiers pour les télécharger et les sauvegarder. Si le dossier personnel caché .config/autostart/ n'existe pas,
— par exemple dans Focal Fossa 20.04 — vous pouvez installer les lanceurs dans le dossier /etc/xdg/autostart

Interface

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 GitHub1)
    • 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 à jour 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 )

Depuis la version 0.8.5, les variables d'environnement sont paramétrables directement depuis le menu de démarrage de Bauh dans la barre de lancement rapide dans la rubrique « Settings - Paramètres »
Une liste exhaustive des variables d’environnement est disponible dans cette documentation au chapitre Bauh : Chapitre 7.2.1 - Paramétrage à l'aide des variables d'environnement

Amélioration de l'automation de la compilation des paquets :

  • si MAKEFLAGS n'est pas paramétré dans /etc/makepkg.conf, une copie de /etc/makepkg.conf sera générée dans ~/.config/bauh/arch/makepkg.conf avec la définition du paramètre MAKEFLAGS correspondant aux nombre de cœurs de votre processeur (-j${nproc}).
  • de même que précédemment, mais applicable à la définition de COMPRESSXZ (si –threads=0 n'est pas défini)
NB : ce paramètre peut être désactivé grâce à la variable d'environnement 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.

L'application Bauh est en cours de traduction et les fichiers de locales fr seront téléversés sur le Github de l'auteur pour une future intégration dans le logiciel.

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.

les chemins de fichiers sont créés pour Python 3.6. Vérifiez la version installée par défaut ou la dernière mise à jour installée.
Essai de localisation en français en modifiant le fichier /bau_env/lib/python3.6/site-packages/bauh/commons/system.py

Changer DEFAULT_LANG=en en DEFAULT_LANG=fr

Les fichiers de locales de la version 32 bits

~/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 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

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 ).

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, roschan, …


1)
Il s'agit du dépôt Appimage GitHub.
  • bauh.1588618365.txt.gz
  • Dernière modification: Le 04/05/2020, 20:52
  • par Roschan