How to install the latest wkhtmltopdf on ubuntu 12.04 - linux

I did apt-get install wkhtmltopdf on my mac and it installed 12.2.1 and works well. I've now deployed to the ubuntu server, and require wkhtmltopdf on that server. apt-get install wkhtmltopdf only installed 0.9. I followed this explination and it kind of worked, I now have 12.1 installed. But it is not behaving the same as version 12.2.1 on my mac.
And when I do apt-get install wkhtmltopdf again on the ubuntu server it says the latest version is already installed, even though it's only 12.1.
How do I get version 12.2.1 onto the ubuntu server?

Purge the added PPAs:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:<user/ppa_name>
And use the official packages.

Related

Cannot install node version 8.11.2 into my ubuntu machine

I need to install nodejs version8.11.2 into my ubuntu machine. my ubuntu versions is 18.04.
In my machine installed node version is 10.0. Although I use 'sudo apt-get remove nodejs' command to uninstall nodeJS, it is not removing. When i run node -v, it gives the same version.enter image description here
enter image description here
Install Node.js from the NodeSource repository
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
The command above :
Adds the NodeSource signing key to your system.
Creates an apt sources repository file.
Installs all necessary packages.
Refreshes the apt cache.
Then you can do : sudo apt install nodejs
At the time of writing this 12.4.2 is the current latest Node.js version.
You can install version 10.16.0 by changing setup_12.x to setup_10.x in the first command.

How to install node-v6.11.0-linux-x86.tar.xz in Ubuntu

I'm a windows user and I'm having a difficulty installing the latest version of NodeJS.
I've tried sudo apt-get install -y nodejs and it installed v0.10.25 version.
Can someone guide me how to install the tar.xz file properly.
Use nvm
It'll take care of everything.

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

unable to run mksdcard sdk tool ubuntu 16.04 64bit

I downloded android studio and I tried to install on ubuntu 16.04 64 bit but it has "unable to run mksdcard sdk tool" error.
I checked all solutions but they produce errors too.
Seems that the only package you need is lib32stdc++6 for ubuntu 16.04
sudo apt-get install lib32stdc++6
I just stumbled upon this issue myself.
I guess that you found this topic from 2015?
Well, the given solution is a bit outdated but still pertinent: the 64bit Ubuntu 16.04 is indeed missing the 32bits version of the libraries and the
lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 libraries advised to be installed seems to have been removed from the official repos.
However You can still get them with using this command:
sudo apt-get install libz1:i386 libncurses5:i386 libbz2-1.0:i386 libstdc++6:i386
Then the installer should work just fine
Hope it will be of any help.
take a look at https://developer.android.com/studio/install.html
Select Linux...
Required libraries for 64-bit machines:
If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
If you are running 64-bit Fedora, the command is:
sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
For Ubuntu 18.04 and above versions, the following will work
sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
Ubuntu18.04

How to upgrade node.js from 0.12 version to 4.0 version on Windows and Ubuntu

I already have installed Node.js v0.12.2 on Windows and Node.js v0.12.4 on Ubuntu 14.04 LTS. Can I just run the latest installer to upgrade it to v4.0.0 on Windows and run sudo apt-get update on Ubuntu?
Windows has an installer available at https://nodejs.org/en/download/
For Ubuntu, the official instructions are
sudo apt-get remove nodejs
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
Find where node is
which node
Replace it with
sudo ln -sf /usr/bin/nodejs /path/you/find/node
Maybe for future use on Windows, you can take a look at nvmw. Very easy to use and without manually modifying your configuration. When things break, you can just as easily switch back to older versions.
Similar package for Ubuntu: nvm

Resources