Hamachi not installed on Centos 7 when i follow this steps - linux

I'm trying to install Hamachi on Centos 7, i follow this documents but it was for Centos 5 ,6
Install and Configure LogMeIN ( Hamachi ) on RHEL/CentOS 5/6
Also the link of latest logmein-hamachi is not working, so i use latest version from this link
LogMeIn Hamachi for Linux
and download last version of hamachi by this command line
wget https://secure.logmein.com/labs/logmein-hamachi-2.1.0.139-1.x86_64.rpm
And the file is successfully downloaded, but when i try to run this command to install hamachi
rpm -ivh logmein-hamachi-2.1.0.139-1.x86_64.rpm
it is not installed

You can use the yum software package manager to install rpm packages.
Try:
yum localinstall logmein-hamachi-2.1.0.139-1.x86_64.rpm

Related

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

Install nodejs 4 on redhat

Nodejs version 4 has been released and installed on my windows machine.
I'm trying to install the package trough yum on redhat but i'm not getting the latest version.
i tried: sudo yum install -y nodejs but the lastest 4.0 version is not installed.
How do i install nodejs 4.0 on a redhat machine?
NodeJS 4.X for EL7 repos located at https://rpm.nodesource.com/pub_4.x/el/7/
To install with yum change baseurl in nodesource-el.repo file to:
baseurl=https://rpm.nodesource.com/pub_4.x/el/7/$basearch
/etc/yum.repos.d/nodesource-el.repo content:
[nodesource]
name=Node.js Packages for Enterprise Linux 7 - $basearch
baseurl=https://rpm.nodesource.com/pub_4.x/el/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
[nodesource-source]
name=Node.js for Enterprise Linux 7 - $basearch - Source
baseurl=https://rpm.nodesource.com/pub_4.x/el/7/SRPMS
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
gpgcheck=1
You can compile and install from its source.
ver=4.0.0
wget -c https://nodejs.org/dist/v$ver/node-v$ver.tar.gz #This is to download the source code.
tar -xzf node-v$ver.tar.gz
cd node-v$ver
./configure && make && sudo make install
https://github.com/nodejs/node-v0.x-archive/wiki/Installation
Try npm install n -g and then n latest for downloading it with this version manager.
Edit:
The official distributions are managed by Nodesource. For RHEL the setup is supposed to be (take from the repo):
Current instructions for installing, as listed on the Node.js Wiki:
Note that the Node.js packages for EL 5 (RHEL5 and CentOS 5) depend on the EPEL repository being available. The setup script will check and provide instructions if it is not installed.
Run as root on RHEL, CentOS, CloudLinux or Fedora:
curl -sL https://rpm.nodesource.com/setup | bash -
Then install, as root:
yum install -y nodejs
But be aware that 4.0 is currently not in their rpm distribution
This was my solution and it worked:
Distrubution url: Distr: https://nodejs.org/dist/v4.2.1/node-v4.2.1.tar.gz (v4.2.1 for now)
Unpack the package (tar Jxf node-v4.2.1.tar.xz).
Some package could be too old and will cause problems during installation.
cd to the unpacked file and run ”./configure”. if the warming “C++ compiler too old, need g++ 4.8 or clang++ 3.4” is displayed you need to execute the following commands:
curl http://linuxsoft.cern.ch/cern/scl/slc6-scl.repo > /etc/yum.repos.d/slc6-scl.repo
rpm --import http://ftp.mirrorservice.org/sites/ftp.scientificlinux.org/linux/scientific/51/i386/RPM-GPG-KEYs/RPM-GPG-KEY-cern
yum install -y devtoolset-3
And to utilize it without having to set environment variables execute this command:
scl enable devtoolset-3 bash
Now restart the process:
./configure
make
make install
You can try this solution.
First, update software repository to the latest versions:
yum -y update
Intall "Development Tools". It's a group of tools for compiling software from sources.
yum -y groupinstall "Development Tools"
Move to /usr/src directory - the usual place to hold software sources.
cd /usr/src
Now, we pick the latest compressed source archive from Node.js website at http://nodejs.org/download/.
wget http://nodejs.org/dist/v4.2.4/node-v4.2.4.tar.gz
tar zxf node-v4.2.4.tar.gz
cd node-v4.2.4
./configure
make
make install

Installing RedHawk on CentOS7

