Problem Installing mysql-workbench on ubuntu 19.04 - mysql-workbench

It says it is not available in any source. Tried using the debian provided by oracle. It says libssl versions are incompatible. Any help in this regard.

Now, mysql workbench is available for ubuntu 19.04.
You can manually install after downloading the file.
Step 1:
Direct download link-
https://dev.mysql.com/downloads/file/?id=488567
OR
Visit here select your OS then download as per OS version
https://dev.mysql.com/downloads/workbench/
Step 2:
sudo apt install file_path_of_downloaded_workbench
Finish!!

I solved this problem by installing the libzip package, directly from the deb package. I found at https://ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html. Download and install libzip4, then install mysql-workbench from the apt or deb package, whichever you prefer.

on Ubuntu 19
1)I had to, preceding it on Ubuntu 19, also install manually a library libzip https://ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html
2) then manually selecting on a download page deb package for mysql workbench https://dev.mysql.com/downloads/workbench/
then install deb packages via a standard apt installer in a Downloads dir
sudo apt install ./libzip4_1.1.2-1.1_amd64.deb
and downloaded workbench deb package
sudo apt install ./mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb

You can download the source code from https://dev.mysql.com/downloads/workbench/, compile it and install it. I did it that way and it works perfectly for me. I had to install several package dependencies and review some basic compiler details, but in the end the result was successful. Follow the INSTALL file instructions and consider removing the Werror option from the CMakeLists.txt. Download antlr-4.7.1-complete.jar from web, and then run:
cmake -Wno-dev -DWITH_ANTLR_JAR='path_to_antlr-4.7.1-complete.jar' -Wno-error
make
sudo make install
screenshoot 1
screenshoot 2

UBUNTU 19.04 disco dingo -> mysql-workbench install steps:
add mysql complete source list from: https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb
install libs: sudo apt-get install libgtkmm-3.0 libpcre++*
add debian source list on "/etc/apt/sources.list" :
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y
sudo apt-get install mysql-utilities mysql-common mysql-community*
sudo apt-get install mysql-workbench (finish!!)
works here!

Latest version of workbench does not support Ubuntu 19.04 and version for 19.10 will not work.
You have to download specific workbench version supported by 19.04 from the archive.
Visit https://downloads.mysql.com/archives/workbench/
Select product version 8.0.17,
download and install package mysql-workbench-community_8.0.17-1ubuntu19.04_amd64.deb

check out gdebi
gdebi is a tool resolving & installing dependencies, for more info http://manpages.ubuntu.com/manpages/bionic/man1/gdebi.1.html

1) Install libzip4
curl -OL http://launchpadlibrarian.net/260671111/libzip4_1.1.2-1.1_amd64.deb
sudo dpkg -i libzip4_1.1.2-1.1_amd64.deb
2) Then install MySQL workbench on Ubuntu 19.04 by running the commands:
curl -OL https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-
community_8.0.16-1ubuntu18.04_amd64.deb
sudo dpkg -i mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb
3) Install missing dependencies (libatkmm-1.6-1v5, libglibmm-2.4-1v5, libgtk2.0-0, libgtkmm-3.0-1v5, libpcrecpp0v5, libpython2.7, libsigc++-2.0-0v5, libtinfo5) by this command.
sudo apt --fix-broken install
Hope this helps.

Download the .deb file from here
Install it using command
dpkg -i *.deb。

Now MYSQL-WORKBENCH for Ubuntu-19.04(Disco) is available.
To install mysql workbench form command line you need add dependencies manually.
Edit your /etc/apt/sources.list and Append following lines:
deb http://security.ubuntu.com/ubuntu cosmic-security main
deb http://cz.archive.ubuntu.com/ubuntu cosmic main universe
sudo apt-get update
Download mysql-workbench from 'Mysql Workbench-19.04 for Ubuntu' and install by giving execute permission to mysql-workbench-community_8.0.17-1ubuntu19.04_amd64.deb file.
Now it should work. :)

Related

Can not install pgadmin4 in ubuntu based distribution

Seems there is an issue while installing pgadmin4 for postgress db. I tried to follow these instructions but at the end I get
Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease' doesn't support architecture 'i386'
Does anybody know what is the issue ?
I am using Pop Os 20.04
Ubuntu expects repositories to have all architectures by default. As there are no packages for i386 this results in the error you're seeing.
To fix this, you have to tell apt which architectures to expect, so your pgdg.list should look like this:
deb [arch=amd64] http://apt.postgresql.org/pub/repos/apt NAME-pgdg main
NAME would be the output of lsb_release -cs.
Note 2020-05-05: Judging from your distro name, it's based on Ubuntu 20.04. There are no pgAdmin4-packages for focal yet. Installing from the eoan repo fails because of missing libpython3.7 :(
You need to edit your pgdg.list file in /etc/apt/sources.list
there is a line in the file thats says : deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main
change it to deb [arch=amd64] http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main save the file and all you have to do now is a : sudo apt update && sudo apt upgrade

How to apt install python-pybind11?

