Information about the package, ustl, which is shipped with common Linux distributions. The ustl package is designed for, A size-optimized STL implementation.
A size-optimized STL implementation
The C++ standard template library (STL) is a collection of common containers and algorithms in template form. Unfortunately its standard incarnation shipped with gcc is implemented without much concern for code size. Not only is the library itself large, the current version being over a megabyte in size, but with all the code you instantiate by using a vector for each of your containers, it is easy to become fearful and opt for using static arrays instead or, worse yet, abandon C++ altogether for C. This is especially painful to former DOS assembly programmers like myself, who fret endlessly when the size of the executable crosses the magic 64k boundary, forgetting that nobody cares about memory anymore. Of course, these days everyone has gigabytes of RAM and has no compunction about loading up OpenOffice, whose source tree is over a gigabyte in size. Why then bother with saving a kilobyte of code here and there? I can't really say. Maybe it's that warm fuzzy knowledge that you are making maximum possible use of your computer's resources. Maybe it's that thrill you get after expressing your program's functionality in the fewest possible instructions and the minimum imaginable overhead. Or maybe it really is of no importance and any code bloat will be easily overcome by faster processors in some near future. I just know what I like, and it's the sight of clean, concise, and fast code. Therefore this library.
Control the ustl package with the following handy commands outlined below.
yum install ustl
This command will install ustl on the server.
yum remove ustl
This command will un-install ustl on the server. When you run this command, you will be asked if you are sure that you want to remove ustl, so you have to manually confirm that you want to do this.
yum -y remove ustl
This command will un-install ustl on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ustl when using the -y flag.
yum update ustl
This command will update ustl to the latest version. When you run this command, you will be asked if you are sure that you want to remove ustl, so you have to manually confirm that you want to do this.
yum -y update ustl
This command will update ustl to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ustl when using the -y flag.
yum info ustl
This command will show you core information about the ustl package.
yum deplist ustl
This command will show you the dependencies for ustl. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update ustl
This command will check if there is an update waiting on ustl. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.