Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Charles Proxy 4 in Ubuntu 16.04

I was able to install Charles Proxy 3 (sudo apt install charles-proxy3) but unable to find the package for 4.

https://www.charlesproxy.com/documentation/installation/apt-repository/

like image 724
Rpj Avatar asked May 10 '17 13:05

Rpj


People also ask

How do I download Charles Proxy on Ubuntu?

To install Charles 3, use the package charles-proxy3. You can have both Charles 4 and Charles 3 installed at the same time. The package creates a "charles3" command in /usr/bin, and adds Charles in your application menues in your window manager.

How do I install a Charles certificate?

On your phone use the file manager app and, Go to Settings > Security > Install from storage. Locate your certificate file and install it. Again, if the certificate can not be accessed, try downloading it again.

How do I enable SSL proxy in Charles?

Set up Charles Proxy Expand the Trust section, and ensure all options are set to Always Trust and close the dialog box. Click Settings > Proxy Settings and note the port number that appears. In the Charles app, click Proxy > SSL Proxying Settings. Under the SSL Proxying tab, select the Enable SSL Proxying option.


2 Answers

Install GPG public key

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

Add repo to your sources -

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

update 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.

Verify -

athakur@athakur-Inspiron-7560:~$ charles -version
Charles Proxy 4.2.1
like image 175
Aniket Thakur Avatar answered Oct 21 '22 12:10

Aniket Thakur


You'll have to perform a manual installation, as it is not yet in the Debian repositories. To do so, just download the tarball from https://www.charlesproxy.com/download/, extract it with

tar xvzf charles-proxy-4.1.3_amd64.tar.gz

and run the /bin/charles binary with:

cd charles/bin
sudo ./charles

You may then uninstall charles3 from your computer by:

sudo apt-get remove charles-proxy
like image 36
Lluís Suñol Avatar answered Oct 21 '22 12:10

Lluís Suñol