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












7















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'









share|improve this question


















  • 1





    Don't. Better method: install virtualbox and install a 32-bit version of Ubuntu inside that and use that for coding it. It is far less hassle.

    – Rinzwind
    Jul 29 '16 at 17:49











  • see if my answer works. I did not have a system to test if it did install android studio (so comment/pm me and I will add more).

    – Rinzwind
    Jul 29 '16 at 18:00
















7















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'









share|improve this question


















  • 1





    Don't. Better method: install virtualbox and install a 32-bit version of Ubuntu inside that and use that for coding it. It is far less hassle.

    – Rinzwind
    Jul 29 '16 at 17:49











  • see if my answer works. I did not have a system to test if it did install android studio (so comment/pm me and I will add more).

    – Rinzwind
    Jul 29 '16 at 18:00














7












7








7


5






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'









share|improve this question














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'






16.04 software-installation 64-bit libraries android-studio






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 29 '16 at 17:46









A.YoussoufA.Youssouf

38116




38116








  • 1





    Don't. Better method: install virtualbox and install a 32-bit version of Ubuntu inside that and use that for coding it. It is far less hassle.

    – Rinzwind
    Jul 29 '16 at 17:49











  • see if my answer works. I did not have a system to test if it did install android studio (so comment/pm me and I will add more).

    – Rinzwind
    Jul 29 '16 at 18:00














  • 1





    Don't. Better method: install virtualbox and install a 32-bit version of Ubuntu inside that and use that for coding it. It is far less hassle.

    – Rinzwind
    Jul 29 '16 at 17:49











  • see if my answer works. I did not have a system to test if it did install android studio (so comment/pm me and I will add more).

    – Rinzwind
    Jul 29 '16 at 18:00








1




1





Don't. Better method: install virtualbox and install a 32-bit version of Ubuntu inside that and use that for coding it. It is far less hassle.

– Rinzwind
Jul 29 '16 at 17:49





Don't. Better method: install virtualbox and install a 32-bit version of Ubuntu inside that and use that for coding it. It is far less hassle.

– Rinzwind
Jul 29 '16 at 17:49













see if my answer works. I did not have a system to test if it did install android studio (so comment/pm me and I will add more).

– Rinzwind
Jul 29 '16 at 18:00





see if my answer works. I did not have a system to test if it did install android studio (so comment/pm me and I will add more).

– Rinzwind
Jul 29 '16 at 18:00










1 Answer
1






active

oldest

votes


















10














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.






share|improve this answer


























  • i will use a virtual machine to prevent mixing 32bit with 64bit packages

    – A.Youssouf
    Jul 29 '16 at 18:08











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f804584%2fcommand-to-install-32bit-packages-lib32z1-lib32ncurses5-lib32bz2-1-0-lib32stdc%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









10














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.






share|improve this answer


























  • i will use a virtual machine to prevent mixing 32bit with 64bit packages

    – A.Youssouf
    Jul 29 '16 at 18:08
















10














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.






share|improve this answer


























  • i will use a virtual machine to prevent mixing 32bit with 64bit packages

    – A.Youssouf
    Jul 29 '16 at 18:08














10












10








10







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.






share|improve this answer















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.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 29 '16 at 18:05

























answered Jul 29 '16 at 17:59









RinzwindRinzwind

207k28397528




207k28397528













  • i will use a virtual machine to prevent mixing 32bit with 64bit packages

    – A.Youssouf
    Jul 29 '16 at 18:08



















  • i will use a virtual machine to prevent mixing 32bit with 64bit packages

    – A.Youssouf
    Jul 29 '16 at 18:08

















i will use a virtual machine to prevent mixing 32bit with 64bit packages

– A.Youssouf
Jul 29 '16 at 18:08





i will use a virtual machine to prevent mixing 32bit with 64bit packages

– A.Youssouf
Jul 29 '16 at 18:08


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f804584%2fcommand-to-install-32bit-packages-lib32z1-lib32ncurses5-lib32bz2-1-0-lib32stdc%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido