Error in installing puppet enterprise - linux

I have downloaded the Puppet Enterprise 3.7 installer from the PuppetLabs website,
but while installing I got the below error...
./puppet-enterprise-installer
ERROR: This is a supported platform, but this is not the installer for this platform. Please use the platform specific installer
(puppet-enterprise-3.7.2-el-6-x86_64).
How can I fix this?

You can get the enterprise linux puppet installer for 3.7.2 following this link.
https://s3.amazonaws.com/pe-builds/released/3.7.2/puppet-enterprise-3.7.2-el-6-x86_64.tar.gz
Looks to me like you downloaded it for the wrong linux distribution.
Hope this helps.

** This only applies to the open source version **
Which distribution are you installing this on? The error is telling you to use the EL6 install package which is available on their yum repo. It's much easier if you just install their repo package:
rpm -Uhv http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
and then run yum install puppet facter.

Related

Hugo version not updating to latest

I am trying to work with the Hugo static site generator.
Problem: Hugo is saying it is updated to the latest version but it is not.
$ hugo version
Hugo Static Site Generator v0.40.1 linux/amd64 BuildDate: 2018-04-25T17:16:11Z
But the latest version is now v0.70.0
System:
Windows Subsystem for Linux via the terminal in Visual Studio Code v1.45.0
Any help would be much appreciated thank you all.
If you're using a Debian-based system, e.g. Ubuntu, you can download the appropriate .deb from https://github.com/gohugoio/hugo/releases and install it with, for example:
sudo dpkg --install ./hugo_extended_0.70.0_Linux-64bit.deb
I wrote about this in footnote 10 in my Hugo Tutorial.
If you've installed it via the apt package manager, you might be out of luck there, because the official repositories might not be up to date with the latest version of Hugo.
To update the repositories and install the latest available version of hugo, try doing
sudo apt update
sudo apt install hugo
However, I see it's only getting version 0.6x.
If you want to use it on Windows, you could try installing it via Chocolatey or Scoop. Both seem to have version 0.70.x in their repositories, but you'd need to install them first, because they're not Windows out-of-the-box software. Not sure if and how it would work if you use it in the WSL, though.
Otherwise, there's always the good'ol download the binary and save it.
The Ubuntu package manager "apt" does not contain the latest version of Hugo right now. It needs to be updated by the repo owner or similar.
I solved my problem by following a binary install guide here

not able to install any package using Yum always says package not found

I'm installing "FASTX Toolkit" using yum but not able to install .My operating system is RHEL v7 with 64 bit
please give me some suggestion how to solve this

shared libraries libgconf-2.so.4 is missing

I want to install chromedriver in one of the AWS EC2 instance which is linux(Red Hat Enterprise Linux Server release 6.7 Santiago - 64 bit). While installing the chromedriver, we ran into issue due to missing packages. I could find the package here but this in turn requires many other packages. Using any other AMI is not an option.
Error is -
error while loading shared libraries libgconf-2.so.4 cannot open shared object file
I am using Ubuntu x64 and yum didn't work for me. But I found somebody mentioning simply use
$sudo apt install libgconf-2-4
worked for me to install the libgconf.
Please ask yum for the file, libgconf-2.so.4 : $ yum provides */libgconf-2.so.4
Install GConf2 : # yum install GConf2
Packages http://mirror.centos.org/centos/6.8/os/ ... and updates http://mirror.centos.org/centos/6.8/updates/
The chromedriver depends on the same packages / files as GConf2, and then some. Please see for yourself : $ ldd chromedriver , where 'chromedriver' is the unzipped executable.
EDIT :
Solution for the chromedriver issue : Install a chromedriver for RHEL 6, chromedriver-31.0.1650.63-1.el6.x86_64.rpm https://drive.google.com/file/d/0B7S255p3kFXNX1c0UWlGOWpZOHM/view?usp=sharing
Please download the package, and 1) cd Downloads/ 2) yum install chromedriver-31.0.1650.63-1.el6.x86_64.rpm ... and you have /usr/local/bin/chromedriver
P.S. : The EL6 chromedriver was built from the source package chromium-31.0.1650.63-1.el6.src.rpm
You might want to read this CentOS thread about your GLIBCXX_3.4.15. Especially apropos is this answer on the thread, especially the FAQ it references.
CentOS (which aims to be as compatible with RHEL as possible) is a curated LTS distribution (as is RHEL). You might find a version of chromedriver compiled for RHEL 6 in one of the many repositories. If not, you'll probably have to build it yourself.

Missing hadoop package in Bigtop (centos) - installation issue

I am trying to install bigtop on centos6 (VM using virtualbox).
I am following links given below with little modifications to get latest versions (bigtop 1.1.0) -
http://www.dummies.com/how-to/content/set-up-the-hadoop-environment-with-apache-bigtop.html
https://cwiki.apache.org/confluence/display/BIGTOP/How+to+install+Hadoop+distribution+from+Bigtop+0.5.0
To be precise, I have run following commands till now -
wget -O /etc/yum.repos.d/bigtop.repo http://www.apache.org/dist/bigtop/bigtop-1.1.0/repos/centos6/bigtop.repo
yum install hadoop\* mahout\* oozie\* hbase\* hive\* hue\* pig\* zookeeper\*
Now the problem is, it says -
No package hadoop* available.
No package hue* available.
No package zookeeper* available.
I am new to linux and don't completely understand what exactly these commands are doing. I have wasted an entire day on this. As I am just trying to explore hadoop on my VM, I am fine if I can get some older version of bigtop too but I would prefer that I can get atleast hadoop 2.0 or above.
Can someone help on this?
Thanks.
You have to run sudo apt-get update between adding new repository and installing packages from it.

Poppler 0.14.1 build issue

I cannot build Poppler 0.14.1 from source code on CentOS 5.4. When I do ./configure it ends with a message like:
checking for FONTCONFIG... configure:
error: Package requirements
(fontconfig >= 2.0.0) were not met:
I have successfully built from source code, and installed
fontconfig 2.8.0
on that machine, and also set the PKG_CONFIG to point to the folder that contains the fontconfig.pc (/usr/local/lib/pkgconfig/).
It is true that when I do $PKG_CONFIG --version fontconfig it gets echos '0.20' but the fontconfig.pc does write that the version of the library is 2.8.0. Also there are no other libfontconfig.so other then the one build from source on that machine, so I am sort of stuck and not sure what to do (except debugging configure)
Has anyone solved a similar case before?
Thanks
Peter
Check if the package fontconfig-devel is installed. If not, install it and then try your build again.
For debian squezee, I've had to install packages manually from the sources:
http://cgit.freedesktop.org/fontconfig/
(Download directly, not use the git because there are problems when configure)
And BTW, very useful guide to install poopler and dependences from the scratch:
http://www.linuxfromscratch.org/blfs/view/svn/general/poppler.html

Resources