Installing WKHTMLTOPDF on AIX - pdf

Does anyone know if I can install wkhtmltopdf on AIX? I know I can do it in Linux, MacOS and Windows but I don't know if I can do it on AIX.

Related

Linux Subsystem can't install and recognize packages

I am using windows and didn't wanted to switch to linux. I still wanted to learn it so I downloaded ubuntu subsystem for windows. It works fine and I can also execute linux commands on it. But the problem is I can't check my pip version using "pip --version" command also I can't access nodejs . It says that node isn't recognized. But it is working fine on my cmd windows terminal. How can I make it work ? Do I really have to download all these packages again after running "sudo apt update" command.
Yes, you have to download all these packages again for Ubuntu-WSL. That is because WSL is not compatible with windows executable, just like Ubuntu is supposed to be.

Install PhantomJs on Linux

I'm trying to install
PhantomsJS
on Linux(Red Hat 64 bit) server. Please give me instructions for it?

Is it possible to install qt5 on ubuntu 10.04 LTS?

I am using ubuntu 10.04 LTS is there a way to install qt5 on it , I google it but I could not find a perfect solution ?

Android Studio 'tools.jar' file is not present in classpath

I downloaded the current version of Android Studio (latest as of 4th July 2013)
I also downloaded the JDK version 7u25.
However, it displays error after startup: Please ensure JAVA_HOME points to JDK rather than JRE.
I don't know how to solve this problem, which won't let me run the IDE. I would appreciate any help.
Check if java JDK is installed correctly
dpkg --list | grep -i jdk
if not install JDK
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-jdk7-installer
After the installation you have enable the jdk
update-alternatives --display java
Check if Ubuntu uses Java JDK 7
java -version
If all went right the answer should be something like this:
java version “1.7.0_25″
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)
Check what compiler is used
javac -version
It should show something like this
javac 1.7.0_25
Add JAVA_HOME to environment variable
Edit /etc/environment and add JAVA_HOME=/usr/lib/jvm/java-7-oracle to the end of the file
sudo nano /etc/environment
Append to the end of the file
JAVA_HOME=/usr/lib/jvm/java-7-oracle
Log in and out (or reboot) for the changes to take effect.
If you want to remove oracle JDK
sudo apt-get remove oracle-jdk7-installer
read this:
http://arwankhoiruddin.blogspot.co.il/2014/01/android-studio-in-ubuntu-problem.html
in short:
type at the terminal
$ sudo update-alternatives --config java
now you need to choose
usr/lib/jvm/java-7-openjdk/jre/bin/java
by pressing #3
I have Ubuntu 14.04 and OpenJDK and for me a fresh install worked.
just did
sudo apt-get install openjdk-7-jdk
or,
sudo apt-get install --reinstall openjdk-7-jdk if it is already installed and giving error,
and everything was fine.
On ubuntu I have tried all the methods that are described here but none worked.
What I did in the end was to:
download JDK from oracle and extract the archive
edit android-studio/bin/studio.sh and add at the top
export JAVA_HOME=/path/to/jdk
save the file and cd android-studio/bin and launch Android Studio: ./studio.sh
On Fedora (and other RedHat derivatives, e.g. RHEL 7 and CentOS 7), it was the missing openjdk-devel package that was the issue for me. It's an easy fix and nothing to do with the JAVA_HOME path or the JRE.
sudo yum install java-1.7.0-openjdk-devel.x86_64
If you are using Windows, the installation can be confusing for many users...
The installer lets you specify an installation path, but this is only if you have the JRE option selected to install.
The actual JDK installs automatically to...
C:\Program Files\Java\jdkX.XX on 64-bit
C:\Program Files (x86)\Java\jdkX.XX on 32-bit
So you need to make sure you set the JAVA_HOME variable in environment variables set to this JDK path, not the JRE path that appears in the installer.
In windows Create new environment as STUDIO_JDK which refers to your jdk C:\Program Files\Java\jdk1.7.0
This answer may be very specific to a Windows 7 32 bit system:
Even after setting the JAVA_HOME variables, I had problems. After installing the JAVA again from the website, http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
BUT THIS TIME I TRIED "Windows x64 54 MB jdk-8u51-windows-x64-demos.zip" which seems to be for 64 bit even though my system is 32 bit and the ANDROID STUDIO started working for me. My environment settings are following (under System variables and not under user variables):
JAVA_HOME-C:\Program Files (x86)\Java\jre1.8.0_51
JDK_HOME-C:\Program Files (x86)\Java\jdk1.8.0_51
I had the same problem on Linux Mint 17.2 and it was very simple:
In the package manager I found that openjdk-7-jre was installed but not the JDK. All I had to do was to install openjdk-7-jdk.
As I'm new to Linux it took me some time to figure this out though because I assumed by the name of the path /usr/lib/jvm/java-7-openjdk-amd64 that it was already the JDK but it was just the JRE.
On Linux Mint 17 (or Ubuntu 14.04):
sudo apt-get install openjdk-7-jdk
Then change the JAVA_HOME env variable.
export JAVA_HOME=JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
Downloading the latest Android Studio resolve this issue / OSX /MAC

Running boomerang

I am on Ubuntu 8.04 and I have just downloaded Boomerang and unzip the files into a folder on my desktop.
I cd into that folder where the exe boomerang file resides, and typed ./boomerang and boomerang.
However I got the error message:
unable to execute ./boomerang: No such file or directory.
Why does this happen?
I guess, you're on a 64 bit system, which mean you must install some x86 libraries to run the program,
to list the libraries the binary is linked against, run readelf -d | grep NEEDED
once you know the libraries, just install it for x86 architecture: here are some common and necessary libraries for x86
sudo apt-get install libgc1c2:i386 libexpat1-dev:i386 lib32stdc++6 lib32z1 lib32z1-dev
now the program should start normally,
but if it persists, you should see a different kind of error,
try to install those libraries for x86
make sure you have Qt installed for the GUI version.
The error is most likely because you have a 64-bit system, but the boomerang binaries are 32-bit, and many newer 64-bit systems no longer ship with 32-bit support.
The solution is to install 32-bit support for your system; the method for doing this may differ, however the procedure I used was:
sudo apt-get install -y lib32z1 lib32ncurses5 lib32bz2-1.0
Which should be compatible with Ubuntu and many derivatives, though you should look up the correct procedure for your particular OS version, rather than simply running this command.
However, there may also be a number of other 32-bit libraries that are still required before boomerang will run on a 64-bit linux distribution, but at least once you have 32-bit support installed it can tell you what these are!
Are you sure you unpacked it ??
weewee#ubuntu:~/Downloads$ tar xzf boomerang-linux-alpha-0.3.tar.gz
weewee#ubuntu:~/Downloads$ cd boomerang-linux-alpha-0.3/
weewee#ubuntu:~/Downloads/boomerang-linux-alpha-0.3$ ls -l boomerang
-rwxr-xr-x 1 weewee weewee 2376620 Jun 13 2006 boomerang
weewee#ubuntu:~/Downloads/boomerang-linux-alpha-0.3$ ./boomerang
Boomerang alpha 0.3 13/June/2006
Usage: boomerang [ switches ] <program>
boomerang -h for switch help