How to Install and uninstall CCfits on CentOS 8 server

How to Install and uninstall CCfits on CentOS 8 server

 

Follow the below steps to install CCfits package on your CentOS 8 Server.

Step 1 : Log into CentOS 8 server as ‘root’ user

Steps 2 : Run the command ‘yum install epel-release -y’ to install the EPEL repository

 

[root@server /]# yum install epel-release -y

===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
epel-release noarch 8-8.el8 extras 23 k

Transaction Summary
===================================================================================================
Install 1 Package

Total download size: 23 k
Installed size: 32 k
Is this ok [y/N]:y

 

Steps 3 : Run the command ‘dnf install CCfits’ to install CCfits package

 

# dnf install CCfits

Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
CCfits x86_64 2.5-14.el8 epel 226 k
Installing dependencies:
cfitsio x86_64 3.47-1.el8 epel 577 k

Transaction Summary
===================================================================================================
Install 2 Packages

Total download size: 803 k
Installed size: 2.5 M
Is this ok [y/N]: y

 

Steps 4 : Enter ‘y’ and press enter if yum asks for confirmation while installing the package

 
 

How to download and install CCfits rpm on CentOS 8

 

Step 1 : Log into CentOS 8 server as ‘root’ user

Step 2 : Download CCfits package from Fedoraproject website using wget command

 

wget https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/c/CCfits-2.5-14.el8.x86_64.rpm
Saving to: ‘CCfits-2.5-14.el8.x86_64.rpm’

CCfits-2.5-14.el8.x86_64 100%[=================================>] 225.57K 135KB/s in 1.7s

2020-11-13 18:48:02 (135 KB/s) – ‘CCfits-2.5-14.el8.x86_64.rpm’ saved [230984/230984]

 

Step 3 : Install the dependency cfitsio before installing the CCfits package

 

# yum install cfitsio

 

Step 4 : Run the command rpm -Uvh CCfits-2.5-14.el8.x86_64.rpm

 

[root@cca670fd3b48 /]# rpm -Uvh CCfits-2.5-14.el8.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
Updating / installing…
1:CCfits-2.5-14.el8 ################################# [100%]

 
 

How to Remove/Uninstall CCfits package on CentOS 8 server

 

Step 1 : Log into CentOS 8 server as ‘root’ user

Step 2 : Run the command ‘dnf remove CCfits’ to remove the package

 

[root@linux /]# dnf remove CCfits
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Removing:
CCfits x86_64 2.5-14.el8 @epel 831 k
Removing unused dependencies:
cfitsio x86_64 3.47-1.el8 @epel 1.7 M

Transaction Summary
===================================================================================================
Remove 2 Packages

Freed space: 2.5 M
Is this ok [y/N]: y