Trying to install android-tools-adb and getting unable to locate package

31,295

Solution 1

Don't know why this hadn't been put as an answer, I just put it here from Charles Green excellent comment.

android-tools-adb and android-tools-fastboot are in the universe repository. You can enable it in Software Center or just hit this one-liner which will enable and install everything.

sudo add-apt-repository universe && sudo apt-get update && sudo apt-get install android-tools-adb android-tools-fastboot

Solution 2

I had to slightly tweak the suggested command from Suncatcher. The following worked for me:

sudo add-apt-repository universe && sudo apt-get update && android-tools-fastboot

and then use:

sudo apt-get install android-tools-adb

Solution 3

You can manually download and install it via a deb file from here.

Share:
31,295

Related videos on Youtube

Suncatcher
Author by

Suncatcher

And God said, “Let there be SAP,” and there was SAP. God saw that the SAP was good, and he separated the ABAP from the COBOL. God called the ABAP “light,” and the COBOL he called “darkness” And there was evening, and there was morning — the first day.

Updated on September 18, 2022

Comments

  • Suncatcher
    Suncatcher over 1 year

    I wasn't able to install these packages when I used

    sudo apt-get install android-tools-adb 
    

    I get

    unable to locate package android-tools-adb 
    

    Can you help, please?

    • Charles Green
      Charles Green almost 7 years
      The package should be located in the universe collections of Ubuntu. Check your software & updates to ensure that the 'community-maintained free and open-source software (universe)' collection is checked, and then perform sudo apt-get update and try to re-install.
  • user3802905
    user3802905 about 2 years
    The link is dead.
  • DIRTY DAVE
    DIRTY DAVE about 2 years
    This fixed the issue for me. Thanks