I see form my project document that I need to install python-pybind11 by using
sudo apt -y install python-pybind11
but I got error like this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pybind11
I'm not sure if python-pybind11 is a valid package, where can I check it?
Use this to install pybind11:
pip install pybind11
Refer from Here.
In Ubuntu 18.04
apt-get install python-pybind11
On Mac,
brew install pybind11
In Ubuntu 16.04, you'll need to install yourself. One way is as follows:
# Some prerequisites (but not all of them)
apt-get install cmake
pip3 install pytest
# Clone, build and install
git clone https://github.com/pybind/pybind11.git
cd pybind11
mkdir build
cd build
cmake ..
make install
Reference
In some systems, you may need
sudo apt -y install python3-pybind11

How to install postgresql on Ubuntu 16.04 VM despite "unmet dependencies" to set up Ruby on Rails project

Ubuntu 16.04 on VirtualBox VM using Vagrant.
Windows 10 host.
Git Bash terminal.
Connected to vagrant up, vagrant ssh.
I have a fresh VM and have installed ruby and rails. I am trying to install postgresql to use for a Ruby on Rails project, but I get the following error:
vagrant#vagrant-ubuntu-trusty-64:~$ sudo apt-get install postgresql postgresql-contrib
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
postgresql : Depends: postgresql-9.6 but it is not going to be installed
postgresql-contrib : Depends: postgresql-contrib-9.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I've tried various things, and nothing seems to let me install postgres
I was facing same problem in my ubuntu 16.04
but i fixed that problem and it's very simple just follow these step and you will be able to install postgresql 10 in your system :
Add this to your sources.list:
sudo vim /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.de.debian.org/debian/ wheezy main non-free contrib
after that add these link to your pgdg.list file if it's not there you have to create and add link and save it.
sudo vim /etc/apt/sources.list.d/pgdg.list
deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main
then update your system
sudo apt-get update
sudo apt-get upgrade
and install that unmet dependencies :
apt-get install ssl-cert
that's it. now Install postgresql using these command
sudo apt-get install postgresql-10
#JosMac pointed out that I am running Ubuntu 14.04 instead of 16.04 as I had thought.
I was still running into similar errors, but I just ended up installing the rails-dev-box (https://github.com/rails/rails-dev-box) way which uses yakkety64, and seems to work.

libicuuc.so.55: cannot open shared object file

While am compile using swift build, am getting following error in my Ubuntu machine
$swift build
/home/xxxxxxxxx/Downloads/swift-DEVELOPMENT-SNAPSHOT-2016-02-25-a-ubuntu15.10/us
r/bin/swift-build: error while loading shared libraries: libicuuc.so.55: cannot
open shared object file: No such file or directory
How can i fix this issue?
Thanks.
You can manually download the good .dep
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7_amd64.deb
Then you run:
sudo dpkg -i libicu55_55.1-7_amd64.deb
If it miss some dependency:
sudo apt-get -f install
It has worked for me.
Your can find the other architecture on the debian package website :
https://packages.debian.org/sid/libicu55
p.s: I know this is on SID, but this is the only version that I found
*note...packages may have been removed
Your system lacks a critical component for building Swift, libicu-dev.
Install this:
sudo apt-get install libicu-dev
But that was for building Swift from source. You were talking about building with Swift, my apologies.
Unfortunately it seems it won't work either: Swift for Linux only officially runs on Ubuntu 15.10 and 14.04, and you tell me in the comments that you're running 15.04.
I know there's tutorials on the web on how to make it work on Mint and other distros... But the best would be, if possible, that you update your install of course.
I searched on the net and find a list in debian packages that shows the libicuuc.so.55 file.
apt-get install libicu55
Will resolve the issue.
hallow_me's link to download libicu55_55.1-7_amd64.deb doesn't work.
Here are the latest links https://packages.debian.org/stretch/amd64/libicu57/download
Like
wget http://ftp.us.debian.org/debian/pool/main/i/icu/libicu55_55.1-7_amd64.deb
Then follow hallow_me's instruction to install it.
Try the followings lines
echo "deb http://security.ubuntu.com/ubuntu xenial-security main" | sudo tee --append /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libicu55

In Centos 6.4,when configure Emacs

In Centos 6.4,when configure Emacs,it shows:
configure: error: The required function `tputs' was not found in any library.
The following libraries were tried (in order):
libtinfo, libncurses, libterminfo, libtermcap, libcurses
Please try installing whichever of these libraries is most appropriate
for your system, together with its header files.
For example, a libncurses-dev(el) or similar package.
How to fix it,what's the problem in it.
sudo yum install ncurses-devel
then ./configure again
Try to install libncurses-dev with
bash
apt-get install libncurses-dev
I'm on a Debian Wheezy derived distribution (CrunchBang)
Trying to install Emacs 24.5.1
Had to install libncurses5-dev, then run ./configure
$ sudo apt-get install ncurses-devel
...
E: Unable to locate package ncurses-devel
$ sudo apt-get install libncurses5-dev