The make
command fails in my Ubuntu Vivid. I suspect that the libraries are too new for Gedit 3.16. Maybe you have luck with Trusty.
Download the latest 3.6 version from here
cd; wget http://ftp.gnome.org/pub/GNOME/sources/gedit/3.6/gedit-3.6.2.tar.xz
Install the development libraries
sudo apt-get build-dep gedit
Extract the archive
tar xf gedit-3.6.2.tar.xz
Configure with --prefix=/usr/local
to protect your existing installation
cd gedit-3.6.2
./configure --prefix=/usr/local
Build
make
If there was no error in the previous steps, install via checkinstall
and not with sudo make install
, checkinstall
creates and installs a deb package for you
sudu apt-get install checkinstall
sudo checkinstall
Create a desktop file
nano ~/.local/share/applications/gedit36.desktop
Add the lines below
[Desktop Entry]
Name=Gedit
GenericName=Text Editor
X-GNOME-FullName=
Comment=
Exec=/usr/local/bin/gedit
Icon=gedit
Terminal=false
Type=Application
Categories=GNOME;
StartupNotify=true
X-Ubuntu-Gettext-Domain=gedit
sudo apt-get build-dep gedit
– A.B. Aug 22 '15 at 20:22sudo checkinstall
was successfully? – A.B. Aug 22 '15 at 20:28checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran This software is released under the GNU GPL.
The package documentation directory ./doc-pak does not exist. Should I create a default set of package docs? [y]: y
Preparing package documentation...OK
Please write a description for the package. End your description with an empty line or EOF.
*** SIGINT received ***
Cleaning up...OK
Bye. `
– t q Aug 22 '15 at 20:28sudo make install
– A.B. Aug 22 '15 at 20:34/home/ggg/Downloads/gedit-3.6.2/gedit' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory
/home/ggg/Downloads/gedit-3.6.2/gedit' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/ggg/Downloads/gedit-3.6.2/gedit' make: *** [install-recursive] Error 1 – t q Aug 22 '15 at 20:35sudo apt-get build-dep gedit
produces "Reading package lists... Done E: Unable to find a source package for gedit" on Ubuntu 16.04 LTS. What can I do? – Nickolai Leschov Jan 21 '17 at 13:50