Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sources.list #33255

Open
notebook-t opened this issue Jun 23, 2024 · 0 comments
Open

sources.list #33255

notebook-t opened this issue Jun 23, 2024 · 0 comments

Comments

@notebook-t
Copy link

The file /data/data/com.termux/files/usr/etc/apt/sources.list on Termux is used to define the repositories from which packages are downloaded and installed. Below is the typical content of this file:

# The main termux repository:
deb [trusted=yes] https://packages.termux.dev/apt/termux-main stable main

To view or edit this file, you can use a text editor like nano or vim. Here’s how you can do it:

  1. Open the file using mail:

    main /data/data/com.termux/files/usr/etc/apt/sources.list
  2. Make your changes (if any). For example, you can add or update repository links.

  3. Save and exit:

    • Press Ctrl + X to exit.
    • Press Y to confirm saving changes.
    • Press Enter to save the file with the existing name.

Remember to be cautious while editing this file, as incorrect entries can cause issues with package management in Termux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant