Install docker 1.2 on Amazon Linux AMI release 2014.03 - linux

I'm trying to install discourse forum on the Amazon Linux AMI release 2014.03. To install that forum I should use docker 1.2 or more but when I type "yum install docker" I getting version 1.1.2-1.0.amzn1 from amazon. So how can I download and install the last version from https://github.com/docker/docker?

I found answer on my question here: https://github.com/docker/docker/issues/7968
$ yum --enablerepo epel-testing install docker-io

Related

How to upgrade the GPG version installed on AWS EC2

I have a requirement to upgrade the GNU Privacy Guard(GPG) package installed on AWS EC2 instance. The OS installed on EC2 is Linux(Not Ubuntu).
The current version installed is 2.0.22-5.amzn2.0.4,which is depricated as per GPG website. https://gnupg.org/download/index.html
Hence, I wish to upgrade it to version 2.3
I tried the below commands for the purpose.
$ sudo yum update-minimal gnupg
$ sudo yum reinstall gnupg
$ sudo yum update gpg
Everytime, I get a message saying NO PACKAGEs MARKED FOR UPDATE
When tried to reinstall using command number 2, the same version 2.0.22-5.amzn2.0.4 is reinstaled again, which actually isn't the latest version.
Can anyone suggest the process to upgrade to latest version?
Updated remark:
The package name on Amazon Linux 2 should be gnupg2.
You should be using Amazon Linux 2, you are using the latest package version provided by Amazon Linux 2.
By the time I write this answer, most distribution are still using gnupg 2.2, the only common distribution providing gnupg 2.3 is Fedora, you can find it at https://fedora.pkgs.org/35/fedora-x86_64/gnupg2-2.3.2-2.fc35.x86_64.rpm.html
In case you really need it now, you may either:
Build it by yourself
Install the rpm package from Fedora via dnf install <rpm-url>

How to install JavaPackage on ubuntu

I came across a debian application by the name JavaPackage which can create a debian installation file (.deb) form a java binary (.tar.gz) which you can then install using dpkg -i application_name.deb. With Ubuntu being a debian-based linux distribution, it is possible that it can be installed on ubuntu as well.
How do I go about installing it on Ubuntu/Kubuntu 16.04.2 LTS?
java-package is available in the official ubuntu repositories. All you need to do is update the repository with the latest version then install it as shown below:
sudo apt-get update
sudo apt-get install java-package

How to install node.js and its dependency in openVZ server

I am new to openVZ and I want to install node.js and all its dependencies on openVZ server.
Suggestion is much appreciated, thank you.
To install nodejs on either OpenVZ server or OpenVZ container you would want to use whichever package manager that is provided with your distribution. The two most popular OpenVZ server distributions are CentOS (yum/rpm) and Debian (aptitude/apt-get/dpkg). If you are using an OpenVZ container, there are many more possibilities but chances are it is a distribution that supports either yum or apt.
For CentOS 7 (YUM/RPM) you first need to install the extra packages repository:
yum install epel-release
Then you should be able to install nodejs:
yum install nodejs
For Debian Jessie (and also Ubuntu 16.04) it appears to be in the stable repositories so you can just install it:
aptitude update
aptitude install nodejs
EDIT: I just noticed a minimal Ubuntu did not have aptitude installed. Instructions for apt-get:
apt-get update
apt-get install nodejs
If that does not answer your question, please supply more information such as which distribution you are using and what version of nodejs you need to install so others will be able to assist you better.

Installing NodeJS on Linux RHEL(Release 6.6(Santiago)?

I'm trying to Install NodeJS on Linux RHEL(Release 6.6(Santiago)? Nothing seems to work. I download and extract the file(v.6.3.1). The I try to install with the command sudo yum install package_name. Nothing I try is working.
Red Hat packages a number of technologies via "Software Collections" including node.js 0.10 and 4.4. Details are here: https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2/html-single/2.2_Release_Notes/index.html
Also, these are part of the RHEL subscription.

Install Linux AMI 2012.03 packages

I've Amazon AMI 2013, I need to install some software (like mod_security,zip,GD,etc...) which is listed in this link https://aws.amazon.com/amazon-linux-ami/2012.03-packages/
What is the ssh commend to install it?
I think you do
sudo yum install [whatever you want]

Resources