How to install RAR (WinRAR) on Ubuntu 16.04

# compile mkdir -p “$HOME/tmp/tar_gz” cd “$HOME/tmp/tar_gz” if [[ ! -f “$HOME/tmp/tar_gz/rarlinux-x64-5.5.0.tar.gz” ]]; then wget -O “$HOME/tmp/tar_gz/rarlinux-x64-5.5.0.tar.gz” “https://www.rarlab.com/rar/rarlinux-x64-5.5.0.tar.gz” fi tar xf “$HOME/tmp/tar_gz/rarlinux-x64-5.5.0.tar.gz” cd “$HOME/tmp/tar_gz/rar” # install sudo make install sudo ldconfig

How to install QPDF on Ubuntu 16.04

# compile mkdir -p “$HOME/tmp/tar_gz” cd “$HOME/tmp/tar_gz” if [[ ! -f “$HOME/tmp/tar_gz/release-qpdf-7.1.1.tar.gz” ]]; then wget -O “$HOME/tmp/tar_gz/release-qpdf-7.1.1.tar.gz” “https://github.com/qpdf/qpdf/archive/release-qpdf-7.1.1.tar.gz” fi tar xf “$HOME/tmp/tar_gz/release-qpdf-7.1.1.tar.gz” cd “$HOME/tmp/tar_gz/qpdf-release-qpdf-7.1.1/” make clean make distclean ./autogen.sh ./configure –enable-doc-maintenance make # install sudo make install sudo ldconfig

How to install pip on Ubuntu 16.04

cd “$HOME” wget -O “$HOME/get-pip.py” “https://bootstrap.pypa.io/get-pip.py” sudo python2 “$HOME/get-pip.py” sudo python3 “$HOME/get-pip.py” sudo sed -i — ‘s/#\!\/usr\/bin\/python3/#\!\/usr\/bin\/python2/g’ “/usr/local/bin/pip” sudo sed -i — ‘s/#\!\/usr\/bin\/python/#\!\/usr\/bin\/python2/g’ “/usr/local/bin/pip” sudo sed -i — ‘s/#\!\/usr\/bin\/python22/#\!\/usr\/bin\/python2/g’ “/usr/local/bin/pip”

How to install PostgreSQL 10 on Ubuntu 16.04

if [[ -d /var/lib/postgresql ]]; then cd /var/lib/postgresql fi sudo apt-get remove –purge postgresql postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common postgresql-contrib-9.5 postgresql-9.6 postgresql-client-9.6 postgresql-contrib-9.6 pgadmin3 phppgadmin sudo apt-get autoremove -y echo ‘deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main’ | sudo tee ‘/etc/apt/sources.list.d/pgdg.list’ wget –quiet -O – https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add – sudo apt-get update package_policy=$(sudo apt-cache policy postgresql-contrib-10) if… Continue reading How to install PostgreSQL 10 on Ubuntu 16.04

How to install PostgreSQL 9.6 on Ubuntu 16.04

if [[ -d /var/lib/postgresql ]]; then cd /var/lib/postgresql fi sudo apt-get remove –purge postgresql postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common postgresql-contrib-9.5 postgresql-10 postgresql-client-10 postgresql-contrib-10 pgadmin3 phppgadmin sudo apt-get autoremove -y echo ‘deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main’ | sudo tee ‘/etc/apt/sources.list.d/pgdg.list’ wget –quiet -O – https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add – sudo apt-get update sudo apt-get install -y postgresql-client-9.6… Continue reading How to install PostgreSQL 9.6 on Ubuntu 16.04

How to install phppgadmin on Ubuntu 16.04

# apt sudo apt-get install -y phppgadmin # sed sudo sed -i — ‘s/function ArrayRecordSet(/function __construct(/g’ ‘/usr/share/phppgadmin/classes/ArrayRecordSet.php’ sudo sed -i — ‘s/function XHtmlSimpleElement(/function __construct(/g’ ‘/usr/share/phppgadmin/classes/class.select.php’ sudo sed -i — ‘s/function Gui(/function __construct(/g’ ‘/usr/share/phppgadmin/classes/Gui.php’ sudo sed -i — ‘s/function GUI(/function __construct(/g’ ‘/usr/share/phppgadmin/classes/Gui.php’ sudo sed -i — ‘s/function Gui (/function __construct(/g’ ‘/usr/share/phppgadmin/classes/Gui.php’ sudo sed -i — ‘s/function… Continue reading How to install phppgadmin on Ubuntu 16.04

How to install OptiPNG on Ubuntu 16.04

# compile mkdir -p “$HOME/tmp/tar_gz” cd “$HOME/tmp/tar_gz” if [[ ! -f “$HOME/tmp/tar_gz/optipng-0.7.7.tar.gz” ]]; then wget -O “$HOME/tmp/tar_gz/optipng-0.7.7.tar.gz” “http://prdownloads.sourceforge.net/optipng/optipng-0.7.7.tar.gz” fi tar xf “$HOME/tmp/tar_gz/optipng-0.7.7.tar.gz” cd “$HOME/tmp/tar_gz/optipng-0.7.7” make clean make distclean ./configure make # install sudo make install sudo ldconfig

How to install Net_LDAP3 on Ubuntu 16.04

if [[ -d “$HOME/tmp/git/php-net_ldap” ]]; then cd “$HOME/tmp/git/php-net_ldap” git pull else mkdir -p “$HOME/tmp/git” cd “$HOME/tmp/git” git clone “https://git.kolab.org/diffusion/PNL/php-net_ldap.git” cd “$HOME/tmp/git/php-net_ldap” fi cd “$HOME/tmp/git/php-net_ldap/lib/Net” sudo mkdir -p “/usr/share/php/Net” sudo cp LDAP3.php “/usr/share/php/Net” sudo cp -r LDAP3 “/usr/share/php/Net” sudo cp -r . “/usr/share/php/Net”

How to install MongoDB on Ubuntu 16.04

MongoDB 3.6 Ubuntu Install sudo mkdir -p “/etc/apt/sources.list.d” echo “deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse” | sudo tee “/etc/apt/sources.list.d/mongodb-org-3.6.list” sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 sudo apt-get update sudo apt-get install -y mongodb-org MongoDB 3.4 Ubuntu Install sudo mkdir -p “/etc/apt/sources.list.d” echo “deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse” | sudo tee “/etc/apt/sources.list.d/mongodb-org-3.4.list”… Continue reading How to install MongoDB on Ubuntu 16.04

How to install megatools on Ubuntu 16.04

# apt sudo apt-get install -y autoconf build-essential libglib2.0-dev libssl-dev libcurl4-openssl-dev libgirepository1.0-dev asciidoc # compile if [[ -d “$HOME/tmp/git/megatools” ]]; then cd “$HOME/tmp/git/megatools” git pull else mkdir -p “$HOME/tmp/git” cd “$HOME/tmp/git” git clone “https://github.com/megous/megatools.git” cd “$HOME/tmp/git/megatools” fi make clean make distclean ./autogen.sh ./configure make if [[ $? -eq 2 ]]; then make clean make distclean… Continue reading How to install megatools on Ubuntu 16.04