How to install CTorrent on Ubuntu 17.04
To install CTorrent on Ubuntu 17.04
CTorrent is a light weight and quick bit torrent client BitTorrent Client program written in C/C++ for FreeBSD and Linux. It is so simple to install CTorrent on Ubuntu and this article covers the same process.
Installing CTorrent
Before you begin with the installation of CTorrent, make sure you add its repository on your system as follows.
root@linuxhelp1:~# add-apt-repository ppa:eugenesan/ppa
This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.
+-------------------------------------------------------------------------------------+
| Disclaimer:
+-------------------------------------------------------------------------------------+
* Packages in this a nd related PPAs are for personal use only.
They developed specifically for several custom environments and may not work for you.
* Usage of packages in this PPA, in some forms, might contradict licenses of software
packaged in this and related PPAs. End users and administrator are responsible for
runtime licensing and possible legal consequences.
* Some packages provided with their dependencies while some might require additional
Ubuntu repositories and external PPAs. Below is the list of
.
.
.
gpg: keybox ' /tmp/tmpep5uscs5/pubring.gpg' created
gpg: /tmp/tmpep5uscs5/trustdb.gpg: trustdb created
gpg: key E61380B28313A596: public key " Launchpad synergy+" imported
gpg: Total number processed: 1
gpg: imported: 1
OK
Once it is done, update the newly added repo with the help of following command.
root@linuxhelp1:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]
Get:2 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty InRelease [15.4 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu zesty InRelease
Get:4 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]
Get:5 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main i386 Packages [1,108 B]
Get:6 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main amd64 Packages [1,100 B]
Get:7 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main Translation-en [1,288 B]
Hit:8 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease
Fetched 197 kB in 3s (61.9 kB/s)
Reading package lists... Done
Now is the time to install the package. Use the following command for the same purpose.
root@linuxhelp1:~# apt-get install ctorrent -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ctorrent
0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded.
Need to get 100 kB of archives.
After this operation, 230 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 ctorrent amd64 1.3.4.dnh3.3.2-5 [100 kB]
Fetched 100 kB in 1s (94.9 kB/s)
Selecting previously unselected package ctorrent.
(Reading database ... 168835 files and directories currently installed.)
Preparing to unpack .../ctorrent_1.3.4.dnh3.3.2-5_amd64.deb ...
Unpacking ctorrent (1.3.4.dnh3.3.2-5) ...
Setting up ctorrent (1.3.4.dnh3.3.2-5) ...
Processing triggers for man-db (2.7.6.1-2) ...
CTorrent has been installed. You can learn about all the options available on CTorrent by running the following command.
root@linuxhelp1:~# ctorrent
Enhanced CTorrent dnh3.3.2 Original code Copyright: YuHong(992126018601033)
WARNING: THERE IS NO WARRANTY FOR CTorrent. USE AT YOUR OWN RISK!!!
General Options:
-h/-H Show this message
-x Decode metainfo (torrent) file only, don' t download
-c Check pieces only, don' t download
-v Verbose output (for debugging)
Download Options:
-e int Exit while seed < int> hours later (default 72 hours)
-E num Exit after seeding to < num> ratio (UL:DL)
-i ip Listen for connections on specific IP address (default all/any)
-p port Listen port (default 2706 -> 2106)
-I ip Specify public/external IP address for peer connections
-u num or URL Use an alternate announce (tracker) URL
-s filename Download (" save as" ) to a different file or directory
-C cache_size Cache size, unit MB (default 16MB)
-f Force saved bitfield or seed mode (skip initial hash check)
-b filename Specify bitfield save file (default is torrent+" .bf" )
-M max_peers Max peers count (default 100)
-m min_peers Min peers count (default 1)
-z slice_size Download slice/block size, unit KB (default 16, max 128)
-n file_list Specify file number(s) to download
-D rate Max bandwidth down (unit KB/s)
-U rate Max bandwidth up (unit KB/s)
-P peer_id Set Peer ID prefix (default " -CD0303-" )
-A user_agent Set User-Agent header (default " Enhanced-CTorrent/dnh3.3.2" )
-S host:port Use CTCS server at host:port
-a Preallocate files on disk
-T Convert foreign filenames to printable text
-X command Run command upon download completion (" user exit" )
-d Daemon mode (fork to background)
-dd Daemon mode with I/O redirection
Make metainfo (torrent) file options:
-t Create a new torrent file
-u URL Tracker' s URL
-l piece_len Piece length (default 262144)
-s filename Specify metainfo file name
-p Private (disable peer exchange)
-c comment Include a comment/description
Example:
ctorrent -s new_filename -e 12 -C 32 -p 6881 example.torrent
home page: http://ctorrent.sourceforge.net/
see also: http://www.rahul.net/dholmes/ctorrent/
bug report: http://sourceforge.net/projects/dtorrent/ or dholmes@ct.boxmail.com
original author: bsdi@sina.com
If you want to remove CTorrent package from your system, use the following command.
root@linuxhelp1:~# apt-get remove ctorrent -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
ctorrent
0 upgraded, 0 newly installed, 1 to remove and 53 not upgraded.
After this operation, 230 kB disk space will be freed.
(Reading database ... 168840 files and directories currently installed.)
Removing ctorrent (1.3.4.dnh3.3.2-5) ...
Processing triggers for man-db (2.7.6.1-2) ...
Don' t you agree that it was an easy installation process? CTorrent is a also a useful tool.
Comments ( 0 )
No comments available