Download file deb cài thẳng luôn.
Hoặc cài theo dòng lệnh như thế này.
Mở một trình soạn thảo ( tôi dùng gedit) paste đoạn code này vào lưu với tên là installsongbird.sh. Để file này ở Desktop nha.
if [ -d /usr/local/bin/songbird ]; then
zenity --info --text="You appear to already have Songbird installed. To get the newest version, you should use the self-update function in Songbird instead of using this script."
exit
fi
cd /tmp
uname -m > tmp.arch.txt
if grep -q "64" tmp.arch.txt ; then
anw=`zenity --question --text "You appear to have an AMD64 architecture. Do you want to install the 64-bit version of Songbird?"; echo $?`
if [ $anw = 0 ] ; then
gksudo "echo 0"
wget http://www.xs4all.nl/~mgj1/Songbird/64.bit
URL=`head -n 1 64.bit | tail -n 1`
FILE=`head -n 2 64.bit | tail -n 1`
rm 64.bit
wget "$URL" 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading Songbird with \2/' | zenity --progress --auto-close --title="Downloading Songbird..."
tar -xvzf "$FILE"
else
zenity --info --text="Installation cancelled."
fi
elif grep -q "86" tmp.arch.txt ; then
anw=`zenity --question --text "You appear to have an x86 architecture. Do you want to install the i686 version of Songbird?"; echo $?`
if [ $anw = 0 ] ; then
gksudo "echo 0"
wget http://www.xs4all.nl/~mgj1/Songbird/32.bit
URL=`head -n 1 32.bit | tail -n 1`
FILE=`head -n 2 32.bit | tail -n 1`
rm 32.bit
wget "$URL" 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading Songbird with \2/' | zenity --progress --auto-close --title="Downloading Songbird..."
tar -xvzf "$FILE"
else
zenity --info --text="Installation cancelled."
fi
else
zenity --info --text="This script works for only x86 and AMD64 architectures."
fi
rm tmp.arch.txt
gksudo "mv Songbird /usr/local/bin/songbird"
rm Songbird*.tar.gz
gksudo "rm /usr/bin/Songbird"
gksudo "rm -r /usr/bin/Songbird"
gksudo "ln -s /usr/local/bin/songbird/songbird /usr/bin/Songbird"
wget -c -q http://www.psychocats.net/ubuntu/songbirdicon.png
gksudo "mv songbirdicon.png /usr/share/pixmaps/songbird.png"
wget -c -q http://www.psychocats.net/ubuntu/songbird.desktop
gksudo "mv songbird.desktop /usr/share/applications/songbird.desktop"
zenity --info --text="After you refresh your menus, Songbird should be available as an application within the menus. If not, the launcher for Songbird should use the command Songbird (with a capital S). \n \nEnjoy!"
Sau đó vào Terminal (Applications -> Accessories ->Terminal)
Gõ
cd ~/Desktop
Gõ tiếp.
chmod +x installsongbird.sh
Tiếp tục gõ.
./installsongbird.sh
Thế là xong, chúc thành công.
Nguồn internet.