How to install songbird *properly* on linux?
Hello, I'm on linux (debian), and I would like to be able to run Songbird through the simple command "songbird"; but I always have to cd to songbird's directory and execute it with ./songbird. Any idea?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
1 person says
this answers the question
-
Inappropriate?# cat > /usr/share/Songbird/launch.sh << EOF
#!/bin/sh
cd /usr/share/Songbird
./songbird
EOF
# chmod 755 /usr/share/Songbird/launch.sh
# ln -s /usr/share/Songbird/launch.sh /usr/bin/songbird
1 person says
this answers the question
-
Inappropriate?@zyqt: Yeah, I already had the idea, but SongBird depends of the firefox package, and on debian there is no firefox, only iceweasel.. How to?!
Log:
root@home:~/Desktop# dpkg -i songbird_1.0.0-0~getdeb1_i386.deb
Sélection du paquet songbird précédemment désélectionné.
(Lecture de la base de données... 169555 fichiers et répertoires déjà installés.)
Dépaquetage de songbird (à partir de songbird_1.0.0-0~getdeb1_i386.deb) ...
dpkg : des problèmes de dépendances empêchent la configuration de songbird :
songbird dépend de firefox ; cependant :
Le paquet firefox n'est pas installé.
dpkg : erreur de traitement de songbird (--install) :
problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
songbird
(Sorry, it's in french, but you got it I think ;) )
@WW: Can you explain it a bit? Thanks! -
Inappropriate?@haxi:
assuming you extracted the Songbird tar.gz file from the official download link into /usr/share/Songbird the cat command until the second EOF creates the shellscript /usr/share/Songbird/launch.sh with the contents of line 2-4. The shellscript doesn't do anything else than what you were doing manually (cd into the directory and call ./songbird)
chmod makes the launch.sh shellscript executable (rwxr-xr-x)
and afterwards you symlink it to /usr/bin which makes it accessible from anywhere as /usr/bin is in the PATH-variable on most (if not all) Linux/UNIX distributions out there.
HTH - if not: http://tldp.org/LDP/abs/html/ or get a book about UNIX/Linux basics -
Or of course the more detailed way: http://luisgmarine.blogspot.com/2008/... (this applies to debian as well)
Loading Profile...



