PDA

View Full Version : [ubuntu] seamonkey from tar



boblizar
March 11th, 2012, 11:46 PM
if you have not noticed, this is my ubuntu master thesis....
http://ubuntuforums.org/showthread.php?t=1836890
check it out and share it with your friends =)

updating seamonkey from a tar archive is easy, and easy to keep up to date.

instead of fumbling around with repo's and ppa's for this i prefer to install precompiled binaries wrapped in a tar archive. i then symlink my archive to /usr/lib/seamonkey

nab this url with your browser (save the file to $HOME/Downloads)

http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/2.9.1/contrib/seamonkey-2.9.1.en-US.linux-x86_64.tar.bz2

move the seamonkey package



sudo mv $HOME/Downloads/seamonkey* /usr/lib
cd /usr/lib




sudo su




tar -xf seamonkey*
sudo ln -s /usr/lib/seamonkey-* /usr/lib/seamonkey
sudo ln -s /usr/lib/seamonkey/seamonkey /usr/bin/seamonkey
sudo rm /usr/lib/seamonkey-*.tar.bz2
sudo ln -s /usr/lib/seamonkey/chrome/icons/default/default.png /usr/share/app-install/icons/seamonkey.png
sudo ln -s /usr/lib/seamonkey/chrome/icons/default/default.png /usr/share/icons/




sudo su




cat > /usr/share/applications/seamonkey.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Seamonkey
Comment=The Mozilla Suite
Icon=seamonkey
Exec=seamonkey
Categories=Network;GTK;Application;Email;Browser;W ebBrowser;News;
StartupNotify=true
Terminal=false
EOF
ln -s /usr/share/applications/seamonkey.desktop /usr/share/app-install/desktop/



gotta do moar to get the desktop + link going gotta dig around...

for the apt version these 2 desktops work....


sudo su




cat > /usr/share/app-install/desktop/seamonkey:seamonkey.desktop << EOF
[Desktop Entry]
X-AppInstall-Package=seamonkey
X-AppInstall-Popcon=1866
X-AppInstall-Section=universe

Encoding=UTF-8
Name=SeaMonkey
Comment=Send and receive mail with SeaMonkey
GenericName=Mail Client
Exec=seamonkey %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=seamonkey
Categories=Application;Network;Email;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;x-scheme-handler/mailto;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
StartupWMClass=SeaMonkey
StartupNotify=true

X-Ubuntu-Gettext-Domain=app-install-data
EOF


&&



cat > /usr/share/applications/seamonkey.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=SeaMonkey
Name[ast]=Veceru de corréu SeaMonkey
Name[ca]=Client de correu SeaMonkey
Name[cs]=Poštovní klient SeaMonkey
Name[da]=SeaMonkey - e-post/nyhedsgruppe
Name[de]=SeaMonkey-E-Mail und -Nachrichten
Name[es]=Cliente de correo SeaMonkey
Name[fi]=SeaMonkey-sähköposti
Name[fr]=Messagerie SeaMonkey
Name[gl]=Cliente de correo SeaMonkey
Name[he]=SeaMonkey דוא״ל/חדשות
Name[hr]=SeaMonkey e-pošta/novosti
Name[hu]=SeaMonkey levelezőkliens
Name[it]=Email SeaMonkey
Name[ko]=SeaMonkey
Name[nl]=SeaMonkey e-mail/nieuws
Name[pl]=Klient poczty SeaMonkey
Name[pt_BR]=Cliente de E-mail SeaMonkey
Name[ru]=Почтовый клиент SeaMonkey
Name[sk]=SeaMonkey - poštový klient a novin
Name[sv]=E-postklienten SeaMonkey
Name[ug]=SeaMonkey ئېلخەت/خەۋەر
Name[zh_CN]=SeaMonkey 邮件/新闻
Name[zh_TW]=SeaMonkey 郵件
Comment=Send and receive mail with SeaMonkey
Comment[ast]=Lleer y escribir corréu electrónicu
Comment[ca]=Llegiu i escriviu correu
Comment[cs]=Čtení a psaní pošty
Comment[da]=Skriv/læs e-post/nyhedsgruppe med SeaMonkey
Comment[de]=E-Mails und Nachrichten mit SeaMonkey lesen und schreiben
Comment[es]=Lea y escriba correos y noticias con SeaMonkey
Comment[fi]=Lue ja kirjoita sähköposteja
Comment[fr]=Lire et écrire des courriels
Comment[gl]=Lea e escriba correo electrónico
Comment[he]=קריאה/כתיבה של דוא״ל/חדשות באמצעות SeaMonkey
Comment[hr]=Čitajte/šaljite e-poštu s SeaMonkey
Comment[hu]=Levelek írása és olvasása a SeaMonkeydel
Comment[it]=Per leggere e scrivere email
Comment[ja]=メールの読み書き
Comment[ko]=SeaMonkey 메일/뉴스 읽기 및 쓰기 클라이언트
Comment[nl]=E-mail/nieuws lezen en schrijven met SeaMonkey
Comment[pl]=Czytanie i wysyłanie e-maili
Comment[pt_BR]=Ler e escrever suas mensagens
Comment[ru]=Читайте и пишите письма
Comment[sk]=Čítajte a píšte poštu, čítajte novinky pomocou programu SeaMonkey
Comment[sv]=Läs och skriv e-post
Comment[ug]=ئېلخەت ۋە خەۋەرلەرنى SeaMonkey دا كۆرۈش ۋە يېزىش
Comment[zh_CN]=阅读邮件或新闻
Comment[zh_TW]=以 SeaMonkey 讀寫郵件或新聞
GenericName=Mail Client
Exec=seamonkey %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=seamonkey
Categories=Application;Network;Email;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;x-scheme-handler/mailto;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
StartupWMClass=SeaMonkey
StartupNotify=true
GenericName[ast]=Client de correu
GenericName[ca]=Client de correu
GenericName[da]=E-postklient
GenericName[de]=E-Mail-Anwendung
GenericName[es]=Cliente de correo
GenericName[fi]=Sähköpostiohjelma
GenericName[fr]=Client de messagerie
GenericName[gl]=Cliente de correo electrónico
GenericName[he]=לקוח דוא״ל
GenericName[hr]=Klijent e-pošte
GenericName[hu]=Levelezőkliens
GenericName[it]=Client email
GenericName[ko]=메일 클라이언트
GenericName[nl]=E-mailprogramma
GenericName[ru]=Почтовый клиент
GenericName[sk]=Poštový klie
GenericName[ug]=ئېلخەت دېتالى
GenericName[zh_CN]=邮件新闻客户端
GenericName[zh_TW]=郵件用戶端
EOF

