apt-get uses your linux distribution’s repository, which contains the package as they wish to make available. Typically, for any particular version of the OS, they will stick with a particular version of the package.
If you need the latest version of any particular package that is not available by your distribution yet, you can install it yourself (taking care to remove the original package) from the source code. This can be a little tricky for newcomers, and you will have to be careful when you upgrade to the next version of your OS and try installing the new version from the package managers.
To install from source, you might want to start here:
Also, if you never compiled programs before on your system, you might need to install using synaptics some build packages. I think the link lists the dependencies you need to have installed.
I know it can be a little scary if you are a newcomer to linux, but don’t be afraid to ask if you are confused by this.
I hope this helps,
On Mon, Aug 16, 2010 at 1:17 PM, Carlos Anderson <carlosja@…1836…618…> wrote:
I have an older version of matplotlib (0.98.5.2), but when I
sudo apt-get install python-matplotlib
it says “python-matplotlib is already the newest
version” and it doesn’t download the latest version, which is 1.0.0. How
can I get the latest matplotlib version using apt-get?