Termux

Termux

Termux is an Android terminal emulator and Linux environment app that allows users to run a Linux-like command-line interface on their Android devices.

It provides a full Linux distribution, including package management, to enable users to install and run various Linux software packages and utilities on their mobile devices.

Termux is particularly popular among users who are interested in programming, scripting, and ethical hacking on the go.

Some useful Linux commands to use in Termux include:

  • Package Management Commands:

    • pkg clean: Removes packages no longer needed.

    • pkg update: Updates Termux packages.

    • pkg upgrade: Upgrades Termux packages.

    • pkg search PACKAGE_NAME: Allows you to search for a specific package.

    • pkg install PACKAGE_NAME: Installs a package.

    • pkg uninstall PACKAGE_NAME: Uninstalls a package.

  • Basic Shell Commands:

    • ls: Lists files and directories.

    • mkdir NEW_DIRECTORY_NAME: Creates a new directory.

    • rmdir DIRECTORY_NAME: Removes a directory.

    • cd DIRECTORY_NAME: Changes the directory.

    • pwd: Prints the current working directory.

  • File Management Commands:

    • cp: Copies files from one directory to another.

    • rm FILENAME: Deletes a file.

    • touch FILENAME: Creates a new file.

    • mv: Moves a file from source to destination.

    • ls: Lists information about files and directories within the file system.

To install additional packages in Termux, you can follow these steps:

  1. Update Termux packages:

     pkg update
    
  2. Upgrade Termux packages:

     pkg upgrade
    
  3. Install specific packages like Python, Git, and wget:

     pkg install python
     pkg install git
     pkg install wget
    
  4. To uninstall a package:

     pkg uninstall PACKAGE_NAME
    
  5. To view all installed packages:

     pkg list-installed
    
  6. To search for a specific package:

     pkg search PACKAGE_NAME
    

These commands will help you manage and install additional packages in Termux efficiently