forked from wwidd/wwidd
-
Notifications
You must be signed in to change notification settings - Fork 1
Install it on ubuntu 7.04
Henrique Lechner edited this page Feb 15, 2016
·
8 revisions
Before start, make sure that your Ubuntu 7.04 are using the active repository. You can use the old-releases.ubuntu.com repository. If you're not using it, consider on use it, you can run the following command to set this repository:
printf "deb http://old-releases.ubuntu.com/ubuntu/ feisty main restricted\ndeb-src http://old-releases.ubuntu.com/ubuntu/ feisty main restricted\ndeb http://old-releases.ubuntu.com/ubuntu/ feisty-updates main restricted\ndeb-src http://old-releases.ubuntu.com/ubuntu/ feisty-updates main restricted\ndeb http://old-releases.ubuntu.com/ubuntu/ feisty universe\ndeb-src http://old-releases.ubuntu.com/ubuntu/ feisty universe\ndeb http://old-releases.ubuntu.com/ubuntu/ feisty multiverse\ndeb-src http://old-releases.ubuntu.com/ubuntu/ feisty multiverse\ndeb http://old-releases.ubuntu.com/ubuntu/ feisty-security main restricted\ndeb-src http://old-releases.ubuntu.com/ubuntu/ feisty-security main restricted\ndeb http://old-releases.ubuntu.com/ubuntu/ feisty-security universe\ndeb-src http://old-releases.ubuntu.com/ubuntu/ feisty-security universe\ndeb http://old-releases.ubuntu.com/ubuntu/ feisty-security multiverse\ndeb-src http://old-releases.ubuntu.com/ubuntu/ feisty-security multiverse\n" | sudo tee /etc/apt/sources.list && sudo apt-get update
--
sudo apt-get install vlc ffmpeg sqlite3 git-core curl build-essential libssl-dev libblkid-dev libvolume-id-dev uuid-dev python-json xdg-utils
mkdir -p ~/util-linux-ng/
cd ~/util-linux-ng/
wget -q https://www.kernel.org/pub/linux/utils/util-linux/v2.13/util-linux-ng-2.13.tar.gz --no-check-certificate
tar -zxvf util-linux-ng-2.13.tar.gz
cd ~/util-linux-ng/util-linux-ng-2.13
./configure
make
sudo cp ~/util-linux-ng/util-linux-ng-2.13/sys-utils/flock /usr/bin/
- if everything went right, remove the util-linux-ng sources:
rm -rf ~/util-linux-ng/ && cd ~/
git clone git://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`
echo 'export NVM_DIR="$HOME/.nvm"' >> $HOME/.bashrc
echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"' >> $HOME/.bashrc
sed -i '1 i\#!/bin/bash' nvm.sh
sed -i 's/curl -q -w/curl -q --insecure -w/g' nvm.sh
sed -i 's/sh --server-response/sh --no-check-certificate --server-response/g' nvm.sh
sed -i 's/curl -q \$/curl -q --insecure \$/g' nvm.sh
sed -i 's/ eval wget \$/ eval wget --no-check-certificate \$/g' nvm.sh
sed -i 's/nvm_download -L https:\/\/npmjs.org\/install.sh -o - | clean=yes/nvm_download -L https:\/\/npmjs.org\/install.sh -o - | sed '\''s\/curl -\/curl --insecure -\/g'\'' | clean=yes/g' nvm.sh
source ~/.nvm/nvm.sh 2>/dev/null
nvm install -s v0.9.0
nvm alias default v0.9.0
source ~/.nvm/nvm.sh 2>/dev/null
The firefox version of default ubuntu 7.04 is too old to run the wwidd properly, so let's Install the firefox 3.0. We will use the binary provided by Mozilla, It's 32-bit but work on 32bits or 64bits system.
- If using the 64bits system then run the following command:
if [[ $(uname -m) == "x86_64" ]]; then sudo apt-get install ia32-libs ia32-libs-gtk; fi
- Let's install firefox 3.0:
cd ~/
wget -q https://ftp.mozilla.org/pub/firefox/releases/3.0/linux-i686/en-US/firefox-3.0.tar.bz2 --no-check-certificate
sudo tar -xvf firefox-3.0.tar.bz2 --directory=/opt && sudo mv /opt/firefox /opt/firefox3.0
rm -f ~/firefox-3.0.tar.bz2
sudo ln -s /opt/firefox3.0/firefox /usr/bin/firefox3.0
- You can start this firefox by command:
firefox3.0
cd ~/
git clone git://github.com/wwidd/wwidd.git
sudo mv ~/wwidd /opt/
sudo ln -s /opt/wwidd/start.sh /usr/bin/wwidd
- You can start the Wwidd by command:
wwidd