Unable to install/ use Gedit in kali linux

I'am using Kali Linux by offensive security on VMware with Windows 10 64 bit as host operating system.

I've been trying to use gedit but am not able to

sudo apt-get install gedit
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gedit
2

1 Answer

gedit is missing in the standard distribution.

Do the following (using another installed editor):

  • Run the command leafpad /etc/apt/sources.list

  • Ensure the contents of sources.list are as follows:

     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 : apt-get update

  • Now you can run : apt-get install gedit.

For more information see the articleInstalling gedit on kali linux.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like