Information about the package, cloc, which is shipped with common Linux distributions. The cloc package is designed for, Count lines of code.
Package Name:
cloc
Summary:
Count lines of code
Description:
A tool to count lines of code in various languages from a given directory.
Architecture:
noarch
Version:
1.58
Release:
4.el6
Size:
76 k
Repository:
epel
From Repository:
Licence:
GPLv2 and Artistic
Control the cloc package with the following handy commands outlined below.
yum install cloc
This command will install cloc on the server.
yum remove cloc
This command will un-install cloc on the server. When you run this command, you will be asked if you are sure that you want to remove cloc, so you have to manually confirm that you want to do this.
yum -y remove cloc
This command will un-install cloc 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 cloc when using the -y flag.
yum update cloc
This command will update cloc to the latest version. When you run this command, you will be asked if you are sure that you want to remove cloc, so you have to manually confirm that you want to do this.
yum -y update cloc
This command will update cloc 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 cloc when using the -y flag.
yum info cloc
This command will show you core information about the cloc package.
yum deplist cloc
This command will show you the dependencies for cloc. 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 cloc
This command will check if there is an update waiting on cloc. 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.