How do I install g++ 4.5 on ubuntu 10.10?
Mark
mhullrich at gmail.com
Fri Nov 19 06:26:48 UTC 2010
On Thu, Nov 18, 2010 at 8:56 PM, Doug <dmcgarrett at optonline.net> wrote:
> On 11/18/2010 08:28 PM, Ric Moore wrote:
>> /snip/
>>> http://packages.ubuntu.com/maverick/g++-4.5
>>> Using apt-get to install should pull in all required dependencies:
>>> https://launchpad.net/ubuntu/+source/gcc-4.5
>>>
>>> As a test, I've just installed it:
>>>
>>> $ apt-cache policy g++-4.5
>>> g++-4.5:
>>> Installed: 4.5.1-7ubuntu2
>>> Candidate: 4.5.1-7ubuntu2
>>> Version table:
>>> *** 4.5.1-7ubuntu2 0
>>> 500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64
>>> Packages
>>> 100 /var/lib/dpkg/status
>>>
>>
> /snip/
>
> Please help me to learn something. I've always heard that the syntax is
> "apt-get install somefile"
> Now I see apt-cache policy. I checked man apt, which led me to man
> apt-cache, which, in this distro
> (PCLOS) does not show "policy" as an option. It is not obvious to me
> why you would use this at all,
> except in the case ( -showpkg) where you want to check dependencies, etc.
> (I have Ubuntu, but it's not up at the moment.) Thanx.
> Linux-verderber, doug
>
To install it, yes, you use 'sudo apt-get install <package>'
The prior poster (Ric?) was showing you how to list the cache policy
for a package.
More information about the ubuntu-users
mailing list