Systems Deployment

How to compile PHP 7.1 in Ubuntu 16.04

PHPOn December 1, 2016 the PHP development community released version 7.1, which added 12 new features , we mention some of them below:

Nullable types: Type declarations for parameters and return values can now be marked as nullable by prefixing the type name with a question mark. This signifies that as well as the specified type, NULL can be passed as an argument, or returned as a value, respectively.
Void functions: The void type functions should not return any value so they should use an empty return or omit it completely, I think that if you omit the return it gives more clarity to the code since it is more consistent with the definition of void, the NULL value is not a valid return value for void functions.
Symmetric array destructuring : The shorthand array syntax ([]) may now be used to destructure arrays for assignments (including within foreach).

How to compile PHP-7.3 en Debian

On December 6, 2018 the PHP development community released version 7.3, which incorporated new features, here some of them:

  • More Flexible Heredoc and Nowdoc Syntax
  • Array Destructuring supports Reference Assignments
  • instanceof Operator accepts Literals
  • Trailing Commas are allowed in Calls
  • PCRE2 migration
  • Performance of the Multibyte String extension has been significantly improved

How to uninstall snap in Ubuntu

Snap is an application management system that allows you to install, configure, update and remove snap packages. In other words snap is a technology that allows you to update your applications with the latest versions (avoiding version incompatibility problems in dependencies, because each package is a wrapper that includes the application and its dependencies) and this can be good but perhaps it is not to like having the snapd service running permanently on the other hand snap promotes non-free applications and if you are passionate about Free Software this can make you frown and lay hands on the keyboard and leave no trace of snap and this is what what we are going to do in this post.

Install LibreOffice in Debian GNU/Linux

According to Wikipedia:

LibreOffice is a free office suite compatible with Microsoft Windows, Mac and GNU/Linux. It has a text processor (Writer), a spreadsheet (Calc), a presentations creator (Impress), a databases manager (Base), a vector graphics editor (Draw) , and an editor of mathematical formulas (Math).

To the previous definition, I would add that it is also compatible with BSD OS (FreeBSD, OpenBSD, NetBSD).

LibreOffice covers a wide range of office needs and therefore can replace proprietary suites such as: Microsoft Office.