Linux not finding Git package for install - linux

I followed the steps mentioned on Git website to install Git. but I am seeing the message that Git package is not available.
Link: http://git-scm.com/book/en/Getting-Started-Installing-Git
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
Setting up Install Process
Package curl-devel-7.15.5-9.el5.i386 already installed and latest version
Package expat-devel-1.95.8-8.3.el5_4.2.i386 already installed and latest version
Package gettext-devel-0.14.6-4.el5.i386 already installed and latest version
Package openssl-devel-0.9.8e-12.el5_4.6.i386 already installed and latest version
Package zlib-devel-1.2.3-3.i386 already installed and latest version
Nothing to do
yum install git
Setting up Install Process
No package git available.
Nothing to do

Related

Install perl-LWP-Protocol-https package on OEL 6.10

I wanted to install perl-LWP-Protocol-https package on my OEL 6.10 server. I did download the rpm of the same and tried to install it. But it has lot of dependencies. So I did setup repo from https://packages.endpoint.com/ to install the required package. But I am getting below error while installing. Could some one help me ?
yum install perl-LWP-Protocol-https*
Loaded plugins:
security Setting up Install Process
https://packages.endpoint.com/rhel/6Server/os/x86_64/repodata/repomd.xml:
[Errno 14] problem making ssl connection Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: endpoint. Please verify its path and try again
install perl-LWP-Protocol-https package on OEL 6.10
The rpm package perl-LWP-Protocol-https seems to origin from a discontinued Suse repo for EL6.
Install the perl module LWP-Protocol-https :
# yum install perl-IO-Socket-SSL perl-CPAN
# cpan
cpan[1]> install Net::HTTPS
cpan[2]> install LWP::UserAgent
cpan[3]> install LWP::Protocol::https
The install test was done with "Redhat CentOS 6.10".
Alternatives for OEL 6.10 : Install perl-CPAN with yum. And install "the other modules" with CPAN
If no perl-CPAN in the OEL repo, then install CPAN from source https://cpan.metacpan.org/authors/id/A/AN/ANDK/CPAN-2.27.tar.gz
cd CPAN-2.27/ && perl Makefile.PL && make
# make install

Apt-get install maven did not install latest version

I need to get Maven 3.25 or later in my Linux Ubuntu VM. After running the command sudo apt-get install maven, the system downloaded Maven 3.0.5. Is there a way to get the latest version of Maven (3.3.9) instead using apt-get?
The version of maven in the ubuntu universe repository does not always match the latest available version of software. In addition, Ubuntu does not upgrade packages for new features after shipping a release, only patches and security updates, unless you upgrade the Ubuntu version you are on.
For example, Ubuntu Xenial (16.04) currently ships Maven 3.3.9, but Ubuntu Trusty (14.04) only ships Maven 3.0.5. You have multiple options:
Install maven manually from the maven website.
Upgrade the version of Ubuntu you are using to 16.04, and the package manager will upgrade maven to the 3.3.9 version of maven.
You can run sudo apt-get update to check for package updates. After that potentially sudo apt-get install maven will install more recent version.
If you are using Debian, you can use sudo apt-get install -t jessie-backports maven and it will install the newest version. (Helpful for other users trying to get help.)

Installing IDE and framework from RPMs on CentOs6.6, dependencies not met?

I am running CentOS6.6, 64 bit. I followed instructions in section 2.3.2 to install dependencies, no problem. But in section 2.4 I ran into problems after trying the command sudo yum install --nogpgcheck *.rpm. I get lots of errors like Requires libomnithread.so.3, libomniORB4.so.1, liblog4cxx.so.10, libCOS4.so.1, liblog4cxx.so.1, etc....
It looks like you do not have the epel repository installed, as shown in section 2.3.1. On a CentOS6.6 system, the following command would work to install the latest epel release repository.
yum install -y epel-release
The dependencies will now be found (within the epel repository you've added) and automatically pulled down.

ghostscript apt repository - install latest/newer version

If you install gs like apt-get install ghostscript then an older version (9.05) is installed but the latest version is 9.14
How to update the apt repository so I can install the latest version (or newer versions)
With Percona you can add their own repository in /etc/apt/sources.list like:
deb http://repo.percona.com/apt wheezy main
Is it possible to do something similar with ghostscript?
Is using Debian Wheezy
You can try this package for ubuntu.
http://pkgs.org/ubuntu-13.10/ubuntu-main-amd64/ghostscript_9.10~dfsg-0ubuntu2_amd64.deb.html
If you want latest and greatest version you should build it from source.

Installing Node.js with yum on Amazon CentOS - libssl error

We are using CentOS as elastic build agent for Bamboo on demand.
Recently we utilized grunt for processing our JavaScript files. So I am trying to install npm and grunt in startup script.
Original solution was taken from https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
curl -O http://download-i2.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo rpm -ivh epel-release-6-8.noarch.rpm
sudo yum install npm --enablerepo=epel
npm install -g grunt
npm install -g grunt-cli
And it worked for some time. But later it start fail on yum with error related to missed libssl.so.10.
I checked and libssl.so.10 present in the system.
yum install libssl.so.10 ->
Package openssl-1.0.0g-1.26.amzn1.i686 already installed and latest version
Nothing to do
yum install libcrypto.so.10 ->
Package openssl-1.0.0g-1.26.amzn1.i686 already installed and latest version
Nothing to do
yum install nodejs ->
Error: Package: nodejs-0.10.24-1.el6.i686 (epel)
Requires: libcrypto.so.10(libcrypto.so.10)
Error: Package: nodejs-0.10.24-1.el6.i686 (epel)
Requires: libssl.so.10(libssl.so.10)
The most interesting part that on the same machine I absolutely successfully compiled nodes from sources using
git clone http://github.com/joyent/node.git
cd node
./configure
make
make install
Eventually it takes too long to make nodejs upon each elastic agent start. So I am still seeking for a way to install node.js with yum. Can you provide any ideas about directions to evaluate?
Maybe there is some other way to install npm and grunt at CentOS?
How did you remove the node.js when it started giving you problems? Try force remove the ssl and crypto packages and reinstalled them.
yum remove libssl.so.10
yum remove libcrypto.so.10
yum install libssl.so.10
yum install libcrypto.so.10
It sounds like your library files are not there when you get the errors but the rpm itself is installed. You have to remove the rpm first before you can reinstall.

Resources