Installing C++ Boost on SuSE and Fedora
C++ Boost on SuSE:
Its simple to install C++ Boost on a SuSE system by using its YaST package manager.
- Run YaST and select "Software" from the left pane. Now select "Software Management" from the right pane and search for "boost" using the Search box.
- Select the boost packages that you want to install from the right pane(you atleast need boost - 1.33.0-3) and press the "Accept" button.
You can now test the boost installation by compiling the two programs I had mentioned in my earlier post, using the following commands:
sh# g++ -o first first.cpp
sh# g++-o second second.cpp -lboost_filesystem
C++ Boost on Fedora:
Installing C++ Boost on RedHat Fedora systems is also along the same lines. First download the boost-1.33.1-5.i386.rpm RPM file from the internet. you can search for a different version of the file if you are not using the Fedora Core 5 system. Install it using the following command(you can directly click on the file):
sh# rpm -ivh boost-1.33.1-5.i386.rpm
You can also install it using the yum package manager of Fedora. Test the installation just as mentioned in the case of SuSE.