How do i install apt-get on Redhat AWS linux machine - amazon-s3

I have spun a Redhat linux machine in aws,but struggling to install apt-get ,here is uname -a
Linux ip-172-31-69-100.ec2.internal 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Could you provide help just to let me know how to get apt-get working in Redhat linux aws machine

actually my search was how to make sudo snap conjure-up --classic working in Amazon aws Linux machine,I was trying to run
sudo snap conjure-up --classic working in Amazon aws Linux machine,but i was getting message as snap not found sometimes apt-get not found,my quest was then how do i get snap in amazon linux machine?
Resolution:-one of my colleague explained"Unfortunately, conjure-up has been developed by Canonical, the creator of Ubuntu and is only tested on Ubuntu Linux machines. It most likely won't work on other OS'es. You'll need to spin up an Ubuntu machine to use conjure-up."

Related

I want to run Memgraph using WSL but I can't install Ubuntu 22.04 on Windows 11

In the Memgraph official documentation it says "Install MemgraphDB using the latest Memgraph Ubuntu package and by running the following command in the Ubuntu terminal.". On the download page there are three Ubuntu versions, 18.04, 20.04, and 22.04. I've downloaded the right .deb file. From Memgraph part, everything works ok.
I get stuck when trying to install Ubuntu 22.04 in WSL. I don't see it. I have Windows 11 professional. Does this mean that Ubuntu 22.04 is perhaps not available in my Region?
PS C:\Users\Gai> wsl --list --online
The following is a list of valid distributions that can be installed.
Install using 'wsl.exe --install <Distro>'.
NAME FRIENDLY NAME
Ubuntu Ubuntu
Debian Debian GNU/Linux
kali-linux Kali Linux Rolling
SLES-12 SUSE Linux Enterprise Server v12
SLES-15 SUSE Linux Enterprise Server v15
Ubuntu-18.04 Ubuntu 18.04 LTS
Ubuntu-20.04 Ubuntu 20.04 LTS
OracleLinux_8_5 Oracle Linux 8.5
OracleLinux_7_9 Oracle Linux 7.9
You can install Ubuntu 22.04 from the Microsoft Store.
Ubuntu 22.04.5 LTS on Microsoft Store
You can read more on the general availabilty of WSL in the Microsoft Store here.

How to identify whether a linux VM is running on hyper-v environment?

I want to know if the linux VM is running on Hyper-V environment. Is there any way I can identify? Thank you !
It can be determined by installing virt-what
here is documentation
https://linux.die.net/man/1/virt-what
as an example, install on ubuntu:
sudo apt install virt-what
usage:
sudo virt-what

How do I uninstall zipline-trader from Ubuntu Linux

I can't remove/uninstall Zipline-Trader from Linux Ubuntu 18.04. I've tried sudo apt remove zipline-trader and the package doens't exist.

How to update s3fs from v1.74 to latest version in amazon linux 2 or centos?

I already installed s3fs-fuse v1.74 and my boss need me to update it to latest version, yet I'm a newbie here. I'm using Amazon Linux 2 instance in AWS, sometimes works with centos 7 code too. Could someone help me please?
EPEL hosts the latest versions of s3fs. You can install them on Amazon Linux via:
sudo amazon-linux-extras install epel
sudo yum install s3fs-fuse
and CentOS 7 and later via:
sudo yum install epel-release
sudo yum install s3fs-fuse
These instructions come from the s3fs README.

Weblogic server installation in Ubuntu 16.04

my setup,
am using virtual box vm for installation of weblogic server fmw_12.2.1.1.0_wls.jar on top of Ubuntu 16.04 server
installed oracle java using
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
now java is installed in /usr/lib/jvm/java-8-oracle/jre/bin/java and i have set java_home = /usr/lib/jvm/java-8-oracle
have placed the file fmw_12.2.1.1.0_wls.jar in /usr/lib/jvm/java-8-oracle
when trying to install weblogic server from /usr/lib/jvm/java-8-oracle using java -jar fmw_12.2.1.1.0_wls.jar it fails with the error message as
preparing to launch the oracle universal installer from /tmp/OralInstall2016
Exception in thread "main" java.long.UnsatisifiedLinkError: /usr/lib/jvm/java-8-oracle/jrelib/amad64/libawt_xawt.so:libXender.so cannot open shared object file: no such file or directory
Please advise
You're missing pre-requisites. Perhaps there are more, but the one you're referred is because of missing X-Windows subsystem. Easiest just to invoke:
$ sudo apt install -y xterm
I hope it will help,
Jarek