Skip to content

Instantly share code, notes, and snippets.

@makeittotop
Forked from benbridts/examentool.sh
Last active August 22, 2016 07:50
Show Gist options
  • Save makeittotop/5e181a3c3be92aba93bbeffa8637b976 to your computer and use it in GitHub Desktop.
Save makeittotop/5e181a3c3be92aba93bbeffa8637b976 to your computer and use it in GitHub Desktop.
Examentool on fedora
##############
# xprintidle #
##############
# install xprintidle dependencies
sudo yum -y install libXScrnSaver-devel libX11-devel
# download xprintidle source
wget https://launchpad.net/ubuntu/+archive/primary/+files/xprintidle_0.2.orig.tar.gz
# extract
tar -xf xprintidle_0.2.orig.tar.gz
cd xprintidle-0.2/
# setting of $xlibraries in ./configure doesn't work.
# remove it from the script
sed -i 's/^LIBS="\$LIBS -L\$x_libraries"$/LIBS="\$LIBS"/' configure
# pass the libraries to ./configure
./configure --with-x LDFLAGS='-L/lib64 -lX11 -lXext'
# build it
make
# install it
sudo make install
##############
# examentool #
##############
cd ~/Desktop
# install dependencies
sudo yum -y install ffmpeg
sudo yum -y install mono-core mono-addins mono-data mono-data-sqlite \
mono-extras mono-mvc mono-nunit mono-wcf mono-web mono-winforms mono-winfx
# download examentool.exe from blackboard
# doing this in your browser is the easy way
# run it
sudo mono examentool.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment