command to install 32bit packages (lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6) on ubuntu 16.4 LTS

i want to install android studio 2.1 on my Ubuntu 16.4 LTS 64 bit so i follow the instructions on android developer guide web sit provided by google .. and they say i should install 32 bit libraries because android studio use them .

my problem is when i type the command :

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

i got this error :

Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package lib32bz2-1.0 E: Couldn't find any package by glob 'lib32bz2-1.0' E: Couldn't find any package by regex 'lib32bz2-1.0' 

Replay

You should keep your system free from 32-bit software. 32-bit is on the way out and never to come back. Get used to 64-bit. If possible ignore 32-bit software. Now that my opinion is out here ...

Your best method is it to install virtualBox or VM Ware player and install a 32-bit Ubuntu (links to the torrent of 32-bit 16.04.1) in it. Then install android studio. It will work better than mixing it up with your current install.



If you still want to install it in your current system then the method to install 32-bit should be to add the architecture, update and it then should have imported the 32-bit packagea,

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1

This will show ...

...
The following additional packages will be installed:
  gcc-5-base:i386 gcc-6-base:i386 libgcc1:i386 libgpm2:i386 libtinfo5:i386
Suggested packages:
  glibc-doc:i386 locales:i386
The following NEW packages will be installed:
  gcc-5-base:i386 gcc-6-base:i386 libc6:i386 libgcc1:i386 libgpm2:i386
  libncurses5:i386 libstdc++6:i386 libtinfo5:i386
0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
Need to get 2960 kB of archives.
After this operation, 12,9 MB of additional disk space will be used.

And that should install the 32-bit components you need for android studio.

Category: 16.04 Time: 2016-07-29 Views: 1

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.148 (s). 12 q(s)