Installing older version of Maven 2 on Ubuntu? - maven-2

Is there an easy way to use apt-get to install an older version of Maven 2 on Ubuntu Maverick?
I'd like to use 2.0.9.

Try downloading from launchpad: http://launchpadlibrarian.net/15563514/maven2_2.0.9-2_all.deb
Double-click on it and GDebi should do the rest.
This package is no longer maintained on LTS and newer versions. Be careful, I haven't tried it because I have a newer version.
Anyway, why would you use an older one?
More info here: https://launchpad.net/ubuntu/jaunty/+package/maven2

Related

How to install specific version of Cap'n Proto (v0.8.0)?

sudo apt install capnproto
This installs v0.7.0 in my ubuntu 20.04. However, i require v0.8.0 to be installed.
Also, i need v0.6.1 to be installed additionally for backward compatibility.
Any solution for these two cases ?
You will probably need to install from source rather than use a distro package. Unfortunately, it sounds like the Ubuntu distro package hasn't been updated in a while.
Instructions for building and installing from source can be found here: https://capnproto.org/install.html
Old versions are available by changing the version number in the download URL to whichever version you need.
Note that all versions of Cap'n Proto are backwards-compatible, so there should be no need to install older versions, unless you need to run a specific complied binary that was linked against a specific old version.

What is the safest way to get a newer version of a repo from yum on Amazon Linux?

I need a newer version of binutils on Amazon Linux to compile a piece of needed software. This is due to a bug in version 2.29 which is the latest available in their repo. What would be the best way to add another repo, and will this mess up future uses of the yum command as I add and remove non-approved repos? Can I just add in a repo from a similar flavor like CentOS? Does Amazon have a less "Safe" version that has up to date software in it?
For me the safest way to get newer version on your VM is to compile it and install it in different place like /opt/binutils or /usr/local/binutils and use absolute paths for utils.

How do I install an older version of Mono 5.20 from Mono repo on Centos7?

Mono website suggested this
On RPM distributions, force the package version in your package manager - all older versions are published in the YUM metadata and should be available.
I have no idea how to go about the above?
Thanks in advance.

bzr-eclipse 1.4 needs xmloutput >= 0.9.2

I'm trying to install Eclipse Kepler (4.3) IDE with Bazaar version control system integration on a CentOS 6.5 machine. Everything seems perfect, until I restart the IDE and want to use bazaar. It asks for xmloutput >= 0.9.2 but according to this page the latest version available is xmloutput 0.8.8
I have tried to install bzr-eclipse 1.3 or 1.2 but all the links in Eclipse are just for the latest version.
Does anybody know how to install a previous version of bzr-eclipse or how to use a correct version of xmloutput?
This problem seems to be very close to this question (resolved by upgrading to a newer version of Bazaar).

installing matplotlib on ubuntu?

I have:
Ubuntu 8.04
python 2.5.2 installed on this Ubuntu
matplotlib 0.92.0 installed
I want to upgrade to (atleast) matplotlib 0.99
so that I can do 3d plotting.
The synaptic package (also the command line apt-get)
tells me that whatever I have is the latest matplotlib (which is not true).
How can I install matplotlib 0.99 or matplotlib 1.0.1 ?
You have the latest available package version for your operating system. Given that Ubuntu is at version 11 now and you are using 8.04, the version difference in the matplotlib package might not come as very surprising.
As for installing the newest version, I'd suggest reading:
http://matplotlib.sourceforge.net/faq/installing_faq.html
...if all fails, you can always install from source.
Note that support for Desktop versions of 8.04 LTS is due to expire shortly -- if this is a desktop machine, perhaps the easiest answer is to upgrade to 10.04 LTS, 10.10, or the very-soon-upcoming 11.04 release (or whatever they'll call the next release). Maybe not "the easiest answer", but an answer that includes security updates for Mozilla, Adobe Flash, the Kernel, and so forth.
Many newer versions of packages are supported via the Ubuntu Backports facility, but I didn't spot python-matplotlib in the list of available packages. Perhaps they would provide it if you asked nicely, perhaps it would be too much work.
You can always try installing newer versions from newer releases, but newer versions of python and libraries might introduce worse problems. (But probably will work fine.) See the apt_preferences(5) manpage for details on how to configure multiple APT sources and select some specific packages from a newer distribution (pinning), and rely on the older distribution for all the other packages.
Jim's answer of building the version you need from source is probably your best second option, if installing a newer version of the distribution is too daunting / otherwise impossible at this point.