Posts Tagged ‘xenial’

# how to compile and install newest version of 
# proftpd 
# in Ubuntu 16.04 LTS 64-bit:
sudo apt-get update
sudo apt-get install checkinstall build-essential
sudo apt-get build-dep proftpd-dfsg proftpd-basic 
sudo apt-get purge proftpd-basic
cd
sudo rm -rf proftpd
git clone https://github.com/proftpd/proftpd
cd proftpd
sudo ./configure
sudo make clean
sudo make
sudo checkinstall
# type 3 and hit  to enter 1.3.5b as the software version
apt-cache show proftpd
# Terminal output of 'apt-cache show proftpd' should be similar to this:
# Package: proftpd
# Status: install ok installed
# Priority: extra
# Section: checkinstall
# Installed-Size: 8492
# Maintainer: root
# Architecture: amd64
# Version: 1.3.5b-1
# Provides: proftpd
# Description: Package created with checkinstall 1.6.2
# Description-md5: 556b8d22567101c7733f37ce6557412e
# Livestreamer Twitch GUI - A multi platform Twitch.tv browser for Livestreamer
# bash install script
sudo apt-get update
sudo apt-get install livestreamer x11-utils xdg-utils git
cd
sudo rm -rf livestreamer-twitch-gui
git clone https://github.com/bastimeyer/livestreamer-twitch-gui.git
cd livestreamer-twitch-gui/
sudo npm install -g grunt bower grunt-cli
npm install qunit phantomjs
npm update
bower install
grunt release
grunt
# the grunt command replaces the use of the following command:
# ~/livestreamer-twitch-gui/build/releases/livestreamer-twitch-gui/linux64/livestreamer-twitch-gui
 ###############################################################
# install recommended Java version for OmegaT
 ###############################################################
 sudo add-apt-repository ppa:webupd8team/java
 sudo apt-get update
 # uninstall Java 9 which is currently incompatible with OmegaT:
 sudo apt-get purge icedtea-netx oracle-java9-installer
 sudo apt-get build-dep ant omegat
 sudo apt-get install icedtea-netx oracle-java8-installer
 export JAVA_HOME=/usr/lib/jvm/java-8-oracle
 java -version
 # Terminal output should be similar to this:
 # java version "1.8.0_111"
 # Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
 # Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
 ###############################################################
 # install newest version of OmegaT
 ###############################################################
 cd
 sudo rm -rf OmegaT
 git clone https://github.com/OmegaT-Project/OmegaT
 cd OmegaT
# OmegaT switched from the ant to the gradlew build system in 2016:
./gradlew clean
./gradlew buildNeeded
./gradlew check
# gradlew check Terminal output should look like this:
# :compileJava UP-TO-DATE
# :processResources UP-TO-DATE
# :classes UP-TO-DATE
# :compileTestJava UP-TO-DATE
# :processTestResources UP-TO-DATE
# :testClasses UP-TO-DATE
# :test UP-TO-DATE
# :check UP-TO-DATE
# :release:WebStart-specific:check UP-TO-DATE
# BUILD SUCCESSFUL
# Total time: 1.053 secs
./gradlew run
 # installed OmegaT version should be 4.0.1 or higher