Skip to content →

APT repository

Charles has an APT repository for Debian-based Linux distributions.

NB: The keys for the repo changed on 26 July 2016, to utilise a larger key size and stronger digests. Existing users of the APT repository will need to import the new public key. The new public key is at the same URL as the old public key, therefore repeat the apt-key add step below to add it. Finally, run apt-get update to use the new key.

First install the GPG public key for the repository so you can verify that the packages are correctly signed. The current public key id is 1AD28806 and its fingerprint is 4BA7 DB85 7B57 0089 7420  96E1 5F16 B97C 1AD2 8806:

wget -q -O - https://www.charlesproxy.com/packages/apt/PublicKey | sudo apt-key add -

or alternatively:

apt-key adv --keyserver pgp.mit.edu --recv-keys 1AD28806

Then add the repository to your sources. Note there are different distributions for each version of Charles, so please choose the appropriate one.

Charles 4

sudo sh -c 'echo deb https://www.charlesproxy.com/packages/apt/ charles-proxy main > /etc/apt/sources.list.d/charles.list'

Charles 3

sudo sh -c 'echo deb https://www.charlesproxy.com/packages/apt/ charles-proxy3 main > /etc/apt/sources.list.d/charles.list'

Then update your sources and install Charles:

sudo apt-get update
sudo apt-get install charles-proxy

The package creates a "charles" command in /usr/bin, and adds Charles in your application menus in your window manager.

You may also install the beta track of Charles which is called charles-proxy-beta.