CentOS 7 has been out nearly a year now. Has anyone installed RedHawk on CentOS 7? I do not see binaries available on the RedHawk download page. Has anyone successfully built it from sources? Are there issues?
I also do not find RPMs for omniORB-servers or omniORB-devel. Has anyone succeeded in building these on CentOS7?
Terry, Ive built redhawk yum repositories for CentOS7 which you can find below however a few things to note:
As Ryan pointed out, currently redhawk only officially supports CentOS6 and Ubuntu, these rpms are not offically built and distributed by redhawksdr.org. However if you do have any issues with them or find any problems please feel free to feed this back to me.
These RPMs were originally built prior to Fedora packaing omniORB 4.2. To account for this, I built and packaged omniORB 4.1 for CentOS7 which is the same version redhawk uses on CentOS6. My omniORB41 package and EPEL's omniORB (v4.2) package conflict so you cannot have the epel package installed. I have not tested redhawk with omniORB 4.2 which is why I packaged the older 4.1 version.
You can find the 1.10.1 yum repository here:
http://yum.axiosengineering.com/redhawk/1.10.1/el7/x86_64/
I will hopefully soon update with 1.10.2
You will also need the dependency repository here:
http://yum.axiosengineering.com/redhawk-deps/1.10/el7/x86_64/
To install via yum, create the file /etc/yum.repos.d/redhawk_axios.repo
With the following text:
[redhawk]
name=UNOFFICIAL REDHAWK 1.10.1
baseurl=http://yum.axiosengineering.com/redhawk/1.10.1/el7/x86_64/
enabled=1
gpgcheck=0
[redhawk-deps]
name=UNOFFICIAL REDHAWK DEPS
baseurl=http://yum.axiosengineering.com/redhawk-deps/1.10/el7/x86_64/
enabled=1
gpgcheck=0
Then from a terminal:
sudo yum clean all
sudo yum install redhawk* frontendInterfaces* bulkioInterfaces* GPP-*
REDHAWK is only officially supported on CentOS 6 and Ubuntu 14.04. omniORB should now be in Fedora EPEL 7:
https://apps.fedoraproject.org/packages/omniORB
I recently installed Redhawk 2.3.0 on Centos 7.9 by following these instructions https://redhawksdr.org/2.3.0/manual/installation/
The exact commands I used:
mkdir ~/Documents/Redhawk
cd ~/Documents/Redhawk
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget https://github.com/RedhawkSDR/redhawk/releases/download/2.3.0/redhawk-yum-2.3.0-el7-x86_64.tar.gz
tar xzvf redhawk-yum-2.3.0-el7-x86_64.tar.gz
cd redhawk-2.3.0-el7-x86_64
sudo yum install -y redhawk-release*.rpm
sudo nano /etc/yum.repos.d/redhawk.repo
Content of /etc/yum.repos.d/redhawk.repo:
[redhawk]
name=REDHAWK Repository
baseurl=file:///home/causer/Documents/Redhawk/redhawk-2.3.0-el7-x86_64
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhawk
Once the file is saved (ctrl+x, y), in the same directory as before:
sudo yum groupinstall "REDHAWK Runtime"
. /etc/profile.d/redhawk.sh
. /etc/profile.d/redhawk-sdrroot.sh
sudo /usr/sbin/usermod -a -G redhawk causer
sudo nano /etc/omniORB.cfg
sudo $OSSIEHOME/bin/cleanomni
sudo systemctl enable omniNames.service
sudo systemctl enable omniEvents.service
Copy redhawk.desktop to the desktop and run it (rpm -qpl on the redhawk-ide-xyz.rpm its near the bottom of the list)
sudo yum install java-1.8.0-openjdk-javadoc

xz compression install on centos

Any installation or update using yum command I ended up error: Error: xz compression not available. On website I read that Python library is missing. When you try to install a library (sudo yum update pyliblzma) again failed with error. Do not know how? Thanks.
This problem comes if you installed a wrong epel release on your machine. If so, then you need to remove the epel release by
yum remove epel-release
Sometimes that is not enough, you need to remove the cache as well by:
rm -rf /var/cache/yum/x86_64/6/epel
Then you can install the epel-release again
yum -y install epel-release
You need install the EPEL repository by downloading the appropriate RPM package for your system and installing it. For example, for CentOS and Red Hat Enterprise Linux 6.x:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -Uvh epel-release-6*.rpm
If you get a File Not Found error message when trying to download the package, the version number might have changed. You can access the latest version of the RPM installer from the Fedora EPEL wiki page. The wiki page also includes additional instructions for Red Hat Network subscribers who are installing the EPEL repository.
Finally, install the Python library:
yum install pyliblzma
This works perfecly in my CentOS 6.x.
I've found a solution on this page of stackexchange, working in CentOS 6.X:
https://unix.stackexchange.com/a/314756
sudo rpm -e epel-release-7-5.noarch
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -ivh epel-release-6-8.noarch.rpm
sudo yum clean all
sudo rpmdb -v --rebuilddb
sudo yum -y install libselinux-python
I was also suffering from this issue..
If you are installing packages but it is already available on your system.
Remove existing packages and then try to install new.
It will work properly...
I was able to solve this problem by installing pyliblzma using rpm instead of yum as yum is not working.
Find pyliblzma rpm package according to your architecture and install it using the command.
rpm -Uvh pyliblzma-version-release.architecture.rpm
I used the following command to install pyliblzma for my 64 bit Redhat 6.8 machine. Please check URL in the command and make changes accordingly.
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/pyliblzma-0.5.3-3.el6.x86_64.rpm
In my case the issue was caused by missing modules in python's site-packages directory. Here's what I did:
$ rpm -Va
to get a list of all files belonging to all rpms that do not verify. I got a bunch of messages about missing modules:
missing /usr/lib64/python2.7/site-packages/...
Luckily, I had an identical CentOS version elsewhere with all these packages present, so I just copied them over and ran
$ rpmdb -v --rebuilddb
to rebuild rpm database.

How to install Xvfb (X virtual framebuffer) on Redhat 6.5?

I have tried to install the Xvfb on red-hat 6.5 using
yum -y install xorg-x11-server-Xvfb
but it is not installed and it is giving msg that
No package xorg-x11-server-Xvfb available.
Error: Nothing to do
Plese help me to install Xvfb on Redhat 6.5 to remove the headless exception in the Applet.
Thanks.
The xorg-x11-server-Xvfb package is officially available from RedHat for RHEL 6 and RHEL 7 under the Optional channel (RHEL Workstation Optional, or RHEL Server Optional).
From the comments: To enable the optional repo: subscription-manager repos --enable rhel-7-server-optional-rpms and then you can install the package with yum install xorg-x11-server-Xvfb
I was able to download the RPM and then install it locally after reading this article
wget http://vault.centos.org/6.2/os/x86_64/Packages/xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm
yum localinstall xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm

Resources