installare un'altra versione di gedit

Installazione, configurazione e uso di programmi e strumenti.
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

installare un'altra versione di gedit

Messaggio da bucly »

Salve a tutti,
Ho installato Ubuntu 11.10 e di default mi ha installato una versione (l'ultima) di gedit che non mi piace. Vorrei perciò reinstallare quella che avevo prima. Per cui ho scaricato il pacchetto dal sito.
Vorrei sapere ora qual'è il modo migliore di agire.
Credo che dovrei prima rimuovere quello esistente da  Ubuntu software Center e poi installare l'altro con apt-get?

grazie
nigian81
Prode Principiante
Messaggi: 229
Iscrizione: mercoledì 22 ottobre 2008, 22:30
Località: Portici

Re: installare un'altra versione di gedit

Messaggio da nigian81 »

bucly ha scritto: Credo che dovrei prima rimuovere quello esistente da  Ubuntu software Center e poi installare l'altro con apt-get?
Esatto  (good)
Solo che devi scaricare gedit dal sito, e non installarlo attraverso apt
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

Re: installare un'altra versione di gedit

Messaggio da bucly »

Una precisazione per apt-get. Dovrei inserire tutto il pacchetto

Codice: Seleziona tutto

sudo apt-get install gedit-2.30.2.tar.gz

oppure solo la versione

Codice: Seleziona tutto

sudo apt-get install gedit-2.30.2
nigian81
Prode Principiante
Messaggi: 229
Iscrizione: mercoledì 22 ottobre 2008, 22:30
Località: Portici

Re: installare un'altra versione di gedit

Messaggio da nigian81 »

La seconda.
Piuttosto, non capisco come fai a visualizzare nei repository la versione vecchia...
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

Re: installare un'altra versione di gedit

Messaggio da bucly »

No, me la ricordo
Avatar utente
vaillant
Rampante Reduce
Rampante Reduce
Messaggi: 8319
Iscrizione: domenica 15 marzo 2009, 9:54
Distribuzione: Ubuntu Server 20.04 LTS
Sesso: Maschile
Località: Modica

Re: installare un'altra versione di gedit

Messaggio da vaillant »

Se hai scaricato il pacchetti deb devi installarlo con dpkg, non con apt-get.

Codice: Seleziona tutto

sudo dpkg -i nomepacchetto.deb
Più che altro devi vedere se ci sono incompatibilità con il sistema
nigian81
Prode Principiante
Messaggi: 229
Iscrizione: mercoledì 22 ottobre 2008, 22:30
Località: Portici

Re: installare un'altra versione di gedit

Messaggio da nigian81 »

bucly ha scritto: No, me la ricordo
E vedi che non funziona questa cosa, devi installare un pacchetto che è nel repository, e quello che c'è ha il nome si "gedit" e si riferisce, a seconda della versione della distro, ad una specifica di gedit.
La 11.10 supporta la 3.2 di gedit, quindi se vuoi installare una versione precedente devi scaricarla del sito di GNOME
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

Re: installare un'altra versione di gedit

Messaggio da bucly »

Il pacchetto che ho scaricato è: gedit-2.30.2.tar.gz
nigian81
Prode Principiante
Messaggi: 229
Iscrizione: mercoledì 22 ottobre 2008, 22:30
Località: Portici

Re: installare un'altra versione di gedit

Messaggio da nigian81 »

bucly ha scritto: Il pacchetto che ho scaricato è: gedit-2.30.2.tar.gz
Non puoi installare pacchetti scaricati usando APT. Questo tool ti permette di scaricare e installare automaticamente i pacchetti presenti nei repository e quelli supportati dalla comunità.

Se hai scaricato il tar.gz, allora devi solo scompattarlo e seguire le istruzioni di installazione.
Se invece trovi il pacchetto .deb, allora devi fare come detto da vaillant
l3on4rdo

Re: installare un'altra versione di gedit

Messaggio da l3on4rdo »

cliccaci sopra col destro e vai alla voce estrai qui.
una volta scompattato, cosa ti esce?

ps: da dove lo hai scaricato?
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

Re: installare un'altra versione di gedit

Messaggio da bucly »

Casino.
L'ho scompattato ma non posso aprire il file di spiegazione perchè ho disinstallato gedit e non ho applicazioni che mi aprono questi file (nano non lo apre).
Per cui non mi rimane che trovare il pacchetto deb. Sono andato sul sito di gedit ma non lo trovo.
l3on4rdo

Re: installare un'altra versione di gedit

Messaggio da l3on4rdo »

da terminale:

Codice: Seleziona tutto

cat file_spiegazioni
ps: da dove lo hai scaricato quel pacchetto? (e due) posta il link.
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

Re: installare un'altra versione di gedit

Messaggio da bucly »

l3on4rdo

Re: installare un'altra versione di gedit

Messaggio da l3on4rdo »

eccoti i testi dei file che non riesci ad aprire.
README

Codice: Seleziona tutto

l3on4rdo@l3on4rdo-laptop:~/Scaricati/gedit-2.30.2$ cat README 
General Information
===================

This is version 2.30.2 of gedit. gedit is a small and lightweight UTF-8 text 
editor for the GNOME environment.

gedit is part of GNOME and uses the latest GTK+ and GNOME libraries.
Complete GNOME integration is featured, with support for Drag and Drop (DnD) 
from Nautilus (the GNOME file manager), the use of the GNOME help system,
the GNOME Virtual File System and the GNOME print framework.

gedit uses a Multiple Document Interface (MDI), which lets you edit more than 
one document at the same time.

gedit supports most standard editing features, plus several not found in your 
average text editor (plugins being the most notable of these).

gedit plugins may also be written in the python scripting language: to enable
python support you need the pygtk and gnome-python-desktop bindings.

Although new features are always under development, currently gedit has:

    * Complete support for UTF-8 text
    * Syntax highlighting
    * Support for editing remote files
    * Search and Replace
    * Printing and Print Previewing Support
    * File Revert
    * A complete preferences interface
    * Configurable Plugin system, with optional python support


Some of the plugins, packaged and installed with gedit include, among others:

    * Word count
    * Spell checker
    * Change case of selected text
    * File Browser
    * Automatic snippet expansion
    * Sort
    * Insert Date/Time
    * External Tools
    * Tag list

Other external plugins are also available.


gedit is released under the GNU General Public License (GPL) version 2, see
the file 'COPYING' for more information.


The official web site is:

    http://www.gedit.org

You can download the latest gedit tarball from:

    http://download.gnome.org/sources/gedit/

Information about gedit mailing lists can be found at

    http://mail.gnome.org/mailman/listinfo/gedit-list


Installation
============

gedit requires GTK+-2.16.x, GtkSourceView 2.4.x and GConf libraries.
PyGobject 2.12.x, PyGtk 2.12.x and PyGtkSourceView 2.4.x are required to
enable python plugins support.

Simple install procedure:

  % gzip -cd gedit-2.30.2.tar.gz | tar xvf - 	# unpack the sources
  % cd gedit-2.30.2				# change to the toplevel directory
  % ./configure					# run the `configure' script
  % make					# build gedit
  [ Become root if necessary ]
  % make install				# install gedit

See the file 'INSTALL' for more detailed information.


How to report bugs
==================

Bugs should be reported to the GNOME bug tracking system.
(http://bugzilla.gnome.org, product gedit). You will need to create an
account for yourself.

You can also report bugs using the GNOME program bug-buddy.

In the bug report please include:

* Information about your system. For instance:

   - What operating system and version
   - What version of X
   - What version of the gtk+, glib and gnome libraries
   - For Linux, what version of the C library

  And anything else you think is relevant.

* How to reproduce the bug. 

* If the bug was a crash, the exact text that was printed out when the
  crash occurred.

* Further information such as stack traces may be useful, but is not
  necessary. If you do send a stack trace, and the error is an X error,
  it will be more useful if the stack trace is produced running the test
  program with the --sync command line option.

See the file 'BUGS' for the list of known bugs.


Patches
=======

Patches should also be submitted to bugzilla.gnome.org. If the patch
fixes an existing bug, add the patch as an attachment to that bug
report.

Otherwise, enter a new bug report that describes the patch, and attach
the patch to that bug report.

Patches should be in unified diff form. (The -u option to GNU diff.)

If you are interested in helping us to develop gedit, please see the 
file 'AUTHOR' for contact information and/or send a message to the gedit
mailing list. See also the file 'HACKING' for more detailed information.


  The gedit team.

l3on4rdo@l3on4rdo-laptop:~/Scaricati/gedit-2.30.2$

... con cat leggi anche gli altri.

ciao
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

Re: installare un'altra versione di gedit

Messaggio da bucly »

non me l'ha fatto.
A un certo punto dice

Codice: Seleziona tutto

checking for intltool >= 0.40.0... ./configure: line 12134: intltool-update: command not found
 found
configure: error: Your intltool is too old.  You need intltool 0.40.0 or later.
Credo che mi conviene cercare un'altra versione
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

Re: installare un'altra versione di gedit

Messaggio da bucly »

ma il pacchetto deb da dove lo potrei scaricare?
nigian81
Prode Principiante
Messaggi: 229
Iscrizione: mercoledì 22 ottobre 2008, 22:30
Località: Portici

Re: installare un'altra versione di gedit

Messaggio da nigian81 »

bucly ha scritto: ma il pacchetto deb da dove lo potrei scaricare?
Sul sito non c'è, quindi non credo ci sia.
Ma scusa, giusto per curiosità, cos'ha che non va l'ultima versione?
nigian81
Prode Principiante
Messaggi: 229
Iscrizione: mercoledì 22 ottobre 2008, 22:30
Località: Portici

Re: installare un'altra versione di gedit

Messaggio da nigian81 »

bucly ha scritto: non me l'ha fatto.
A un certo punto dice

Codice: Seleziona tutto

checking for intltool >= 0.40.0... ./configure: line 12134: intltool-update: command not found
 found
configure: error: Your intltool is too old.  You need intltool 0.40.0 or later.
Credo che mi conviene cercare un'altra versione
e comunque "intltool" lo trovi nei repository. Fai

Codice: Seleziona tutto

sudo apt-get install intltool
e rilancia la configurazione
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

Re: installare un'altra versione di gedit

Messaggio da bucly »

Ci sono diverse cose differenti  fra cui alcuni plugin che mancano, nonostante abbia installato anche le dipendenze sempre da Ubuntu Software Center
bucly
Prode Principiante
Messaggi: 217
Iscrizione: domenica 5 luglio 2009, 20:28

Re: installare un'altra versione di gedit

Messaggio da bucly »

Niente altro, errore

Codice: Seleziona tutto

checking for ENCHANT... no
configure: error: Enchant library not found or too old. Use --disable-spell to build without spell plugin.
mi sono rotto mi reinstallo l'ultima versione di nuovo e basta

grazie a tutti
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti