- ArchPKGs
- A Quick Tutorial on Installing android-ndk-21 on Arch Linux/Manjaro/ArcoLinux
- Table of Contents
- Install link
- Install with Pacman (Package Manager) link
- Install with Yay (AUR Helper) link
- Update link
- Update with Pacman (Package Manager) link
- Update with Yay (AUR Helper) link
- Uninstall link
- Remove with Pacman (Package Manager) link
- Remove with Yay (AUR Helper) link
- More Guides
- Full Tutorial on artwork-maia Installation on Arch Linux (Manjaro/BlackArch)
- Installing ttf-tahoma with Command Line on Arch Linux, Manjaro and RebornOS
- python-flask-moment Install, Update and Remove Guide on Arch Linux/Manjaro/BlackArch
- A Straightforward Tutorial on pgmodeler-git Installation on Arch Linux/Manjaro/EndeavourOS
- Beginner’s Guide on Installing mingw-w64-nlopt on Arch Linux, Manjaro and RebornOS
- Installing qgnomeplatform-git with CLI on Arch Linux, Manjaro and RebornOS
- How To Install google-android-ndk-installer on Ubuntu 20.04
- Introduction
- What is google-android-ndk-installer
- Install google-android-ndk-installer Using apt-get
- Install google-android-ndk-installer Using apt
- Install google-android-ndk-installer Using aptitude
- How To Uninstall google-android-ndk-installer on Ubuntu 20.04
- Uninstall google-android-ndk-installer And Its Dependencies
- Remove google-android-ndk-installer Configurations and Data
- Remove google-android-ndk-installer configuration, data, and all of its dependencies
- References
- Summary
- How to install Android NDK on Ubuntu Linux ?
ArchPKGs
A Quick Tutorial on Installing android-ndk-21 on Arch Linux/Manjaro/ArcoLinux
According to android-ndk-21 ‘s own outline, it’s «Android C/C++ developer kit». To get this package ( android-ndk-21 ) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distros (e.g. Manjaro, EndeavourOS, Anarchy, RebornOS) is quite simple. This tutorial will be covering how to install, update and uninstall the package with either the default package manager pacman or an AUR helper (e.g. yay ).
Table of Contents
Install link
Two typical ways are used to install android-ndk-21 from AUR. pacman is what you are looking for if you’re a veteran in Arch Linux and understand the concept of how packages are built. Otherwise, yay is a convenient alternative to install packages without the hassle of reviewing PKGBUILD and build packages with makepkg by yourself.
Install with Pacman (Package Manager) link
sudo pacman -S --needed git && git clone https://aur.archlinux.org/android-ndk-21.git && cd android-ndk-21 && makepkg -si
- Install git if needed (not installed before).
- clone the package’s git repository from upstream URL.
- cd into the directory that we just cloned.
- Use makepkg to build the package. Also, it will automatically be installed with pacman afterwards.
Install with Yay (AUR Helper) link
yay -S android-ndk-21
Update link
Just like installing AUR packages, updating them is practically the same. All you have to do is pull it from upstream then re-build it. Yet, it is still a good practice to upgrade your whole system first with sudo pacman -Syu before updating any packages to avoid dependency issues, since Arch is a rolling-release Linux distro.
Update with Pacman (Package Manager) link
git pull && makepkg -si
- pull from the package’s git repository.
- Build the package with makepkg , then update it with pacman .
Update with Yay (AUR Helper) link
Uninstall link
Compared to installing and updating packages, removing is the simplest of these three,all you need to do is choose whether to purge the dependencies that no longer required by other packages and the configuration files used by the package.
Remove with Pacman (Package Manager) link
sudo pacman -R android-ndk-21
sudo pacman -Rs android-ndk-21
sudo pacman -Rns android-ndk-21
Remove with Yay (AUR Helper) link
yay -R android-ndk-21
yay -Rs android-ndk-21
yay -Rns android-ndk-21
For more details about AUR packages installation or how to get yay , please refer to Two Ways to Install Packages from AUR.
More Guides
Full Tutorial on artwork-maia Installation on Arch Linux (Manjaro/BlackArch)
artwork-maia is «Maia artwork meta-package» referring to its own description. To install or uninstall artwork-maia from AUR (Arch User Repository) on Arch Linux and Arch-based distros (e.g. Manjaro, EndeavourOS, Garuda, Artix) is fairly uncomplicated. This tutorial will cover how to install, update and uninstall the package with either the default package manager pacman or an AUR helper (e.g. yay).
Installing ttf-tahoma with Command Line on Arch Linux, Manjaro and RebornOS
«Tahoma and Tahoma Bold fonts from the Wine project» is the maintainer’s profile of ttf-tahoma. To install ttf-tahoma from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, BlackArch, Anarchy and ArcoLinux is pretty easy. This guide will taught you how to install/update/uninstall the package with either the built-in package manager pacman or an AUR helper (e.g. yay).
python-flask-moment Install, Update and Remove Guide on Arch Linux/Manjaro/BlackArch
«Formatting of dates and times in Flask templates using moment.js» is the developer’s description of python-flask-moment. To get this package (python-flask-moment) from AUR (Arch User Repository) on Arch Linux and Arch-based distros (e.g. Manjaro, EndeavourOS, Anarchy, Garuda) is relatively uncomplicated. This guide will be covering how to install, update and remove the package with either the built-in package manager pacman or an AUR helper like yay.
A Straightforward Tutorial on pgmodeler-git Installation on Arch Linux/Manjaro/EndeavourOS
According to pgmodeler-git’s own outline, it’s «PostgreSQL Database Modeler». To install and update pgmodeler-git from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS and Parabola is comparatively easy. This guide will be covering how to install/update/remove the package with either the built-in package manager pacman or an AUR helper like yay.
Beginner’s Guide on Installing mingw-w64-nlopt on Arch Linux, Manjaro and RebornOS
Quoting from mingw-w64-nlopt’s description, it’s «nonlinear optimization library (mingw-w64)». To install and update mingw-w64-nlopt from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Garuda, ArcoLinux and Artix is pretty straightforward. This tutorial will be covering how to install/update/remove the package with either the default package manager pacman or an AUR helper (e.g. yay).
Installing qgnomeplatform-git with CLI on Arch Linux, Manjaro and RebornOS
Referring to qgnomeplatform-git’s own definition, it’s «Qt Platform Theme aimed to accomodate as much of GNOME settings as possible». To install or uninstall this package (qgnomeplatform-git) from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, BlackArch, Garuda and Parabola is relatively uncomplicated. This guide will show you step-by-step how to install, update and uninstall the package with either the default package manager pacman or an AUR helper like yay.
More guides… copyright 2023 ArchPKGs. All Rights Reserved.
How To Install google-android-ndk-installer on Ubuntu 20.04
In this tutorial we learn how to install google-android-ndk-installer on Ubuntu 20.04. google-android-ndk-installer is Google Android Native Development Kit (NDK) Installer 15c1b9e939681b58e29c5fb373c5d921
Introduction
In this tutorial we learn how to install google-android-ndk-installer on Ubuntu 20.04.
What is google-android-ndk-installer
This package will download the Google Android NDK package and create a Debian package.
The Android NDK is a toolset that lets you implement parts of your app using native-code languages such as C and C++. For certain types of apps, this can help you reuse existing code libraries written in those languages.
WARNING: Installing this Debian package causes android-ndk-r12-linux-x86_64.zip to be downloaded from dl.google.com and/or from other suggested mirrors. The End User License Agreement of this binary package is available at developer.android.com. Description-md5: 15c1b9e939681b58e29c5fb373c5d921
There are three ways to install google-android-ndk-installer on Ubuntu 20.04. We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.
Install google-android-ndk-installer Using apt-get
Update apt database with apt-get using the following command.
After updating apt database, We can install google-android-ndk-installer using apt-get by running the following command:
sudo apt-get -y install google-android-ndk-installer
Install google-android-ndk-installer Using apt
Update apt database with apt using the following command.
After updating apt database, We can install google-android-ndk-installer using apt by running the following command:
sudo apt -y install google-android-ndk-installer
Install google-android-ndk-installer Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
After updating apt database, We can install google-android-ndk-installer using aptitude by running the following command:
sudo aptitude -y install google-android-ndk-installer
How To Uninstall google-android-ndk-installer on Ubuntu 20.04
To uninstall only the google-android-ndk-installer package we can use the following command:
sudo apt-get remove google-android-ndk-installer
Uninstall google-android-ndk-installer And Its Dependencies
To uninstall google-android-ndk-installer and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove google-android-ndk-installer
Remove google-android-ndk-installer Configurations and Data
To remove google-android-ndk-installer configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge google-android-ndk-installer
Remove google-android-ndk-installer configuration, data, and all of its dependencies
We can use the following command to remove google-android-ndk-installer configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge google-android-ndk-installer
References
Summary
In this tutorial we learn how to install google-android-ndk-installer package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.
How to install Android NDK on Ubuntu Linux ?
The Android NDK is a toolset that lets you implement parts of your app in native code, using languages such as C and C++. For certain types of apps, this can help you reuse code libraries written in those languages.
To install and configure the NDK, follow these steps:
Download android ndk Linux 64 bit from http://developer.android.com/ndk/downloads/index.html , when we written this post, the latest Android version is R23B, which we downloaded and copied to /home/myuser/Android directory. Now, Lets extract this zip as,
$ unzip android-ndk-r23b-linux.zip
This will extract as “Extracting android-ndk-r23b” into folder “android-ndk-r23b” in ~/Android directory. When uncompressed, the NDK files are contained in a directory called android-ndk- . You can rename the NDK directory if necessary and you can move it to any location on your computer.
Export the NDK path into environment variables,
$ export PATH=$PATH:/home/myuser/Android/android-ndk-r23b
OR You can also edit your ~/.bashrc file and append above line to add NDK permanently to your path to avoid typing above command always.
Check if ndk-build is added to environment,
$ which ndk-build /home/myuser/Android/android-ndk-r23b/ndk-build
Sometimes, you may need to set NDK_HOME evnvironment variable which you can do the same way as above,
$ export NDK_HOME=/home/myuser/Android/android-ndk-r23b