Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to see what version of jetty will be installed on the various versions of Ubuntu?

Is it online somewhere?

Also, is it possible to see the package so I can tweak it if required?

share|improve this question

4 Answers 4

up vote 1 down vote accepted

There are a couple of ways to do this, here is the way that I usually use. Depending on the version of ubuntu you're currently running, you might need to install aptitude. You can do that by opening a terminal and typing the following:

sudo apt-get install aptitude

Once aptitude is installed then you would type the following to determine the version that would be installed or is installed depending.

sudo aptitude show jetty

Hope this helps!

Chris

share|improve this answer

To see what version(s) of Jetty are available for installation on your system:

apt-cache policy jetty

This lists the installed version (if any) and all the versions available for installation, and indicates which one would be installed by default.

If you want to know about other Ubuntu release, look on packages.ubuntu.com.

If you want to see the package before installation, download it but don't install it yet:

apt-get -d install jetty

The package is in /var/lib/apt/cache/jetty*.deb.

share|improve this answer

packages.ubuntu.com can be searched to see which version are included with each release. Some packages from future releases are fairly easy to install on an older Ubuntu release. Jetty is likely one of them.

You can download the source packages from the above site. However, I would recommend against tweaking the package. It is relatively easy to do, but you won't get important security patches.

A note about package versions. These are the original versions. Security patches are backported to this release, and the available package is updated. These patches are applied when you update the package. If you use one of the automatic update packages, they may be applied automatically depending on your settings.

Debian/Ubuntu makes it quite easy to adapt the configuration to your needs. For packages that support conf.d configuration, I would recommend using it rather than modifying the original configuration. This will make version updates much simpler.

share|improve this answer

Instead of installing aptitude, it is faster to use apt-cache :

apt-cache showpkg jetty

This command will show full informations about the packet, even if it is not installed.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.