How to install opera-stable_26.0.1656.60_amd64.deb in centos6 - opera

I have downloaded opera-stable_26.0.1656.60_amd64.deb and searched how to install the same in my centos6.Got several links but none of them gave actual method.Please provide a suitable solution. I have tried with following command
yum install opera-stable_26.0.1656.60_amd64.deb

You could try using this script to convert the deb to an rpm:
http://ruario.ghost.io/2014/12/20/my-christmas-present-to-opera-fans-on-rpm-distros/

Related

Yum install graphviz on RHEL 7 fails with 'No package graphviz available.'

I am trying to install graphviz on my RHEL VM. when I run
$sudo yum install graphviz
I get this:
This system is not registered with an entitlement server. You can use subscription-manager to register.
No package graphviz available.
Error: Nothing to do
I later found out that I get this same problem with all packages.
I have tried several solutions I have found online such as:
saving the .repo file found here (this link will download the file)
then running
#from dir containing graphviz-rhel.repo
$sudo yum-config-manager --add-repo graphviz-rhel.repo
the output was
This system is not registered with an entitlement server. You can use subscription-manager to register.
adding repo from: graphviz-rhel.repo
grabbing file graphviz-rhel.repo to /etc/yum.repos.d/graphviz-rhel.repo
repo saved to /etc/yum.repos.d/graphviz-rhel.repo
Then I ran
$sudo yum-config-manager --enable graphviz-rhel
This gives no output and $yum-config-manager list all does not list anything related to graphviz as a repo (enabled or disabled)
I tried the solution here: failed to install 'graphviz*' packages with yum command on my RHEL server
except I found the rpm file here
When I ran the rpm command I got an error because I was missing a couple dozen dependencies so I dont think following this solution for all of them is a reasonable solution.
If someone can either inform me why one of these didn't work or let me know how to accomplish my goal of getting yum install <package> to work I would greatly appreciate it.
As posted in the comments, in order to utilize yum on a RHEL system you need an active subscription

Image Magic not generating thumbnail for first page of PDF Files

I have downloaded the Image Magic from the following Link:
http://www.imagemagick.org/download/linux/CentOS/i386/ImageMagick-6.9.1-3.i386.rpm
Extracted the rpm file using rpm2cpio ImageMagick-6.9.1-3.i386.rpm | cpio -idmv
Running below command to create the thumbnail for the first page of PDF
convert source.pdf[0] output.jpg
But I am getting error:
convert: No match.
Anyone has any idea why it is not working? What I am doing wrong?
Instead of installing ImageMagick, you have extracted it instead. What you would want to do is install it.
You could run yum install ImageMagick to install it, which will take care of all the necessary dependencies as well. Or, if you wanted to install using the rpm, you should run rpm -i ImageMagick-6.9.1-3.i386.rpm. I would suggest going through the yum route instead, however.
Note: The above answer is based upon the assumption that you are using CentOS or RedHat or a similar distribution. If you are using Ubuntu or a similar distribution, you would need to use apt-get install imagemagick.

How to read libgtkmm-3.0-doc

I am learning to use gtkmm and I've downloaded libgtkmm-3.0-doc using apt-get install libgtkmm-3.0-doc. Where do I find this doc so I could read it?
It appears that it installs the documentation in html format inside a this path:
/usr/share/doc/gtkmm-documentation/tutorial/html/index.html
You can find the files installed by the package by using the command dpkg-query:
dpkg-query -L libgtkmm-3.0-doc

Specifying download dir with yum downloadonly

I'm trying to run the following:
yum reinstall glibc --downloadonly --downloaddir=/root/dependencies/
But it keeps giving me an error that --downloaddir is not a valid option though I've seen others use it around the web. I'm using RHEL Workstation 5.5. Is there another way to specify the downloaddir?
Thanks
first install yumdownloader
yum install yumdownloader

Installing gdal-config on my linux

I search the entire net could not find a guide to get gdal-config.
I have yum but yum does not have gdal-config, i already installed gdal.
I just need to be able to do this on shell - gdal-config and not get a command not found error.
My distro is Fedora. I don't have apt-get.
You probaby have "yum" instead of "apt-get" on Fedora. Try..
yum install gdal gdal-devel
I'm running Ubuntu 16.04, so I use apt-get instead of Yum. But I had trouble with gdal and gdal-develop. This is command that worked for me:
sudo apt-get install gdal-bin libgdal-dev
I found the package names from here:
https://launchpad.net/ubuntu/+source/gdal
I had a similar problem, that is "gdal-config" was missing. I could solve it by installing the development packages. So you could try installing gdal-dev.
As far as I know, the GDAL utilities, including gdal-config, are part of the download package that you can find here: http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries. They link to a Fedora version. If you installed apt-get, you could find it by looking for GDAL directly.