How to install Codeslayer in Ubuntu

To install Codeslayer in Ubuntu

Codeslayer is a lightweight source code editor used in the Linux systems. It is featured with tabbed editor interface, file navigation and plugin system. User can also find and replace the codes in the editor. Installation of Codeslayer in Ubuntu is explained in this article.

Installation of Codeslayer

First add the key file for codeslayer with the following command.

root@linuxhelp:~# wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
OK


Next run the below command to create a new repository file.

root@linuxhelp:~# sh -c ' echo " deb http://archive.getdeb.net/ubuntu trusty-getdeb apps"  > >  /etc/apt/sources.list.d/getdeb.list' 


Then update the newly added repositories.

root@linuxhelp:~# apt-get update
Hit http://in.archive.ubuntu.com wily InRelease
Hit http://in.archive.ubuntu.com wily-updates InRelease               
Hit http://security.ubuntu.com wily-security InRelease                                       
Hit http://in.archive.ubuntu.com wily-backports InRelease              
Hit http://in.archive.ubuntu.com wily/main Sources                                           
Hit http://security.ubuntu.com wily-security/main Sources                         
Hit http://in.archive.ubuntu.com wily/restricted Sources                          
Get:1 http://archive.getdeb.net trusty-getdeb InRelease [8,145 B]
Hit http://security.ubuntu.com wily-security/restricted Sources                               
Hit http://in.archive.ubuntu.com wily/universe Sources                              
Hit http://in.archive.ubuntu.com wily/multiverse Sources                                                  
Hit http://security.ubuntu.com wily-security/universe Sources                                             
Hit http://in.archive.ubuntu.com wily/main amd64 Packages                                                 
Hit http://in.archive.ubuntu.com wily/restricted amd64 Packages                                           
Hit http://security.ubuntu.com wily-security/multiverse Sources                                           
Get:2 http://archive.getdeb.net trusty-getdeb/apps amd64 Packages [72.0 kB]             
Hit http://in.archive.ubuntu.com wily/universe amd64 Packages
Hit http://in.archive.ubuntu.com wily/multiverse amd64 Packages                                
Hit http://security.ubuntu.com wily-security/main amd64 Packages            
.
.
.                                                                                                                
Hit http://in.archive.ubuntu.com wily-backports/restricted i386 Packages                                                                                                             
Hit http://in.archive.ubuntu.com wily-backports/universe i386 Packages                                                                                                               
Hit http://in.archive.ubuntu.com wily-backports/multiverse i386 Packages                                                                                                             
Hit http://in.archive.ubuntu.com wily-backports/main Translation-en                                                                                                                  
Hit http://in.archive.ubuntu.com wily-backports/multiverse Translation-en                                                                                                            
Hit http://in.archive.ubuntu.com wily-backports/restricted Translation-en                                                                                                            
Hit http://in.archive.ubuntu.com wily-backports/universe Translation-en                                                                                                              
Fetched 153 kB in 11s (13.5 kB/s)                                                                                                                                                    
Reading package lists... Done


Run the below command to install the codeslayer package.

root@linuxhelp:~# apt-get install codeslayer -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libcodeslayer0
The following NEW packages will be installed:
  codeslayer libcodeslayer0
0 upgraded, 2 newly installed, 0 to remove and 252 not upgraded.
Need to get 170 kB of archives.
After this operation, 1,749 kB of additional disk space will be used.
Get:1 http://archive.getdeb.net/ubuntu/ trusty-getdeb/apps libcodeslayer0 amd64 4.3.1-1~getdeb1 [102 kB]
Get:2 http://archive.getdeb.net/ubuntu/ trusty-getdeb/apps codeslayer amd64 4.3.1-1~getdeb1 [68.1 kB]
Fetched 170 kB in 3s (46.7 kB/s)                                            
Selecting previously unselected package libcodeslayer0.
(Reading database ... 175334 files and directories currently installed.)
Preparing to unpack .../libcodeslayer0_4.3.1-1~getdeb1_amd64.deb ...
Unpacking libcodeslayer0 (4.3.1-1~getdeb1) ...
Selecting previously unselected package codeslayer.
Preparing to unpack .../codeslayer_4.3.1-1~getdeb1_amd64.deb ...
Unpacking codeslayer (4.3.1-1~getdeb1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.2~bzr0+15.10.20150627.1-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Setting up libcodeslayer0 (4.3.1-1~getdeb1) ...
Setting up codeslayer (4.3.1-1~getdeb1) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...


After installed successfully, open the Codeslayer from the Unity Dash as shown below.

Here you can type anything in the source code editor page.

Click on About option to know more about CodeSlayer.

Tag : Codeslayer
FAQ
Q
How to add the key for Codeslayer in Ubuntu?
A
To add key for Codeslayer in Ubuntu run the following command

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
Q
What does source list of Codeslayer contains?
A
Codeslayer contains all the repo files of the system package
Q
How to access the Codeslayer ?
A
After the installation of Codeslayer you can access from the menu
Q
what version of Codeslayer installed here?
A
The installed version Codeslayer is 4.3.1
Q
Does Codeslayer have a separate Key file ?
A
No. adding the package itself assigns a key package of Codeslayer