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
Related
I need at least any >14 version of node, but when i tried to update i had to uninstall. now i1m trying to install the 16 version but i keep gettimg this error:
Unpacking nodejs (16.19.0-deb-1nodesource1) ... dpkg: error processing
archive
/var/cache/apt/archives/nodejs_16.19.0-deb-1nodesource1_amd64.deb
(--unpack): trying to overwrite '/usr/include/node/common.gypi',
which is also in package libnode-dev 12.22.9~dfsg-1ubuntu3 dpkg-deb:
error: paste subprocess was killed by signal (Broken pipe) Errors were
encountered while processing:
/var/cache/apt/archives/nodejs_16.19.0-deb-1nodesource1_amd64.deb E:
Sub-process /usr/bin/dpkg returned an error code (1)
To install NodeJS Firstly make sure to update your packages
sudo apt update
sudo apt upgrade
Then make sure to have curl installed, sudo apt install curl -y
Then import NodeJS repo by curl -fsSL https://deb.nodesource.com/setup_NODEJS_VERSION | sudo -E bash -
Make sure to change NODEJS_VERSION to the version u wish to install, for example if u want to instal v16 change it to 16.x then simply run sudo apt install nodejs -y to install nodejs
Hope that helped!
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
I am using a ubuntu 14.04 and just recently installed the pocketsphinx package. When I try to run the sample robocup.launch file, I get an error saying gconfaudiosrc is no element. Hence when i try sudo apt-get install gstreamer0.10-gconf, I get the following error:
E: Unable to locate package gstreamer0.10-gconf
E: Couldn't find any package by regex 'gstreamer0.10-gconf'
Any sugesstions on what I could do?
For anyone else stuck with the same issue, I solved it by downloading the deb file from here : https://packages.ubuntu.com/trusty-updates/sound/gstreamer0.10-gconf
And then installing it by :
sudo dpkg -i /path/to/deb/file
followed by
sudo apt-get install -f
I am trying to set RIDE framework on linux.
I have installed the essential software-
Python2.7.8
pip
RobotFramework 2.8.4
Facing issue while installing wxPython.
sudo yum install python-wxgtk2.8
Gave the following error:
Setting up Install Process
No package python-wxgtk2.8 available.
Error: Nothing to do
same for python-wxgtk3.0
Also tried sudo yum install wxPython
default installed wxPython.x86_64 0:2.8.12.0-1.el6 package and on running ride.py getting below error-
You need to install wxPython 2.8.12.1 with unicode support to run RIDE.
wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
Need proper commands to execute wxPython in linux that successfully executes
ride.py.
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