Zotero standalone automated installer (Linux)
[Edit 24/10/2012: For the Ubuntu repository, see http://forums.zotero.org/discussion/25317/install-zotero-standalone-from-ubuntu-linux-mint-ppa/]
Hi,
I created a simple installation script for Linux. It downloads and extracts Zotero standalone. It also creates a menu entry. I felt this might be convenient for those on Linux, as currently a manual installation is required.
The script is hosted on GitHub. The easiest way to use it is probably by copy-pasting the following commands into a terminal.
Regards,
Sebastiaan
Hi,
I created a simple installation script for Linux. It downloads and extracts Zotero standalone. It also creates a menu entry. I felt this might be convenient for those on Linux, as currently a manual installation is required.
The script is hosted on GitHub. The easiest way to use it is probably by copy-pasting the following commands into a terminal.
wget https://raw.github.com/smathot/zotero_installer/master/zotero_installer.sh \Hope this is useful for anybody!
-O /tmp/zotero_installer.sh
chmod +x /tmp/zotero_installer.sh
/tmp/zotero_installer.sh
Regards,
Sebastiaan
Thanks for this! Just used it to install on Linux Mint 12.0. Simple and Effective! :-)
Thanks,
Stephen
Use the `sudo' command, or you'll probably get an error. The installer requires root access to the directories it needs to install, at least for the (g)lobal option, which is what I chose, as I have more than one user on my box.
Just thought I'd share this; I hope it's useful.
Best Regards,
Stephen
Best, Martin
I tried to update via the standalone menu help>check for updates
The response is "update available but your account has insufficient privileges to install it"
To fix this I ran Zotero standalone as superuser. Assuming the installer has a fixed directory it installs to, mine was
sudo /opt/zotero/zotero
now using the help>check for updates offers the option to install the update and it goes smoothly.
Nevertheless, it might be a good idea for developers to put zotero in the repos, to get auto updates, especially security related, without having to check manually
It installs to $HOME/.local/share/applications
I think Zotero devs have said that they're reluctant to get into the business of supplying specific distro builds.
I understand that the reason is not to favour any distribution over another? If so that would be rather incomprehensible to me if the alternative is to not provide any convenient install (and update) method for Linux users at all. Even for the average enthusiast computer user Ubuntu has become almost a synonym for Linux on the desktop.
I would personally appreciate a packaged version of Zotero for Ubuntu very much and I am also honestly convinced that the existance of such a package would support the propagation of Zotero in a community of users that is very active in contributing to Software that is produced for the public benefit in terms of writing comprehensive bug reports, proposing patches and the like.
Also, if you have ever spend time on a non-Ubuntu linux forum, you're probably aware that non-Ubuntu linux people are _very_ passionate about the fact that Ubuntu is not synonymous to linux.
The other reason is that it may well not be necessary for Zotero to do this: You can request packaging of software at Ubuntu/Debian:
https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages#Requesting_a_new_package_for_Ubuntu
Currently updates on linux take exactly two clicks (Help--> Check for updates), which is hardly forbidding, though obviously less convenient than automatic repo updates - I think Zotero might make updating automatic, too, though.
Installing consists of either running one simple script (see above) or just downloading and unpacking Zotero (and then starting it by double-clicking on Zotero). While obviously Zotero should be as easy to use as possible, your argument about a sophisticated user community kind of falls apart at the point where that is asking too much.
Thanks for your response. Your arguments are certainly right and I did not consider some of them before.
I still think it would be very nice to find Zotero in the Ubuntu Software Center but probably the Ubuntu community is the better place to address this.
Someone already created an according request on Launchpad (https://bugs.launchpad.net/ubuntu/+bug/782079) and I subscribed to it now.
Zotero developers generate the code just like the Mozilla people do with Firefox. It is up to the packager that puts the distro together to incorporate the code to meet the standards of their distro.
Hence, if you want a Ubuntu version of Zotero I would bring it up to the Ubuntu forums. In some communities like OpenSuse there are automated building services that can assist a novice to generate a distro with custom applications.
http://forums.zotero.org/discussion/20262/zotero-standalone-automated-installer-linux/
edit: oops - that would be this thread...
Thanks Sebastian!
I used this tool to install Zotero Standalone on Linux Mint 11, and I recall being impressed. Thanks.
However, now I am running into trouble in upgrading. Elsewhere on the forums, I get the impression that its because my account does not have sufficient privileges to access the folder that ZS is in... but I have no idea how to correct that.
I tried uninstalling ZS (to reinstall to a fresh updated version) via the 'uninstall' option in the menu (which did nothing), and by command line:
----
ben@ben-HP-EliteBook-8540p ~ $ sudo apt-get remove zotero
[sudo] password for ben:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Virtual packages like 'zotero' can't be removed
The following package was automatically installed and is no longer required:
nspluginwrapper
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
----
So this script makes ZS a 'virtual package'? And what is that? I have absolutely no idea how I might upgrade ZS.
Any help? The learning curve is pretty vertical for me on this.
B
I'm not sure what the Virtual zotero package is, but it's not related to the installer script (as far as I can see). The easiest way to update is probably to run Zotero as root and update it using the built-in updater. Cheers,
Sebastiaan
B
Sebastian, do you use Ubuntu? any chance of putting this in a ppa? or someone else?
Fantastic job guys, next step to get into some repos or ppas. :)
If you have the knowhow to get the packaging process started, I would assume other Zotgero users with the tech knowledge would contribute.
My tech knowledge is medium-low, but I will assist you where possible.
Research proposal due in 2 weeks, but have a month of more availabililty after that.
- http://forums.zotero.org/discussion/25317/install-zotero-standalone-from-ubuntu-linux-mint-ppa/
- http://www.cogsci.nl/software/qnotero#ppa
Let me know if it works for you!Cheers,
Sebastiaan
Thanks for the heads up. I simple hadn't build any packages for 12.10 yet, but they should be available now!
Cheers,
Sebastiaan
Well done and thank you - works fine!
Yours, Martino