Re: [Boost-users] Installation Complete Steps
but the very first command rpm gives a conflict message with Debian files since I am using Ubuntu which is based on Debian or am I wrong?
Umut, you have a choice: A. Download the source tar files and compile them. B. Install from .deb files. B should be easier and quicker than A. In theory you could install from .rpms, but I can't think of a reason why you would want to do that. I'm suprised that no-one who uses Ubuntu has replied with instructions for you. I don't use Ubuntu, so I can't give you exact step-by-step instructions. I use Debian. On Debian, installting Boost involves: # apt-get update # apt-get install libboost-dev libboost-thread-dev libboost-program-option-dev ..... (Boost is split into several .deb packages, so you only need to install the parts that you will be using. For a list you could go to packages.debian.org and search for packages whose name contains "boost".) I expect that on Ubuntu you should use very similar, or possibly exactly the same, commands. Alternatively, you may have a graphical package installer program that you can use. On the other hand, if it turns out that Ubuntu doesn't have Boost packages, then you could install the Debian ones. The best way to find out how to do that would be to ask in an Ubuntu forum or list somewhere. I hope that helps. (Isn't there someone out there using Ubuntu who can help Umut with some more precise details?) --Phil.
Phil Endecott wrote:
but the very first command rpm gives a conflict message with Debian files since I am using Ubuntu which is based on Debian or am I wrong?
<snip>
I'm suprised that no-one who uses Ubuntu has replied with instructions for you. I don't use Ubuntu, so I can't give you exact step-by-step instructions.
I use Debian.
Me too. <snip>
I expect that on Ubuntu you should use very similar, or possibly exactly the same, commands. Alternatively, you may have a graphical package installer program that you can use.
The default package management front-end for Ubuntu is Synaptic, though I think the latest version uses a generic name in the menu item for it.
On the other hand, if it turns out that Ubuntu doesn't have Boost packages, then you could install the Debian ones. The best way to find out how to do that would be to ask in an Ubuntu forum or list somewhere.
<snip> They are probably included in the "universe" component, which doesn't have the same level of support. It's not enabled by default but should be easily accessible. Ben.
Ben Hutchings wrote:
They are probably included in the "universe" component, which doesn't have the same level of support. It's not enabled by default but should be easily accessible.
On Ubuntu, I think if you edit /etc/apt/sources.list you will see that by un-commenting a line in sources.list you can get access to the entire ubuntu archive, including Universe. You can see that Ubuntu provides the boost packages: http://archive.ubuntu.com/ubuntu/ls-lR.gz If you're new to Ubuntu/Debian, then I would advise against mixing binary packages. If you really need a package that's available on Debian but not Ubuntu, it's probably safer to do "apt-get source" and build the package yourself (though I haven't tried this on Ubuntu). This is especially true with C++ libraries, because of Compiler ABI changes, stdc++ library changes, etc which can make binaries very incompatible, sometimes with only a link warning that flies by your screen. Next thing you know your app is core dumping without a clue...
On Mon, 19 Dec 2005 17:18:23 -0600, Rob Lemley wrote
Ben Hutchings wrote:
They are probably included in the "universe" component, which doesn't have the same level of support. It's not enabled by default but should be easily accessible.
On Ubuntu, I think if you edit /etc/apt/sources.list you will see that by un-commenting a line in sources.list you can get access to the entire ubuntu archive, including Universe.
You can see that Ubuntu provides the boost packages: http://archive.ubuntu.com/ubuntu/ls-lR.gz
If you're new to Ubuntu/Debian, then I would advise against mixing binary packages.
If you really need a package that's available on Debian but not Ubuntu, it's probably safer to do "apt-get source" and build the package yourself (though I haven't tried this on Ubuntu). This is especially true with C++ libraries, because of Compiler ABI changes, stdc++ library changes, etc which can make binaries very incompatible, sometimes with only a link warning that flies by your screen. Next thing you know your app is core dumping without a clue...
It would be really fabulous if members of the debian and ubuntu communities got together and provided additions to the Boost documentation set -- either in the form of pointers or written instructions that could go on the getting started page. Now that Boost is getting put into lots of distros it would be nice to have documentation on the Boost page that would point people to instructions for their 'native os'. This would really help simplify things for new users. Any volunteers? Jeff
participants (4)
-
Ben Hutchings
-
Jeff Garland
-
Phil Endecott
-
Rob Lemley