简体   繁体   中英

How to install Octave on rhel fedora based Amazon EC2 instance?

How to install Octave on Amazon EC2 instance? The configuration of the EC2 instance is as follows:

在此处输入图片说明

First, I created a tmp directory and downloaded the EPEL rpm in the tmp directory and installed the EPEL repository with the commands:

在此处输入图片说明

I tried to use the following command (please see the following website for more details about this command link for more details of the command ) to install Octave, but it was not working (see the following result):

在此处输入图片说明

Also, I tried to enable the package by changing "enabled = 0" to "enabled = 1" in the file "/etc/yum.repos.d", and used yum to install octave, but it was still not working. The error message is as follows:

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

I tried to use the command to test it (see below for more details):

在此处输入图片说明

I am not sure if some package management tools (eg, subscription-manager, dnf) to handle the dependency issues. Thanks!

Amazon Linux is based on RHEL and Fedora, but is not RHEL or Fedora. Fedora EPEL is made on RHEL and will also work on CentOS and other rebuilds which aim to be just like RHEL . It looks like you are hitting an area where Amazon Linux is different. Your options are:

  1. Rebuild all of those missing packages on Amazon Linux
  2. Install Octave and all dependencies from source rather than RPM
  3. Use RHEL, Fedora, or CentOS

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM