Termux-app: How to add custom repository?

Created on 2 Apr 2017  路  7Comments  路  Source: termux/termux-app

Hello, I would like to add some packages, but I can't

I run in Termux:

apt install python-dev libxml2-dev libxslt1-dev zlib1g-dev

But I get

Unable to locate package libxslt1-dev
Unable to locate package zlib1g-dev

驴How can I add custom sources-list to Termux?

Most helpful comment

@fornwall Yes, you should list them somewhere or add compatibility for Debian sources. That would be great.

All 7 comments

Install libxslt-dev
and zlib-dev is in ndk-sysroot package
Anyway stuff about termux-packages belongs in github.com/termux/termux-packages

As @its-pointless says, in Termux the package is libxslt-dev (we generally avoid version numbers in package names).

Zlib is part of the Android platform, so you get that one for free and can compile against it as long as you have clang installed.

Third party repositories can be added by editing $PREFIX/etc/apt/sources.list, but note that you cannot use Debian repositories but must use repositories specific to Termux - there aren't that many around yet (but we should probably have a central place for listing them soon).

Many thanks for your responses! And many thanks for Termux too, it is awesome

@fornwall Yes, you should list them somewhere or add compatibility for Debian sources. That would be great.

Somebody can help me? my public key is missing, i can't update using original termux's repo

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rjsteinert picture rjsteinert  路  4Comments

ngroup picture ngroup  路  5Comments

christianrondeau picture christianrondeau  路  4Comments

coreyreichle picture coreyreichle  路  3Comments

TheNickVendetta picture TheNickVendetta  路  4Comments