This guide explains how to install cfv without root privileges.
cfv is a command-line utility used to create and verify .sfv, .csv, .crc, md5, sha1 and .torrent checksum files.
Before you begin, log in to your service via SSH. If you need help, please refer to our SSH guide:
Step 1 – Prepare Your Environment
Run the following command:
mkdir -p ~/bin && echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
Step 2 – Download cfv
Download the latest supported source archive:
cd && wget -q http://downloads.sourceforge.net/project/cfv/cfv/1.18.3/cfv-1.18.3.tar.gz
Step 3 – Extract the Archive
Extract the downloaded archive:
tar xvf 1.18.3/cfv-1.18.3.tar.gz
Step 4 – Update the Installation Path
Open the Makefile:
nano ~/cfv-1.18.3/Makefile
Find the following line:
prefix=/usr/local
Change it to:
prefix=~
Press F3 and Enter to save the file, then press F2 to exit.
Step 5 – Enter the Source Directory
cd ~/cfv-1.18.3
Step 6 – Build and Install
Compile and install cfv:
make && make install
Verify the Installation
Run the following command:
cfv -h
If the help page is displayed, the installation has completed successfully.
Notes
- This installation does not require root access.
- The binary is installed into your home directory.
- If
cfvis not found after installation, log out and log back in, or runsource ~/.bashrcagain.