How To Install clearsilver on CentOS 8

clearsilver is Fast and powerful HTML templating system

Introduction

In this tutorial we learn how to install clearsilver on CentOS 8.

What is clearsilver

ClearSilver is a fast, powerful, and language-neutral HTML template system. In both static content sites and dynamic HTML applications, it provides a separation between presentation code and application logic which makes working with your project easier. The design of ClearSilver began in 1999, and evolved during its use at onelist.com, egroups.com, and Yahoo! Groups. Today many other projects and websites are using it.

We can use yum or dnf to install clearsilver on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install clearsilver.

Install clearsilver on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install clearsilver using dnf by running the following command:

sudo dnf -y install clearsilver

Install clearsilver on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install clearsilver using yum by running the following command:

sudo yum -y install clearsilver

How To Uninstall clearsilver on CentOS 8

To uninstall only the clearsilver package we can use the following command:

sudo dnf remove clearsilver

clearsilver Package Contents on CentOS 8

/usr/bin/cs
/usr/bin/cs_static.cgi
/usr/bin/cstest
/usr/lib/.build-id
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/8902f3b427dc95416e93b78800563cd644c4e8
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/567e9d14bc542d96ab974f7dc9db22b161be1c
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/17e84e5068eae96fc4d1353de8f309a87bdc79
/usr/share/doc/clearsilver
/usr/share/doc/clearsilver/CS_LICENSE
/usr/share/doc/clearsilver/INSTALL
/usr/share/doc/clearsilver/LICENSE
/usr/share/doc/clearsilver/README
/usr/share/man/man3/ClearSilver.3pm.gz
/usr/share/man/man3/cBroadcast.3.gz
/usr/share/man/man3/cCreate.3.gz
/usr/share/man/man3/cDestroy.3.gz
/usr/share/man/man3/cSignal.3.gz
/usr/share/man/man3/cWait.3.gz
/usr/share/man/man3/cgi_cookie_authority.3.gz
/usr/share/man/man3/cgi_cookie_clear.3.gz
/usr/share/man/man3/cgi_cookie_set.3.gz
/usr/share/man/man3/cgi_cs_init.3.gz
/usr/share/man/man3/cgi_debug_init.3.gz
/usr/share/man/man3/cgi_destroy.3.gz
/usr/share/man/man3/cgi_display.3.gz
/usr/share/man/man3/cgi_error.3.gz
/usr/share/man/man3/cgi_filehandle.3.gz
/usr/share/man/man3/cgi_init.3.gz
/usr/share/man/man3/cgi_neo_error.3.gz
/usr/share/man/man3/cgi_output.3.gz
/usr/share/man/man3/cgi_parse.3.gz
/usr/share/man/man3/cgi_redirect.3.gz
/usr/share/man/man3/cgi_redirect_uri.3.gz
/usr/share/man/man3/cgi_register_parse_cb.3.gz
/usr/share/man/man3/cgi_url_escape.3.gz
/usr/share/man/man3/cgi_url_escape_more.3.gz
/usr/share/man/man3/cgi_url_unescape.3.gz
/usr/share/man/man3/cgi_url_validate.3.gz
/usr/share/man/man3/cgi_vredirect.3.gz
/usr/share/man/man3/cgiwrap_getenv.3.gz
/usr/share/man/man3/cgiwrap_init_emu.3.gz
/usr/share/man/man3/cgiwrap_init_std.3.gz
/usr/share/man/man3/cgiwrap_iterenv.3.gz
/usr/share/man/man3/cgiwrap_putenv.3.gz
/usr/share/man/man3/cgiwrap_read.3.gz
/usr/share/man/man3/cgiwrap_write.3.gz
/usr/share/man/man3/cgiwrap_writef.3.gz
/usr/share/man/man3/cgiwrap_writevf.3.gz
/usr/share/man/man3/cs_destroy.3.gz
/usr/share/man/man3/cs_dump.3.gz
/usr/share/man/man3/cs_init.3.gz
/usr/share/man/man3/cs_parse_file.3.gz
/usr/share/man/man3/cs_parse_string.3.gz
/usr/share/man/man3/cs_register_esc_strfunc.3.gz
/usr/share/man/man3/cs_register_fileload.3.gz
/usr/share/man/man3/cs_register_strfunc.3.gz
/usr/share/man/man3/cs_render.3.gz
/usr/share/man/man3/dictCleanup.3.gz
/usr/share/man/man3/dictCreate.3.gz
/usr/share/man/man3/dictDestroy.3.gz
/usr/share/man/man3/dictModifyValue.3.gz
/usr/share/man/man3/dictNext.3.gz
/usr/share/man/man3/dictReleaseLock.3.gz
/usr/share/man/man3/dictRemove.3.gz
/usr/share/man/man3/dictSearch.3.gz
/usr/share/man/man3/dictSetValue.3.gz
/usr/share/man/man3/fCreate.3.gz
/usr/share/man/man3/fDestroy.3.gz
/usr/share/man/man3/fFind.3.gz
/usr/share/man/man3/fLock.3.gz
/usr/share/man/man3/fUnlock.3.gz
/usr/share/man/man3/filter_create_fd.3.gz
/usr/share/man/man3/filter_create_fp.3.gz
/usr/share/man/man3/filter_wait.3.gz
/usr/share/man/man3/hdf_copy.3.gz
/usr/share/man/man3/hdf_destroy.3.gz
/usr/share/man/man3/hdf_dump.3.gz
/usr/share/man/man3/hdf_dump_format.3.gz
/usr/share/man/man3/hdf_dump_str.3.gz
/usr/share/man/man3/hdf_get_attr.3.gz
/usr/share/man/man3/hdf_get_child.3.gz
/usr/share/man/man3/hdf_get_copy.3.gz
/usr/share/man/man3/hdf_get_int_value.3.gz
/usr/share/man/man3/hdf_get_node.3.gz
/usr/share/man/man3/hdf_get_obj.3.gz
/usr/share/man/man3/hdf_get_value.3.gz
/usr/share/man/man3/hdf_get_valuef.3.gz
/usr/share/man/man3/hdf_get_valuevf.3.gz
/usr/share/man/man3/hdf_init.3.gz
/usr/share/man/man3/hdf_obj_attr.3.gz
/usr/share/man/man3/hdf_obj_child.3.gz
/usr/share/man/man3/hdf_obj_name.3.gz
/usr/share/man/man3/hdf_obj_next.3.gz
/usr/share/man/man3/hdf_obj_top.3.gz
/usr/share/man/man3/hdf_obj_value.3.gz
/usr/share/man/man3/hdf_read_string.3.gz
/usr/share/man/man3/hdf_read_string_ignore.3.gz
/usr/share/man/man3/hdf_register_fileload.3.gz
/usr/share/man/man3/hdf_remove_tree.3.gz
/usr/share/man/man3/hdf_search_path.3.gz
/usr/share/man/man3/hdf_set_attr.3.gz
/usr/share/man/man3/hdf_set_buf.3.gz
/usr/share/man/man3/hdf_set_copy.3.gz
/usr/share/man/man3/hdf_set_int_value.3.gz
/usr/share/man/man3/hdf_set_symlink.3.gz
/usr/share/man/man3/hdf_set_value.3.gz
/usr/share/man/man3/hdf_set_valuef.3.gz
/usr/share/man/man3/hdf_sort_obj.3.gz
/usr/share/man/man3/hdf_write_file.3.gz
/usr/share/man/man3/hdf_write_file_atomic.3.gz
/usr/share/man/man3/hdf_write_string.3.gz
/usr/share/man/man3/mCreate.3.gz
/usr/share/man/man3/mDestroy.3.gz
/usr/share/man/man3/mLock.3.gz
/usr/share/man/man3/mUnlock.3.gz
/usr/share/man/man3/nerr_error_string.3.gz
/usr/share/man/man3/nerr_error_traceback.3.gz
/usr/share/man/man3/nerr_handle.3.gz
/usr/share/man/man3/nerr_ignore.3.gz
/usr/share/man/man3/nerr_init.3.gz
/usr/share/man/man3/nerr_log_error.3.gz
/usr/share/man/man3/nerr_match.3.gz
/usr/share/man/man3/nerr_pass.3.gz
/usr/share/man/man3/nerr_pass_ctx.3.gz
/usr/share/man/man3/nerr_register.3.gz
/usr/share/man/man3/skipDelete.3.gz
/usr/share/man/man3/skipFreeList.3.gz
/usr/share/man/man3/skipInsert.3.gz
/usr/share/man/man3/skipNewList.3.gz
/usr/share/man/man3/skipNext.3.gz
/usr/share/man/man3/skipRelease.3.gz
/usr/share/man/man3/skipSearch.3.gz
/usr/share/man/man3/wdb_keys.3.gz

References

Summary

In this tutorial we learn how to install clearsilver on CentOS 8 using yum and dnf.