Ressources documentaires pour Mandriva Linux et les Logiciels Libres

Billets libellés Linux

Select best Ubuntu mirror from CLI

Sometimes your Ubuntu mirrors may not be up-to-date or may be down. To check Ubuntu mirrors status, don’t hesitate to consult :

Now here is a handy little script that allow to select a mirror with the lowest latency available : apt-select.

To install it :

  • If you are using Python 2 ( if not use python3-bs4 instead ) : sudo apt-get install python-bs4
  • Download code from github : wget --no-check-certificate -O - | tar -zx
  • cd apt-select-master
  • Start script and select best mirror ( sources.list will be save in script dir ) : ./
  • Don’t hesitate to check sources.list content : view sources.list
  • Update system sources.list : ./
  • Update APT database : apt-get update

Enjoy !!! 🙂

I’m a man, I’m Linux, I’m a Linux man : Happy 20th birthday !

Indeed, since April 7th, Linux Foundation start the celebrations of the 20th birthday of Linux ! As a happy Linux user and contributor since more than 13 years, I do wish a truly happy birthday to Linux i.e to all of the Linux developers/testers/ packagers/promoters/users : WE are Linux. Happy birthday to us !


Linux n’existe pas

Hier matin, j’écoutais sur France Info la rubrique Nouvelles technologies de Jérôme COLOMBAIN. Celui-ci en a profité pour parler du fameux nouveau système d’exploitation de Google, mais aussi du Palm Pre. Bien qu’ayant précisé que le système de Google serait Libre ( et le journaliste avec lui a fait une confusion entre Libre et gratuit ), à AUCUN moment, le mot Linux n’a été utilisé.

Pourtant l’OS de Google sera basé sur Linux, Androïd est basé sur Linux, le Plam Pre est basé sur Linux. Cependant dans les médias généralistes, ce n’est jamais précisé. Donc je le dit et je le répète : Linux n’existe pas, surtout en tant que marque. Je pense que c’est un gros problème. Si j’étais la FSF et les dev du noyau Linux, je demanderai que tout produit utilisant le noyau Linux, mentionne quelquepart et de manière visible et explicite qu’il est basé sur Linux. Cela permettrait de vulgarisé/popularisé le mot Linux, et faciliterait l’adoption de Linux que ce soit en entreprise ou chez les particuliers. Car pour l’instant, pour le citoyen lambda, Linux n’existe pas, alors que pourtant celui-ci utilise peut être Linux sans le savoir ( Freebox, LiveBox, TomTom, … ).

About Apple App Store like GUI for Linux

Last time I said that Linux had the technology to provide Apple App Store implementations. Please note that Apple is not the only one providing theses kind of features, as Microsoft, Nokia, Palm and RIM have their own. Of course presently this is done only in the mobile space. But what about doing this on desktop and workstations ? For example if Androïd based netbooks are really going to be shipped, then I’m pretty sure that Androïd Market will be available too. What preventing normal computers from having an application store ? Nothing.

Now look at what is needed to provide an application store :

  • A place to store and published the applications
  • An UI easy to use and allowing users to browse the application catalog
  • A way to allow users to pay and installing paying applications

Every Linux distribution on earth have the ability to store and published applications : just have a look at distributions FTP repositories. Now we just need the right UI, and really this may not be so hard to develop. Xandros understand it already as they are providing in their Presto system an Presto Application Store. If you look at Presto Application Store, you will noticed that the differences with common Linux package management systems are few but very important :

  1. Only the words software or applications are used
  2. Applications are sorted by categories, but you also have sub-categories like « Most popular », « New releases » or « Recommended »
  3. Proprietaries applications ( Acrobat Reader, Skype ) as Free ones are mixed. This is not new, and the same happen with current Linux packages management programs
  4. Only graphical applications are shown, and the notion of packages or dependencies are hidden. Indeed, no need to talk about this in theses kind of UI : just install the needed packages and tell that the application have been installed.
  5. Applications are represented with big icons. The only others informations which can be seen are : the size of the application ( I guess that the dependencies size are not taken into account ), the author ( Free applications could use the Packager or URL tag ) and the rate. IMHO the description of the application is missing, this could be the summary tag or eventually the description one. However as this is a web interface, if you click on the application icon, you will have access to the detailed description of the application, the license information, and some screenshots

I must admit that I’m somewhat skeptic about using a web site to install application, I’d rather use a normal application. Indeed a possible limitation of a web based UI would be the fact that web site doesn’t know which applications are already installed or not on your system, and then it will display unneeded applications. However it’s true that developing an application with theses kinds of UI under Linux may be hard. Indeed several issues will make the task hard : interface theming, ability to jump to applications details information, ability to display applications screenshots and show them at bigger size, and of course animations effects. Now the needed framework are coming slowly to Linux : Clutter for Gtk application and Plasma ( or Qt QGraphicsView ) allow now to designed complexed interfaces with animations effects support. With Webkit support, you can even embedded a web interface in the application or use it to display external resources.

Contrary to popular belief, this is not the first time that a Linux distribution is trying to provide theses kind of features. If you look closely, you will noticed that Presto Application Store is based on Xandros CNR technology. OpenSuse have also 1-click install but which is still too much technical ( you see the entire package name, while installing an application will be started and it will show too much informations ). Mandriva also had the same kind of technology than OpenSuse in the past.

Please note that I don’t think that classic packages managers UI should be removed. IMHO they should be used by advanced users or for advanced task, like installing servers or CLI applications.

Presto Application Store screenshot


My Tweets