Ceci est une ancienne révision du document !
1
Should Linux drop 32-bit support? I don't think that it is a matter of “should” or “shouldn't”, but rather of what is helpful. For modern distributions designed for modern machines, e.g. Ubuntu, Mint, Kubuntu, Fedora, Red Hat, and so forth — even Xubuntu — it has come to the point where supporting 32-bit machines makes no sense. What 32-bit machine has the RAM and CPU to support them? However, there are still many, many older devices in use throughout the world, and I'll bet that in poorer areas, replacing them is not the cheap option that it would be for those living in a rich society. Think about what is probably the most popular Linux distribution on Earth: Android. The old 32-bit smartphones will probably be around for at least the next five or six years! For their sakes, we still need 32-bit support. It would be welcome for certain distros, such as Lubuntu, Puppy, Android, and so forth, to continue providing both 32-bit and 64-bit.
Linux, devrait-il abandonner le support du 32-bit
Je ne pense pas que ce soit une question de « devrait »ou « ne devrait pas », mais plutôt une question de ce qui est utile.
Pour ce qui concerne les distributions modernes conçues pour des machines modernes, notamment Ubuntu, Mint, Kubuntu, Fedora, Red Hat et ainsi de suite - même Xubuntu - la situation est telle que supporter les machines à 32 bits est illogique. Quelle machine à 32 bits a la RAM et le processeur nécessaire pour les prendre en charge ?
Cependant, de très, très nombreux plus vieux appareils sont encore utilisé partout dans le monde et je parie que, dans les endroits désavantagés, leur remplacement n'est pas la possibilité peu chère qu'elle serait pour ceux qui vivent dans une société plus riche. Pensez à ce qui est sans doute la distribution Linux la plus populaire au monde Android. Les vieux smartphones 32-bit vont sans doute continuer à exister pendant au moins les prochaines cinq ou six années !
À cause d'eux, nous avons toujours besoin du support des 32 bits. Ce serait une bonne chose si certaines distrib., comme lubuntu, Puppy, Android, etc., continuait à fournir des versions 64- et 32-bit.
2
I realise that this is more work for the people who create these products, so naturally we cannot insist that they do so. However, I hope that they will manage to have the resources to continue to support both 32-bit and 64-bit, at least for the next (say) five years – until the relevant hardware becomes so cheap relative to today that replacing old devices becomes viable for the poor. Paddy Landau Python 2.x to 3.x? I'm beginning to learn programming and I thought about Python. Recently I found Full Circle, but I had some issues why try to apply, and when I asked I found out that the code in the magazine is for an older version, so I thought that if I asked you to make a new update for the 3.6 version, I may be lucky and have an answer. I'll be grateful. Ahmed EB-BANA
Je me rends compte que cela signifierait plus de travail pour les gens qui créent ces produits et nous ne pouvons, donc, évidemment pas insister pour qu'ils le fassent. Toutefois, j'espère qu'ils arriveront à trouver les ressources pour continuer le support des deux, au moins pendant, disons, les cinq prochaines années - jusqu'à ce que le matériel devienne si bon marché par rapport à son prix actuelle que le remplacement des vieux appareils soit à la portée des personnes démunies.
Paddy Landau
Python 2.x vers la 3.x ?
Je commence à apprendre la programmation et j'ai envisagé Python. J'ai récemment découvert le Full Circles, mais j'ai rencontré des problèmes quand j'ai essayé de mettre les tutoriels en pratique. Quand j'ai posé la question, on m'a répondu que le code dans le magazine est pour une version antérieure ; je pensais donc que, si je vous demandais une mise à jour pour la version 3.6, je pourrais être chanceux et avoir une réponse. Je vous serez très reconnaissant.
Ahmed EB-BANA
3
Greg replies: All the code from the early versions was produced for Python 2.x. After a while, I tried to stick to code that would support versions 3.x as well as 2.x. Not all code, however can easily support both major versions of Python. This is the reason for so many libraries not being available in 3.x. The usual culprits are the print statements since Python 3 REQUIRES the statement to use parens. Try converting: print x to print(x) (in other words, try to enclose the statements following the word “print” in parens.) There is one other thing you can try, There is a conversion utility that is included with Python 3.x which is called 2to3. I briefly touched on this in part 16 of the series which was in FCM#42.
4
Updating The Kernel I have recently acquired a Lenovo yoga 300. It is a nice laptop which lacks some power, but Xubuntu runs well on it and it does well for general stuff and image editing which is my thing. I like to use LTS versions of Ubuntu. Xubuntu 16.04 uses kernel 4.8 which lacks some drivers for this machine, the main one being for power and battery information and management. I read that it is easy to change kernels but, not having done that before, researched it a bit carefully. I tried the app for kernel management which some recommend as the easy way to do it but that failed. So I downloaded kernel 4.10.11 from http://kernel.ubuntu.com, following the instruction to download the header files and the kernel.deb files. Then a sudo dpkg -i *.deb did the magic. After a reboot the battery tools were working in the XFCE taskbar. I have done some extensive testing, and, so far, everything seems to work very well on this hardware. Yet another win for Linux I say. I know that 17.04 has the 4.10 kernel but I did not want to reinstall unless I had to, and now I should be able to run 16.04 on this hardware through to the next LTS. These are the great things about Linux, and the community who share information out so that people like me can benefit. So thanks for all the work you do, it is appreciated. Full Circle is a great magazine which I look forward to receiving. Iain Mckeand