issue181:c_c
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue181:c_c [2022/05/28 08:14] – d52fr | issue181:c_c [2022/06/02 18:16] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
Here I have an example, and you can see 4 tabs, Description, | Here I have an example, and you can see 4 tabs, Description, | ||
+ | |||
+ | Pour ce numéro, j' | ||
+ | |||
+ | Pour les fichiers .deb, mon outil préféré est gdebi. La quantité d' | ||
+ | |||
+ | Voici un exemple, et vous pouvez voir 4 onglets : Description, | ||
+ | |||
**For now, I would like you to open a .deb file with file roller or your favourite archiver. This is where you will notice slight differences in the same .deb package for pure Debian and Ubuntu and other Debian derivatives. This is the reason why people tell you not to install Ubuntu packages in Debian. There is some homework for you - grab a pure Debian file and an Ubuntu file of the same package, something small, like sound converter or a terminal emulator and compare them by opening them with your archiver and we can talk bout them in the next issue? | **For now, I would like you to open a .deb file with file roller or your favourite archiver. This is where you will notice slight differences in the same .deb package for pure Debian and Ubuntu and other Debian derivatives. This is the reason why people tell you not to install Ubuntu packages in Debian. There is some homework for you - grab a pure Debian file and an Ubuntu file of the same package, something small, like sound converter or a terminal emulator and compare them by opening them with your archiver and we can talk bout them in the next issue? | ||
Ligne 10: | Ligne 17: | ||
From the command prompt, most of you would know apt (or apt-get) to install your software. I am here to tell you that dpkg is just as easy, with: dpkg -i <.deb file> and Bob's your uncle. It is intuitive with -i for install and -r for remove. Though the software centre is easy, it abstracts from installation messages. Since the .deb files are standardized (to an extent) you can write your own bash scripts to update your system. Examples of this are not hard to find. (https:// | From the command prompt, most of you would know apt (or apt-get) to install your software. I am here to tell you that dpkg is just as easy, with: dpkg -i <.deb file> and Bob's your uncle. It is intuitive with -i for install and -r for remove. Though the software centre is easy, it abstracts from installation messages. Since the .deb files are standardized (to an extent) you can write your own bash scripts to update your system. Examples of this are not hard to find. (https:// | ||
+ | |||
+ | Pour l' | ||
+ | |||
+ | La plupart d' | ||
+ | |||
+ | À l' | ||
+ | |||
**When I first started with Debian packages, you used the tool dpkg to install them. I still have nightmares about dpkg --reconfigure though... The difference in all of these package managers are the way they handle dependencies. Apt being the ‘top dog’ at the moment. | **When I first started with Debian packages, you used the tool dpkg to install them. I still have nightmares about dpkg --reconfigure though... The difference in all of these package managers are the way they handle dependencies. Apt being the ‘top dog’ at the moment. | ||
Ligne 18: | Ligne 32: | ||
To realise that all of this information comes from a simple .deb file is nothing short of amazing. When you start treating your .deb files as information carriers and not just installers, there is another world opening up to you.** | To realise that all of this information comes from a simple .deb file is nothing short of amazing. When you start treating your .deb files as information carriers and not just installers, there is another world opening up to you.** | ||
+ | |||
+ | Quand j'ai commencé à utiliser les paquets de Debian, on utilisait l' | ||
+ | |||
+ | Pour voir les dépendances, | ||
+ | |||
+ | C'est là que les « nouveaux » formats de paquets comme Snap et AppImage rendent obsolète le fait de se soucier de ces choses. J'aime voir les messages de démarrage défiler, j'aime voir ce dont mon fichier .deb a besoin. J'aime regarder la sortie de mon Lintian, avant d' | ||
+ | |||
+ | Réaliser que toutes ces informations proviennent d'un simple fichier .deb est tout simplement incroyable. Lorsque vous commencez à traiter vos fichiers .deb comme des porteurs d' | ||
+ | |||
**Now we could talk about all the command line options for these package managers to handle the humble .deb file, but I am sure you are familiar with the man command, besides I will link you at the end of the article as there is no point in reinventing the wheel. | **Now we could talk about all the command line options for these package managers to handle the humble .deb file, but I am sure you are familiar with the man command, besides I will link you at the end of the article as there is no point in reinventing the wheel. | ||
Ligne 28: | Ligne 51: | ||
https:// | https:// | ||
+ | |||
+ | Nous pourrions parler de toutes les options de ligne de commande permettant à ces gestionnaires de paquets de gérer l' | ||
+ | |||
+ | Je suppose que je ne peux pas vous laisser avec cette seule information. Vous avez le pouvoir au bout de vos doigts ! Vous pouvez créer vos propres fichiers deb. Vous devez installer certains fichiers .deb pour construire certains fichiers .deb. HEH ! Tapez ce qui suit dans un terminal : sudo apt install dpkg-dev et sudo apt install devscripts - pour commencer. Je ne me promènerai pas à travers la création d'un fichier .deb dans ce numéro car j'ai pris assez de place, mais pourquoi pas vous ? | ||
+ | |||
+ | J' | ||
+ | |||
+ | Pour en savoir plus : | ||
+ | |||
+ | https:// | ||
+ | |||
issue181/c_c.1653718475.txt.gz · Dernière modification : 2022/05/28 08:14 de d52fr