find and install the 'latest' package
Md Ashickur Rahman Noor
ashickur.noor at gmail.com
Tue Dec 27 06:02:52 UTC 2011
Easy solution is
update your repo by
sudo apt-get update
then use update manager or synaptic package manager to upgrade your
packages.
----------------------------------------------------------
Dedicated Linux Forum in
Bangladesh<http://forums.linuxdesh.com/member.php?action=register&referrer=3%20>
2048R/89C932E1<http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x8518D55289C932E1>
Volunteer, Foundation for Open Source Solutions Bangladesh.
01611151550
On 27 December 2011 11:58, Craig White <craigwhite at azapple.com> wrote:
> On Mon, 2011-12-26 at 21:22 -0800, Rajeev Prasad wrote:
> > i can go to web and check the the packages for a ubuntu release, but
> > how can i search and install the latest version of a package without
> > knowing what is the latest version: for example for mysql, php, perl,
> > apache, openssl etc...
> ----
> short answer, the latest version will automatically be installed.
>
> longer answer, depends upon which tools you use to install software and
> which version of Ubuntu you are using.
>
> Assuming that you are using 11.11 (oneric), and apt/aptitude...
>
> sudo apt-get update # updates package cache
> sudo apt-get install $SOMETHING
>
> will install the latest version.
>
> Likewise, you can always ensure you have the latest versions of
> everything by doing...
>
> sudo apt-get update
> sudo apt-get upgrade
>
> If you use GUI tools such as synaptic, I believe that they will perform
> the 'update' on launch so they will install the latest version.
>
> Then there's the possibility that a PPA exists that has newer versions
> but those should probably be avoided by new users. Generally mainstream
> packages such as the ones you mentioned are very close to current.
>
> Lastly, LTS versions (ie, Lucid/10.04) don't necessarily have the
> 'latest' versions but tend to remain on the 'stable' versions that were
> chosen at the outset and patched for security issues if any.
>
> Lastly, 'latest' version of packages is often a relative concept since
> many of the upstream projects have 'stable' and 'pre-release' versions.
> Most users of the base server packages such as the ones you mentioned
> would definitely prefer the stable versions (patched for security issues
> of course) and the concept of 'latest' is not always desired.
>
> Craig
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20111227/08e1bf65/attachment.html>
More information about the ubuntu-users
mailing list