Profanity/Installing/Ubuntu

From MattWiki
Jump to: navigation, search
noteThis Page was written with Ubuntu 16.04 LTS in mind, and may not work correctly with other versions or distributions.

On a fresh Ubuntu install, first install the dependencies

apt install automake autoconf autoconf-archive libtool pkg-config libncursesw5-dev \
libglib2.0-dev libcurl3-dev libreadline-dev libotr5-dev python-dev

Install libstrophe

mkdir -p /var/src && cd /var/src/
git clone https://github.com/strophe/libstrophe.git

First run `bootstrap.sh` to reconfigure the environment.

./bootstrap.sh

Configure the environment to confirm everything is in place.

./configure

Then build and install libstrophe.

make && make install

Install Profanity

mkdir -p /var/src && cd /var/src/ && \
wget -qc http://www.profanity.im/profanity-0.5.1.tar.gz && \
tar -xzf profanity-0.5.1.tar.gz && \
cd profanity-0.5.1/

First run `bootstrap.sh` to reconfigure the environment.

./bootstrap.sh

Configure the environment to confirm everything is in place.

./configure

Then build and install Profanity.

make && make install

All as one command

Installing libstrophe

mkdir -p /var/src && cd /var/src/ && git clone https://github.com/strophe/libstrophe.git && \
cd libstrophe && ./bootstrap.sh && ./configure && make && make install

Install Profanity

mkdir -p /var/src && cd /var/src/ && wget -qc http://www.profanity.im/profanity-0.5.1.tar.gz && \
tar -xzf profanity-0.5.1.tar.gz && cd profanity-0.5.1/ && ./bootstrap.sh && ./configure && make && make install