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
Advertisements
# 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
 # Supported CCID readers: http://pcsclite.alioth.debian.org/ccid/section.html 
 # bash shell script
 # Prerequisites: Ubuntu 16.04.2 LTS 64-bit or newer (LiveUSB session
 # or installed on HD/SSD), newest version of Mozilla Firefox 
 # (version 54.0 or newer), Ubuntu packages in bash shell script below
 # install prerequisites for compiling eid-mw from Github
 sudo rm /etc/apt/sources.list.d/eid.list
 sudo touch /etc/apt/sources.list.d/eid.list
 sudo sh -c 'echo "deb http://files.eid.belgium.be/debian xenial main" >> /etc/apt/sources.list.d/eid.list'
 sudo sh -c 'echo "deb http://files2.eid.belgium.be/debian xenial main" >> /etc/apt/sources.list.d/eid.list'
 cd
 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 63F7D4AFF6D61D45 A35743EA6773D225 F9FDA6BED73CDC22 3B4FE6ACC0B21F32 4E940D7FDD7FB8CC A040830F7FAC5991 16126D3A3E5C1192
 sudo DEBIAN_FRONTEND=noninteractive add-apt-repository --yes ppa:gertvdijk/opensc-backports
 sudo DEBIAN_FRONTEND=noninteractive apt --yes --force-yes remove --purge beid*
 sudo DEBIAN_FRONTEND=noninteractive apt update
 sudo DEBIAN_FRONTEND=noninteractive apt install aptitude
 sudo aptitude install usbutils pciutils eid-mw eid-viewer apt firefox pcscd default-jre opensc libacr38u libacr38ucontrol0 libacsccid1 libccid libusb-1.0-0 libpcsclite1 libpcsclite-dev pcsc-tools ca-certificates libtool autoconf automake checkinstall git libgtk-3-dev libxml++2.6-dev libproxy-dev openssl libssl-dev libcurl4-openssl-dev
 sudo update-pciids
 sudo update-usbids
 # compile and install newest version of eid-mw using Github
 cd
 sudo rm -rf eid-mw
 git clone https://github.com/Fedict/eid-mw.git
 cd eid-mw/
 autoreconf -i
 ./configure
 make
 sudo checkinstall
 # press 2 and change eid package name to eid-mw and hit ENTER key
 # press 3 and change version to 4.2.10 and hit ENTER key
 # Ensure that there are absolutely NO add-on EXTENSIONS installed in the Mozilla Firefox webbrowser
 # The add-on PLUGINS like Citrix Receiver for Linux,OpenH264 and Shockwave Flash plugins can remain active in Mozilla Firefox, as they do not seem to interfere with the eid card reader.
 # Close all web browser windows. Restart Mozilla Firefox browser and test eid card reader.