install Tizen studio 3.7 on Ubuntu 19.10 or 20.04? - linux

I am stuck on this warning while installing Tizen studio via package manager as it requires a preriquisite:
sudo apt-get install libwebkitgtk-1.0-0
running this command finds nothing. Following askubuntu forum I downloaded bunch of webkitgtk packages from here. Finally I got this error that demonstrates it requires more dependencies.
sudo dpkg -i '/home/rif/Downloads/w/libwebkitgtk-1.0-0_2.4.11-0ubuntu0.1_amd64.deb'
error:
Selecting previously unselected package libwebkitgtk-1.0-0:amd64.
(Reading database ... 156927 files and directories currently installed.)
Preparing to unpack .../libwebkitgtk-1.0-0_2.4.11-0ubuntu0.1_amd64.deb ...
Unpacking libwebkitgtk-1.0-0:amd64 (2.4.11-0ubuntu0.1) ...
dpkg: dependency problems prevent configuration of libwebkitgtk-1.0-0:amd64:
libwebkitgtk-1.0-0:amd64 depends on libjavascriptcoregtk-1.0-0 (= 2.4.11-0ubuntu0.1); however:
Package libjavascriptcoregtk-1.0-0 is not installed.
libwebkitgtk-1.0-0:amd64 depends on libegl1-mesa (>= 7.8.1) | libegl1-x11; however:
...and more stuff not installed, message...
Package libwebkitgtk-1.0-common is not installed.
dpkg: error processing package libwebkitgtk-1.0-0:amd64 (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Errors were encountered while processing:
libwebkitgtk-1.0-0:amd64
I have no idea what I should do to install this on Linux. How can I install it Tizen studio on Linux 20.04?

The easiest way to install libwebkitgtk-1.0-0 on Ubuntu 19/20 for now is listed below
echo -e "# For Tizen studio\ndeb http://cz.archive.ubuntu.com/ubuntu bionic main universe" | sudo tee /etc/apt/sources.list.d/tizen-bionic-libwebkitgtk.list
sudo apt update
sudo apt-get install libwebkitgtk-1.0-0
And once the libwebkitgtk-1.0-0 is installed the user might face difficulty in installing libpng12 as well when trying to install any emulators.
Steps to install libpng12 are below
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt-get update
sudo apt-get install libpng12-0
After installing the libpng12 & libwebkitgtk-1.0-0 packages, user will be able to install any profile in Ubuntu 19 or Ubuntu 20.
Tizen Studio does not officially support Ubuntu 19 & Ubuntu 20 as of now.
Official support for Ubuntu 20 LTS is expected soon

There is no libwebkitgtk-1.0 for Ubuntu 19.10 or 20.04: https://packages.ubuntu.com/search?keywords=libwebkitgtk-1.0-0
If you want libwebkitgtk-1.0 in Ubuntu 19.10/20.04, you will need to download its source code and try to build (probably with debuild) or install Ubuntu 18.04 in a docker.
Other Tizen tools are not yet officially supported in 19.10 or 20.04.
Or you may contact admins and ask them to add another Ubuntu version support at https://launchpad.net/~tizen.org/+archive/ubuntu/pdk

Related

DataStax C++ driver for Ubuntu 22.04?

I am following the instructions here to run the C++ connection code example on AstraDB. However, I could not install the Casandra driver package. I got an error message about "multiarch-support is not installed".
Platform details: Ubuntu 22.04 (latest update), Cansandra driver 2.16.0.
Here is the command and the detailed output:
sudo dpkg -i cassandra-cpp-driver_2.16.0-1_amd64.deb
dpkg: regarding cassandra-cpp-driver_2.16.0-1_amd64.deb containing cassandra-cpp-driver, pre-
dependency problem:
cassandra-cpp-driver pre-depends on multiarch-support multiarch-support is not installed.
So I tried to install binutils-multiarch for Ubuntu 22.04 but it did not work (same error).
Did I miss any steps?
I noticed that the Casandra download page only shows driver packages up to Ubuntu 18.04.
Do you have the latest build for Ubuntu 22.04?
Thanks very much for any help.
UPDATE:
I just noticed this post about the same issue and the reported resolution was to use Cassandra driver 2.16.2. When I tried that, I got a different error message about a required libssl is not installed.
I checked my system and it has libssl3. The error message points to libssl1.1 or above. So, why did it not work?
Here is the command output:
sudo dpkg -i cassandra-cpp-driver_2.16.2-1_amd64.deb
Selecting previously unselected package cassandra-cpp-driver.
(Reading database ... 354331 files and directories currently installed.)
Preparing to unpack cassandra-cpp-driver_2.16.2-1_amd64.deb ...
Unpacking cassandra-cpp-driver (2.16.2-1) ...
dpkg: dependency problems prevent configuration of cassandra-cpp-driver:
cassandra-cpp-driver depends on libssl1.1 (>= 1.1.0); however:
Package libssl1.1 is not installed.
And here is my libssl3 in the system:
apt search libssl
...(omitted)...
libssl3/jammy-updates,jammy-security,now 3.0.2-0ubuntu1.6 amd64 [installed]
Secure Sockets Layer toolkit - shared libraries
...(omitted)...

PhpStorm Installation issue on Ubuntu 14.04

I am back here again with one more issue that I am having installing PhpStorm on my Ubuntu 14.04. To do so I followed the following steps:
Step 1. sudo apt-get purge openjdk* which gave me a long list mostly saying Package is not installed, so not removed. A few examples:
Package 'openjdk-7-dbg' is not installed, so not removed
Package 'openjdk-7-doc' is not installed, so not removed
...
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Step 2: sudo add-apt-repository ppa:webupd8team/java which ended up saying this:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
oracle-java7-set-default : Depends: oracle-java7-installer but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Step 3: Despite those error messages popped up I went ahead and ran sudo apt-get update which executed OK.
Step 4: Tried to run sudo apt-get install oracle-java7-installer which again popped up a lot of negative remarks!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
oracle-java7-installer : Depends: java-common (>= 0.24) but it is not installable
Recommends: gsfonts-x11 but it is not installable
E: Unable to correct problems, you have held broken packages.
So I did not go further with rest of the following commands:
sudo apt-get install oracle-java7-set-default
wget http://download-cf.jetbrains.com/webide/PhpStorm-7.1.3.tar.gz
tar -xvf PhpStorm-7.1.3.tar.gz
cd PhpStorm-133.982/bin
./phpstorm.sh
I have no idea what is going wrong! Somebody please help this absolute newbie to install it.
On another note, if PhpStorm fails to install somehow on my PC, please suggest me a good software which runs on Ubuntu with an inbuilt SASS compiler so that I do not have to run a command every time from terminal? And it would be even better if that software I can get for free! PhpStorm is only a 30-day trial.
EDIT
Strange, I'm using PhpStarm on Ubuntu 14.04 and ant works fine. IntelliJ IDEs are really great.
I have these Java from the same repo you are using.
java-common-0.51
java-wrappers-0.1.27
oracle-java7-installer-7u80+7u60arm-0~webupd8~1
Let's try to purge all the Java packages from you system and then install the Oracle Java again.
Use dpkg -l | grep java to discover all the installed java-related packages.
Then, use apt-get purge on all of them.
Skip the javascipt packages of course.
Then, try to install oracle-java7-installer again. I hope it will be installed correctly.
To install Phpstorm in Ubuntu just follow these steps
1.Run sudo apt install snapd
2.Then sudo snap install phpstorm --classic
3.Then type phpstorm in shell and press enter to launch Phpstorm
Read more about these here

Installing sublime text 3 on AWS Ubuntu 14.04.1 LTS

Sublime-text is a fast editor for Windows and Linux. I failed to install sublime text 3 on AWS Ubuntu 14.04.1 LTS using the following commands:
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
Results in following error message:
p: cannot create regular file "/usr/share/icons/hicolor/16x16/apps/":
No such file or directory dpkg: error processing package sublime-text-installer (--configure):
subprocess installed post-installation script returned error exit status 1
I see following directories under /usr/share/icons/hicolor/
32
48
64
So, I created 16x16 subdirectory, but then it gives an error for 32x32 directory doesnot exist. Did anyone experience this problem before? I will appreciate any help.
sublime-text is a GUI application that needs a GTK installation. Your server is missing that dependency. (In a perfect world, it should be a dependency of the package of course.)
Install libgtk2 (as root):
apt-get install libgtk2.0-common
and then reinstall sublime-text, probably using:
apt-get purge sublime-text-installer ; apt-get install sublime-text-installer

Error in rstudio : libuuid.so.1: cannot open shared object file: No such file or directory

I installed RStudio version 0.98.507 and my R version is 2.14.1. My OS is ubuntu 12.04. When I try to start RStudio from the terminal I get the following error:
rstudio: error while loading shared libraries: libuuid.so.1: cannot open shared object file: No such file or directory
How do I solve this?
apt-get install libuuid1
This command will not resolve the problem, if you are running 32 bit executable on 64 bit Ubuntu. Need to install 32 bit version of libuuid1 with `i386' suffix.
apt-get install libuuid1:i386
Try
sudo apt-get install libuuid1
Maybe you have some dependencies and, in fact, not completely installed.
When I tried to install, I got the following error:
dpkg: dependency problems prevent configuration of rstudio:
rstudio depends on libjpeg62; however:
Package libjpeg62 is not installed.
So I simply installed the dependency via apt-get:
sudo apt-get install libjpeg62
And then installed the rstudio:
sudo dpkg -i rstudio-<your_version>-amd64.deb
In case someone else comes across this problem, installing libuuid1 also did not work for me. This was because I had installed the 32 bit version of R studio when my system is 64 bit. So one solution is to install the 32 bit versions of the libraries, such as 'libuuid1:i386' in debian. The more simple and obvious solution is to just uninstall the current version of rstudio and install the 64 bit version. Worked like a charm!
installing the following package solved the problem for me. I am using ubuntu 12.04
sudo apt-get install ia32-libs

Error message when setting up ADT in Linux

I installed Ubuntu 11.10, installed GNOME 3 (replaced Unity), installed Eclipse from the Ubuntu Software Center, installed the android sdk and ADT.
Now when I start eclipse I get a message saying:
Failed to get ADB version : Cannot run program
/home/ayush/android-sdk/platform-tools/adb":java.io.IOException:error=2,
No such file or directory
What is causing this error and how do I fix it?
The command to install IA32 libraries on Ubuntu is:
apt-get install ia32-libs
sudo dpkg --add-architecture i386
sudo apt-get update
apt-get install ia32-libs
Before that please check your ubuntu version. if you are running with 64 bits, you need to install a linux emulator, IA32 bit I thinks. Verify on Google.
after that, your ADB can run easily on ubuntu.
I'm using Fedora 17 and I got the same error as the poster:
[2013-08-29 21:44:08 - adb] Unexpected exception 'Cannot run program
"/home/el/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/adb":
error=2, No such file or directory' while attempting to get adb version from
'/home/el/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/adb'
I know this works if you are using Fedora 17/18 (login as root)
yum install redhat-lsb.i686
And then restart the IDE and the errors no longer show.
I had the exact same error as you had, but on my Ubuntu 12.04 LTS version.
The following avoided that error for me:
1) Install 'adb' and 'fastboot' provided by the following third-party PPA.
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
2) Replace the copy of 'adb' and 'fastboot' provided by the official Android SDK with those installed from the above step:
cp /usr/bin/adb <path-to-your-adt-sdk-package>/sdk/platform-tools/adb
cp /usr/bin/fastboot <path-to-your-adt-sdk-package>/sdk/platform-tools/fastboot
3) Restart(re-execute) your eclipse binary.
Full credits:
http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
They have the binaries for 12.10, 11.10 and 11.04 as well.
Don't try to install ia32-libs, this library has been obsoleted.
So, you should install these libraries:
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
Cheers

Resources