Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install Simplicity studio on Ubuntu 15.04 (64-bit) and I get this error

E: Unable to locate package lib32bz2-1.0
E: Couldn't find any package by regex 'lib32bz2-1.0'

I tried to install lib32bz2-1.0 package, again I get the same error. How to install package lib32bz2-1.0 on Ubuntu 15.04(64-bit)

share|improve this question
up vote 19 down vote accepted

Try to install it manually by typing:

sudo apt-get update
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

Update:

if you remove lib32bz2-1.0, it will be installed successfully.

sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6

Otherwise:

sudo dpkg --add-architecture i386

sudo apt-get update

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6:i386 libfontconfig1:i386 libxext6:i386 libxrender1:i386 libgstreamer-plugins-base0.10-0:i386
share|improve this answer
    
I am unable to install lib32bz2-1.0 pakage. I get this error E: Unable to locate package lib32bz2-1.0 E: Couldn't find any package by regex 'lib32bz2-1.0' – Rao Jun 16 '15 at 12:01
4  
The package lib32bz2 appears to have been discontinued after Utopic. My guess is that it has been replaced by a true multiarch (:i386) package - perhaps libbz2-1.0:i386 – steeldriver Jun 16 '15 at 12:13
4  
I installed libbz2-1.0:i386 instead of lib32bz2-1.0... it works now – Rao Jun 16 '15 at 12:31
3  
In Ubuntu 15.10, I just had to edit the setup.sh script in the SimplicityStudio folder and replace there "lib32bz2-1.0" with the suggested "libbz2-1.0:i386". After that, the setup.sh finished successfully. – Michal Fapso May 5 at 19:59

The package (32 bit) you are looking for is libbz2-1.0:i386, its 64 bit version is libbz2-1.0:amd64.

At first enable multi-arch support (if not done already):

sudo dpkg --add-architecture i386

Now run:

sudo apt-get update

You can now install the package by:

sudo apt-get install libbz2-1.0:i386
share|improve this answer

In Ubuntu 16.04 this command works for me:

sudo apt-get install libz1:i386 libncurses5:i386 libbz2-1.0:i386 libstdc++6:i386

FROM: Bad dependency on install command

share|improve this answer
    
Look no further. This is the answer when on Ubuntu 16.04. Thanks @erknrio – jasa Aug 31 at 17:18

This works for me on my Ubuntu 15.04(64-bit)

sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 lib32stdc++6
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.