How To Install Asciinema in Ubuntu 16.04
To Install Asciinema On Ubuntu 16.04
Asciinema is a free and open-source tool used for recording and sharing terminal sessions. As it loads the recording to the Asciinema website, it is easy for the users to easily share and exchange screencasts. This article sheds light on the installation procedure of Asciinema on Ubuntu.
To install Asciinema
Now add the repository for install the Aciinema
root@linuxhelp1:~# add-apt-repository ppa:zanchey/asciinema
More info: https://launchpad.net/~zanchey/+archive/ubuntu/asciinema
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpvo90v4t6/secring.gpg' created
gpg: keyring `/tmp/tmpvo90v4t6/pubring.gpg' created
gpg: requesting key 0F833EAD from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpvo90v4t6/trustdb.gpg: trustdb created
gpg: key 0F833EAD: public key " Launchpad PPA for David Adam" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Now update the newly added repository as follows.
root@linuxhelp1:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://ppa.launchpad.net/zanchey/asciinema/ubuntu xenial InRelease [17.5 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:5 http://ppa.launchpad.net/zanchey/asciinema/ubuntu xenial/main amd64 Packages [444 B]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:7 http://ppa.launchpad.net/zanchey/asciinema/ubuntu xenial/main i386 Packages [444 B]
Get:8 http://ppa.launchpad.net/zanchey/asciinema/ubuntu xenial/main Translation-en [200 B]
Fetched 325 kB in 1s (194 kB/s)
Reading package lists... Done
Now install the Aciinema package by using the following command.
root@linuxhelp1:~# apt-get install asciinema -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
asciinema
0 upgraded, 1 newly installed, 0 to remove and 407 not upgraded.
Need to get 13.8 kB of archives.
After this operation, 96.3 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/zanchey/asciinema/ubuntu xenial/main amd64 asciinema all 1.3.0-1 [13.8 kB]
Fetched 13.8 kB in 0s (23.7 kB/s)
Selecting previously unselected package asciinema.
(Reading database ... 176721 files and directories currently installed.)
Preparing to unpack .../asciinema_1.3.0-1_all.deb ...
Unpacking asciinema (1.3.0-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up asciinema (1.3.0-1) ...
In order to start recording in Aciinema, type Aciinema on the terminal and press enter.
root@linuxhelp1:~# asciinema
usage: asciinema [-h] [--version] {rec,play,upload,auth} ...
Record and share your terminal sessions, the right way.
positional arguments:
{rec,play,upload,auth}
rec Record terminal session
play Replay terminal session
upload Upload locally saved terminal session to asciinema.org
auth Manage recordings on asciinema.org account
optional arguments:
-h, --help show this help message and exit
--version show program' s version number and exit
example usage:
Record terminal and upload it to asciinema.org:
asciinema rec
Record terminal to local file:
asciinema rec demo.json
Record terminal and upload it to asciinema.org, specifying title:
asciinema rec -t " My git tutorial"
Record terminal to local file, " trimming" longer pauses to max 2.5 sec:
asciinema rec -w 2.5 demo.json
Replay terminal recording from local file:
asciinema play demo.json
Replay terminal recording hosted on asciinema.org:
asciinema play https://asciinema.org/a/difqlgx86ym6emrmd8u62yqu8
For help on a specific command run:
asciinema < command> -h
For removing the Aciinema use the following command.
root@linuxhelp1:~# apt-get remove asciinema -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
asciinema
0 upgraded, 0 newly installed, 1 to remove and 407 not upgraded.
After this operation, 96.3 kB disk space will be freed.
(Reading database ... 176750 files and directories currently installed.)
Removing asciinema (1.3.0-1) ...
Processing triggers for man-db (2.7.5-1) ...
Comments ( 0 )
No comments available