Computers, Programming, Technology, Music, Literature

Installing gedit on kali linux

with 6 comments


yeah, it’s really a bummer when you try to edit a file with your (our) favorite text editor gedit, and you get “command not found”. You may be better off using gvim or leafpad but when it comes to breaking the habit of using gedit, you would have a second thought of installing gedit by hook or crook. Just as in backtrack, Off you go, and try

apt-get install gedit


you get Unable to locate package gedit


You may be wondering if your sources.list should be updated. That is the answer. Update the /etc/apt/sources.list first based on your need with the list of repositories from here. [Or directly try apt-get update from the terminal and then install gedit with apt-get install gedit]

Or for a minimum configuration of repository list, in the terminal run

leafpad /etc/apt/sources.list

replace (or make sure) the contents of sources.list is as below

deb kali main contrib non-free 
deb kali/updates main contrib non-free 
deb cdrom:[Debian GNU/Linux 7.0 Kali - Official Snapshot i386 LIVE/INSTALL Binary 20130905327-07:57]/ kali contrib main non-free 

Save the changes to the sources.list and run apt-get update to update the package repositories.

apt-get update 


That’s it, once the apt-get repository is updates, you can run

apt-get install gedit

and then

gedit /etc/hosts


leafpad /etc/hosts Winking smile


Written by gmaran23

January 2, 2014 at 3:52 pm

Posted in kali

Tagged with , , ,

6 Responses

Subscribe to comments with RSS.

  1. save me 😀


    March 11, 2015 at 11:30 pm

  2. yeslamoooo m3alem =(thank you)


    November 9, 2014 at 11:26 pm

  3. 10q so really heped me

    Yonas Yona

    November 6, 2014 at 12:54 am

  4. Thanks!


    September 28, 2014 at 12:41 am

  5. very cool!


    July 17, 2014 at 4:15 pm

  6. nice post


    March 10, 2014 at 9:16 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: