Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

HOW TO INSTALL LEAFPAD LINUX TEXT EDITOR IN UBUNTU 16.04

HOW TO INSTALL LEAFPAD LINUX TEXT EDITOR IN UBUNTU 16.04

HOW TO INSTALL Leafpad LINUX TEXT EDITOR IN UBUNTU 16.04

Introduction

In this article we are going to learn How to install Leafpad Linux text editor in Ubuntu 16.04. Leafpad is a nice open source text editor for Linux. It’s not a advance text editor like vi but a simple light weight GTK+ based user friendly text editor application comes with some basic features mentioned below.

  • Print documents.
  • Search for any phrase or word & replace.
  • Copy and paste.
  • Shows the line numbers of edited text file.
  • Undo and Redo the changes.
  • You can use this application to write code for various programming languages like Jave, C, HTML, C++.
  • Word Wrap.
  • Auto Indent.
  • Change Font as you like and so on.

Leafpad Linux text editor was initially developed by Tarot Osuji on year 2004 using GTK+ programming language and released under GNU GPLv2+ license.

Follow the below steps to install Leafpad Linux text editor in Ubuntu 16.04

Before start the installation of Leafpad Linux text editor package let’s update the packages & repositories of Ubuntu 16.04 using below command.

[email protected]:~$ sudo apt-get update   # Update Packages & Repositories
[sudo] password for elinuxbook: 
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease                                                   
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease                                       
Hit:2 http://screenshots.getdeb.net xenial-getdeb InRelease             
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease    
Fetched 102 kB in 1s (56.2 kB/s)                  
Reading package lists... Done

After update the packages & repositories now we are ready to install the Leafpad Linux text editor package. To install so we don’t have to install any 3rd party PPA repository as it’s a part of default repository of Ubuntu 16.04. So to install the package use the below command.

[email protected]:~$ sudo apt-get install leafpad   # Install Leafpad Package
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  evince-gtk
The following NEW packages will be installed:
  leafpad
0 upgraded, 1 newly installed, 0 to remove and 247 not upgraded.
Need to get 110 kB of archives.
After this operation, 736 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 leafpad amd64 0.8.18.1-4 [110 kB]
Fetched 110 kB in 1s (65.2 kB/s)  
Selecting previously unselected package leafpad.
(Reading database ... 211910 files and directories currently installed.)
Preparing to unpack .../leafpad_0.8.18.1-4_amd64.deb ...
Unpacking leafpad (0.8.18.1-4) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up leafpad (0.8.18.1-4) ...

Also Read :

  • HOW TO INSTALL BLUEFISH EDITOR 2.2.7 IN UBUNTU 16.04 – A BEST TEXT EDITOR FOR LINUX
  • HOW TO INSTALL RETEXT RESTRUCTUREDTEXT EDITOR IN UBUNTU 16.04 – A MARKDOWN EDITOR FOR LINUX
  • HOW TO INSTALL KATE EDITOR (KATE TEXT EDITOR) IN UBUNTU 16.04 – A BEST LINUX TEXT EDITOR
  • HOW TO INSTALL DRPYTHON PYTHON TEXT EDITOR IN UBUNTU 16.04 – A BEST PYTHON EDITOR FOR LINUX

As you can see above we have successfully installed the Leafpad text editor package. To confirm the same refer the below command.

[email protected]:~$ sudo dpkg -l leafpad   # Confirm installed Package
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture            Description
+++-====================================-=======================-=======================-=============================================================================
ii  leafpad                              0.8.18.1-4              amd64                   GTK+ based simple text editor

Now to open the application just type the command leafpad on shell prompt. Refer the command below.

[email protected]:~$ leafpad   # Open Leafpad Linux text editor application
LEAFPAD LINUX TEXT EDITOR APPLICATION

LEAFPAD LINUX TEXT EDITOR APPLICATION

Leafpad text editor package version

LEAFPAD TEXT EDITOR PACKAGE VERSION

LEAFPAD TEXT EDITOR PACKAGE VERSION

You can also open the application graphically using Search your computer box. Refer the snapshot below.

OPEN LEAFPAD APPLICATION GRAPHICALLY

OPEN LEAFPAD APPLICATION GRAPHICALLY

To uninstall the Leafpad Linux text editor application use the below command.

[email protected]:~$ sudo dpkg -r leafpad   # Uninstall the Leafpad text editor application
(Reading database ... 211962 files and directories currently installed.)
Removing leafpad (0.8.18.1-4) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...

This is how we can install Leafpad Linux text editor in Ubuntu 16.04. If you found this article useful then Like us, Share this post on your preferred Social media, Subscribe our Newsletter OR if you have something to say then feel free to comment on the comment box below.

The post HOW TO INSTALL LEAFPAD LINUX TEXT EDITOR IN UBUNTU 16.04 appeared first on Elinuxbook: Linux Tutorials, Guides, Howtos, Tips and Tricks.



This post first appeared on Elinuxbook: Linux Tutorials, Guides, Howtos, Tips And Tricks, please read the originial post: here

Share the post

HOW TO INSTALL LEAFPAD LINUX TEXT EDITOR IN UBUNTU 16.04

×

Subscribe to Elinuxbook: Linux Tutorials, Guides, Howtos, Tips And Tricks

Get updates delivered right to your inbox!

Thank you for your subscription

×