• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Cdialog on Ubuntu 17.04

{{postValue.id}}

How to install Cdialog on Ubuntu 17.04

The Cdialog is a Shell Script application that display messages and present a variety of questions using dialog boxes from a shell script. It is an enhanced version of ' dialog' to work with ncurses. This tutorial explains the installation procedure of cdialog on Ubuntu 17.04.

Installation procedure

To start the installation, add the required repositories by executing the command.

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/tmp5dz6r_wu/pubring.gpg'  created
gpg: /tmp/tmp5dz6r_wu/trustdb.gpg: trustdb created
gpg: key E61380B28313A596: public key " Launchpad synergy+"  imported
gpg: Total number processed: 1
gpg:imported: 1
OK

The repositories are added to the target system. Update the repo by executing the apt-get update command.

root@linuxhelp1:~# apt-get update
Get:1 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty InRelease [15.4 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu zesty InRelease
Get:3 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]
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 [3,924 B]
Get:6 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main amd64 Packages [3,916 B]
Get:7 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main Translation-en [3,140 B]
Hit:8 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease
Fetched 205 kB in 2s (83.1 kB/s)
Reading package lists... Done

The target system is updated with the required repositories. Install the dialog package and press y to continue with the installation procedure.

root@linuxhelp1:~# apt-get install dialog -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dialog
0 upgraded, 1 newly installed, 0 to remove and 46 not upgraded.
Need to get 216 kB of archives.
After this operation, 1,138 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 dialog amd64 1.3-20160828-2 [216 kB]
Fetched 216 kB in 2s (102 kB/s)
Selecting previously unselected package dialog.
(Reading database ... 168833 files and directories currently installed.)
Preparing to unpack .../dialog_1.3-20160828-2_amd64.deb ...
Unpacking dialog (1.3-20160828-2) ...
Setting up dialog (1.3-20160828-2) ...
Processing triggers for man-db (2.7.6.1-2) ...

For using the package, type the dialog command and a list of options that can be used with the dialog will be viewed in the terminal.

root@linuxhelp1:~# dialog
cdialog (ComeOn Dialog!) version 1.3-20160828
Copyright 2000-2015,2016 Thomas E. Dickey
This is free software  see the source for copying conditions.There is NO
warranty  not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* Display dialog boxes from shell scripts *
Usage: dialog < options>  { --and-widget < options>  }
where options are " common"  options, followed by " box"  options
Special options:
[--create-rc " file" ]
Common options:
[--ascii-lines] [--aspect < ratio> ] [--backtitle < backtitle> ] [--beep]
[--beep-after] [--begin < y>  < x> ] [--cancel-label < str> ] [--clear]
[--colors] [--column-separator < str> ] [--cr-wrap] [--date-format < str> ]
[--default-button < str> ] [--default-item < str> ] [--defaultno]
[--exit-label < str> ] [--extra-button] [--extra-label < str> ]
.
.
[--no-nl-expand] [--no-ok] [--no-shadow] [--no-tags] [--nook]
[--ok-label < str> ] [--output-fd < fd> ] [--output-separator < str> ]
[--print-maxsize] [--print-size] [--print-version] [--quoted]
[--scrollbar] [--separate-output] [--separate-widget < str> ] [--shadow]
[--single-quoted] [--size-err] [--sleep < secs> ] [--stderr] [--stdout]
[--tab-correct] [--tab-len < n> ] [--time-format < str> ] [--timeout < secs> ]
[--title < title> ] [--trace < file> ] [--trim] [--version] [--visit-items]
[--week-start < str> ] [--yes-label < str> ]
Box options:
--buildlist< text>  < height>  < width>  < list-height>  < tag1>  < item1>  < status1> ...
--calendar< text>  < height>  < width>  < day>  < month>  < year> 
--checklist< text>  < height>  < width>  < list height>  < tag1>  < item1>  < status1> ...
.
.
.
--passwordform < text>  < height>  < width>  < form height>  < label1>  < l_y1>  < l_x1>  < item1>  < i_y1>  < i_x1>  < flen1>  < ilen1> ...
--pause< text>  < height>  < width>  < seconds> 
--prgbox< text>  < command>  < height>  < width> 
--programbox< text>  < height>  < width> 
--progressbox< text>  < height>  < width> 
--radiolist< text>  < height>  < width>  < list height>  < tag1>  < item1>  < status1> ...
--rangebox< text>  < height>  < width>  < min-value>  < max-value>  < default-value> 
--tailbox< file>  < height>  < width> 
--tailboxbg< file>  < height>  < width> 
--textbox< file>  < height>  < width> 
--timebox< text>  < height>  < width>  < hour>  < minute>  < second> 
--treeview< text>  < height>  < width>  < list-height>  < tag1>  < item1>  < status1>  < depth1> ...
--yesno< text>  < height>  < width> 
Auto-size with height and width = 0. Maximize with height and width = -1.
Global-auto-size if also menu_height/list_height = 0.

To remove the dialog package, execute the following command and press y continue with the uninstallation process.

root@linuxhelp1:~# apt-get remove dialog -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
dialog
0 upgraded, 0 newly installed, 1 to remove and 46 not upgraded.
After this operation, 1,138 kB disk space will be freed.
(Reading database ... 168983 files and directories currently installed.)
Removing dialog (1.3-20160828-2) ...
Processing triggers for man-db (2.7.6.1-2) ...

Wasn' t that an easy installation procedure? The cdialog contains calender, checklist, file-selection, gauge, info, menu, message, radiolist, tailbox and time.

Tags:
michael
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is the purpose of using the Cdialog?

A

The Cdialog is a Shell Script application that display messages and present a variety of questions using dialog boxes from a shell script

Q

How to launch the Cdialog using the terminal?

A

For launch the Cdialog on terminal, use the following command as given below "cdialog"

Q

what are all the options available in the Cdialog?

A

While typing "dialog" you will get to know the options available in it along with its syntax

Q

How to install Cdialog on CentOS?

A

For the installation of the Cdialog on CentOS, use the following command as give below "yum install dialog"

Q

What is the synapsis for the Cdialog?

A

Synapsis for the Cdialog,
dialog --clear
dialog --create-rc file
dialog --print-maxsize
dialog common-options box-options

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.