install octave on ubuntu mate on rasperry pi 3

I have ubuntu mate on a raspberry pi 3 and I’m trying to install octave without success so far. I got (sorry if its not accurate, I translated from spanish):

$    sudo apt-get -y install octave  octave : dependency: octave-common (= 4.0.0-3ubuntu9.2) but 4.2.2-1~octave~xenial2 will be installed  $   sudo apt-get -y install octave-common octave-common is in its more recent version (4.2.2-1~octave~xenial2). 

what i’m doing wrong or what i’m not doing?

Composer install error “Repository type is not registered”

I want to install Magento for developpement and then production release. So i followed this

When i try to run this :

composer create-project --repository=https://repo.magento.com/ magento/project-community-edition . 

it ask my credential that i fill, it show me this :

Do you want to store credentials for repo.magento.com in /root/.composer/auth.json ? [Yn] Y Installing magento/project-community-edition (2.3.0)   - Installing magento/project-community-edition (2.3.0): Loading from cache Created project in . 

Then i get this error :

[InvalidArgumentException]                                              Repository type is not registered: **my key** 

Could you explain me what’s wrong ?

Sent messages not synced on first install of new SMS apps

I just installed Textra to try out as a new primary SMS/MMS app. However, I’ve noticed that none of my previously-sent messages seem to have been imported into Textra. I see most (if not all) of my received messages, but none of my recently sent ones are there.

I recall having something similar happen when I downloaded Android Messages, to try out as an alternative to Samsung’s built-in app.

Is there any way to get this all synced up, so I can have my complete history (at least, everything from since I started using this phone) in whichever SMS app I end up choosing?

Platform: Android 7.0 on Samsung Galaxy S8+

Software Versions:

Android Messages 2.2.076
Samsung Messages 4.2.00.143
Textra SMS 3.37

Package manager – is it possible to install packages with “variants”?

I am a data scientist coming from the macOS world planning to setup an Ubuntu server machine for data analysis.

In the macOS world there are also package managers. My favorite one, MacPorts, allows variants when installing packages. This is how it works: let’s take as example the Pnetcdf package, which are libraries to write Netcdf files in parallel, speeding up the I/O process.

Pnetcdf requires a parallel compiler in the system, which can be either OpenMPI or MPICH. In MacPorts I can choose to install Pnetcdf using my preferred parallel compiler, for example sudo ports install pnetcdf +openmpi (using OpenMPI), or sudo ports install pnetcdf +mpich (using MPICH).

Similarly, I can also choose the compiler version when installing some package: I can install some package with the command sudo install <package> +gcc5 to install it with GCC 5 or sudo install <package> +gcc7 to install it with GCC 7.

So this is my question: is there a similar feature in Ubuntu? Still considering the Pnetcdf example, I see that there’s a package available in the repositories (https://packages.ubuntu.com/bionic/pnetcdf-bin). However, that binary seems to have been built with the OpenMPI compiler.

Is there any way I can choose to install Pnetcdf using MPICH from the official repositories? Or would I have to compile to source code myself?

Please note that I am using Pnetcdf as example for the question but it could really be any other of the few dozen libraries I use in my workflow.

Unable to install Apache Kafka due to gradle lock

I’m trying to build Apache Kafka cloned from here using gradle. However when I run ./gradlew installAll it fails with the following error message:

* What went wrong:

Cannot lock buildSrc build lock as it has already been locked by this process.

I have tried deleting the locks in ~/.gradle/caches and even switching to older versions of gradle, but nothing seems to work. What’s going on here and what else can I try?

Python on High Sierra “No Java runtime present, requesting install”

I have python code that works just fine in multiple other places and “used” to work on my mac, but now when I try to run my code as:

python <pythonfile>.py

I get an error which says: No Java runtime present, requesting install.

I have tried all of the fixes on SO and installed the latest Java JDK. The only thing I haven’t done is reboot as I’m right in the middle of a lot of things.

Any ideas?

Python version 2.7.10 Java JDK

Java(TM) SE Runtime Environment 18.9 (build 11.0.2+7-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+7-LTS, mixed mode)``` 

I’ll Install WHMCS/WordPress/WooCommerce/MyBB or any script you want. for $1

Greetings, First of all thanks for interested in my service. I will install any script you want price depend on the script. 1$ is service fees you’ve to choose your script down below at extra. if you want to migrate any script from old host to new host i can also do that it available on extras. Extra: I will install WHMCS Only on 5$ I will install & Configure everything you want at WHMCS Only on 15$ I will install WordPress Only on 5$ I will install & Configure all needed setup you want WordPress Only on 15$ I will Install WooCommerce & configure Only on 10$ I will Install MyBB & configure Only on 8$ I will Provide Shared Hosting any install any one script you want Only on 6$ I will Migrate your website from old host to my hosting Only on 15$ I will Migrate your website from old host to new host account Only on 10$ (Migration could charge more then 10$ it depend on your site. so first contact before ordering it.) Note: if you buy only service and don’t choose any extra feature then you won’t get anything. I will just guide you for installation. All installation process is manually, We don’t use any script installer and we don’t recommend it too.

by: arsalahmed786
Created: —
Category: WordPress
Viewed: 175


How to install PowerCLI permanently on a computer with no internet

I downloaded the PowerCLI from VMware’s website.

https://my.vmware.com/web/vmware/details?downloadGroup=PCLI650R1&productId=614

Once downloaded their is an executable PowerCLI.exe. If I run this executable I get a terminal (that is not cmd/powershell) that pops up with all the PowerCLI commands available.

The problem is when I open a real PowerShell terminal, these commands disappear and are unavailable.

While looking at the folder I downloaded from VMware’s website I noticed a script called “initizilize_environment.ps1”, after I run this script (its about 5-10 mins)I get access to the PowerCLI commands again. The problem is I loose access to these commands once the PowerShell terminal is closed. This is a big problem as I’m trying to automate the virtual environment and having to wait 5-10 minutes defeats the point.

I would install the PowerCLI via the following, but due to security restrictions the machine cannot have access to the internet.
Save-Module -Name VMware.PowerCLI -Path <path>

Any help is much appreciated.