Raspberry Pi_Eng_21.3.1 Installing Scrot Program


Published Book on Amazon


All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 1
All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 2


출판된 한글판 도서


최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (상)
최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (하)


Original Book Contents


21.3   <Scrot> Program - Capture Screen

 

<Scrot> program allows you to capture images from the system's screen. To do this, you need to install this program in advance.

 

21.3.1  Installing <Scrot> Program

 

Install <Scrot> program as shown below. If you run the command, it after checks the installation of the program and confirms whether or not to install the program. If you choose "Continue", the installation process begins as shown below.

 

sudo apt-get install scrot

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  giblib1

The following NEW packages will be installed:

  giblib1 scrot

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 37.5 kB of archives.

After this operation, 148 kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main giblib1 armhf 1.2.4-8 [19.0 kB]

Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main scrot armhf 0.8-13 [18.5 kB]

Fetched 37.5 kB in 1s (27.8 kB/s)

Selecting previously unselected package giblib1:armhf.

(Reading database ... 77410 files and directories currently installed.)

Unpacking giblib1:armhf (from .../giblib1_1.2.4-8_armhf.deb) ...

Selecting previously unselected package scrot.

Unpacking scrot (from .../scrot_0.8-13_armhf.deb) ...

Processing triggers for man-db ...

Setting up giblib1:armhf (1.2.4-8) ...

Setting up scrot (0.8-13) ...