Installing CVS on Linux

Using an RPM to install CVS on Linux

  • Determine redhat release
[root@iwdbugs etc]# cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
  • Determine version and processor
[root@iwdbugs etc]# uname -a
Linux shoppers.bugzilla 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux
  • Now look for the cvs rpm file for that on google (in our case we found the following on rpm.pbone.net)
RedHat 9 	archive.download.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/cvs-1.11.2-10.i386.rpm
  • Download the RPM file locally.
  • Use sftp to ftp the file to the linux server (ie. /install folder)

(NOTE: sftp always uses binary mode)

sftp root@168.122.3.4

Connecting to 168.122.3.4...
root@168.122.3.4's password:
sftp> pwd
Remote working directory: /install
put cvs-1.11.2-10.i386.rpm

Uploading cvs-1.11.2-10.i386.rpm to /install/cvs-1.11.2-10.i386.rpm
cvs-1.11.2-10.i386.rpm                        100% 1081KB   1.1MB/s   00:01
    • Install the RPM using the rpm command:
rpm -ivh cvs-1.11.2-10.i386.rpm
    • Output should look like the following:
warning: cvs-1.11.2-10.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
   1:cvs                    ########################################### [100%]
    • Confirm CVS is installed:
cvs

It's only fair to share...
Share on FacebookGoogle+Tweet about this on TwitterShare on LinkedIn

Leave a Reply