missmoondog
March 27th, 2012, 02:35 AM
talk about fumbling?! my fingers are in knots already just reading all that. even copying & pasting it into a terminal looks like work. :(

boblizar
March 30th, 2012, 04:25 AM
once you do this, you can easily upgrade....

just run



sudo rm -rf /usr/lib/seamonkey*


to purge the old install

drop the new seamonkey tar into /usr/lib && run



sudo tar -xf seamonkey*
sudo ln -s /usr/lib/seamonkey-* /usr/lib/seamonkey
sudo rm /usr/lib/seamonkey-*.tar.bz2


done

download a new nightly every night and run 4 commands to install very latest, keep your flash, keep your java, keep your icons,

BBQdave
March 30th, 2012, 04:43 AM
How 'bout...

download seamonkey
use archive manager to extract
(in your favorite CLI)
$ sudo mv /home/me/Downloads/seamonkey /opt/seamonkey


To use seamonkey:

(in your favorite CLI)
/opt/seamonkey/seamonkey
hit enter

You can configure seamonkey (from within the application preferences) to automatically update or you can manually update if you like.

Easy way to install current seamonkey and keep up to date ;)

ottosykora
March 30th, 2012, 07:30 AM
@boblizar

it is really difficult to understand what it is all about here and why someone should do all that just to get something like:
sudo apt-get install seamonkey


or simply click in software center on seamonkey to install it.

boblizar
May 3rd, 2012, 02:54 AM
its using generic code for a generic install as if i had built my os from scratch. why do i do it? to easily keep up with versions. i dont have to wait for the repository to update a seamonkey package when the browser starts giving messages of new versions.

to move a version up simply...



sudo rm -rf /usr/lib/seamonkey-*
sudo mv $HOME/Downloads/seamonkey* /usr/lib
sudo tar -xf /usr/lib/seamonkey-*


that being said, the repo versions are generally absurdly stale compared to mozillas websites tarballs....

2.4.1 is repo version, and today is 2.9.1 for latest.

zon14
May 29th, 2012, 10:09 PM
This is looking more relevant now. I've been trying to reinstall Seamonkey ever since upgrading to 12.04 and even though an entry for it shows up in the software center, it says there's no package for it. This is strange since obviously new versions are coming out for it, so it's far from abandonware and I've been unable to find an alternate repository.

zon14
June 5th, 2012, 10:39 PM
Oh, and one additional caveat, which I just ran into. Check your dependencies. I just installed it again using this method on a second laptop, but as it turns out the second one lacked some libraries the first one had already installed. Seems Seamonkey wants a few 32bit libraries to run, and since this laptop's a 64bit machine, when I did a new install of 12.04, it didn't automatically include those libraries.

After I did that, it booted right up. So yay.