Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dot-emacs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Del Pino
dot-emacs
Commits
1ae1a63a
Commit
1ae1a63a
authored
Apr 26, 2020
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Ajout de la méthode https pour le téléchargement (merci Philippe)
parent
57676842
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Installation.html
+43
-33
43 additions, 33 deletions
Installation.html
Installation.org
+7
-1
7 additions, 1 deletion
Installation.org
Installation.pdf
+0
-0
0 additions, 0 deletions
Installation.pdf
with
50 additions
and
34 deletions
Installation.html
+
43
−
33
View file @
1ae1a63a
...
...
@@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
lang=
"fr"
xml:lang=
"fr"
>
<head>
<!-- 2020-04-2
4 ven. 17:45
-->
<!-- 2020-04-2
6 dim. 16:01
-->
<meta
http-equiv=
"Content-Type"
content=
"text/html;charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<title>
Installation
</title>
...
...
@@ -239,22 +239,22 @@ for the JavaScript code in this tag.
<h2>
Table des matières
</h2>
<div
id=
"text-table-of-contents"
>
<ul>
<li><a
href=
"#org
b882bb7
"
>
1. Installation d'Emacs
</a>
<li><a
href=
"#org
86c29bc
"
>
1. Installation d'Emacs
</a>
<ul>
<li><a
href=
"#org
1b7d628
"
>
1.1. Version proposée par la distribution
</a></li>
<li><a
href=
"#org
d29a713
"
>
1.2. Préparation de l'installation
</a></li>
<li><a
href=
"#org
1f20b2c
"
>
1.3. Nettoyage du système.
</a></li>
<li><a
href=
"#org
2a5a572
"
>
1.1. Version proposée par la distribution
</a></li>
<li><a
href=
"#org
fc7a7dd
"
>
1.2. Préparation de l'installation
</a></li>
<li><a
href=
"#org
430676e
"
>
1.3. Nettoyage du système.
</a></li>
</ul>
</li>
<li><a
href=
"#org
7f3069f
"
>
2. Récupérer la configuration
</a>
<li><a
href=
"#org
b5055a2
"
>
2. Récupérer la configuration
</a>
<ul>
<li><a
href=
"#org
54316ef
"
>
2.1. Sauvegarde de l'ancienne configuration
</a></li>
<li><a
href=
"#org
ef75cd7
"
>
2.2. Téléchargement de la configuration
</a></li>
<li><a
href=
"#org
644240d
"
>
2.1. Sauvegarde de l'ancienne configuration
</a></li>
<li><a
href=
"#org
18211a3
"
>
2.2. Téléchargement de la configuration
</a></li>
</ul>
</li>
<li><a
href=
"#org
246ab63
"
>
3. Python
</a></li>
<li><a
href=
"#org
6d995b5
"
>
4. Global
</a></li>
<li><a
href=
"#org
77cf875
"
>
5. C++
</a></li>
<li><a
href=
"#org
bce1742
"
>
3. Python
</a></li>
<li><a
href=
"#org
8656b80
"
>
4. Global
</a></li>
<li><a
href=
"#org
35f3471
"
>
5. C++
</a></li>
</ul>
</div>
</div>
...
...
@@ -286,8 +286,8 @@ certain temps. Ce ne sera évidemment plus le cas par la suite.
</div>
<div
id=
"outline-container-org
b882bb7
"
class=
"outline-2"
>
<h2
id=
"org
b882bb7
"
><span
class=
"section-number-2"
>
1
</span>
Installation d'Emacs
</h2>
<div
id=
"outline-container-org
86c29bc
"
class=
"outline-2"
>
<h2
id=
"org
86c29bc
"
><span
class=
"section-number-2"
>
1
</span>
Installation d'Emacs
</h2>
<div
class=
"outline-text-2"
id=
"text-1"
>
<p>
Pour que cette configuration fonctionne de manière optimale il faut
...
...
@@ -301,8 +301,8 @@ des paquets ou l'installer manuellement.
</p>
</div>
<div
id=
"outline-container-org
1b7d628
"
class=
"outline-3"
>
<h3
id=
"org
1b7d628
"
><span
class=
"section-number-3"
>
1.1
</span>
Version proposée par la distribution
</h3>
<div
id=
"outline-container-org
2a5a572
"
class=
"outline-3"
>
<h3
id=
"org
2a5a572
"
><span
class=
"section-number-3"
>
1.1
</span>
Version proposée par la distribution
</h3>
<div
class=
"outline-text-3"
id=
"text-1-1"
>
<p>
Pour connaître la version du système on utilise la commande
...
...
@@ -348,8 +348,8 @@ paragraphe suivant.
</div>
</div>
<div
id=
"outline-container-org
d29a713
"
class=
"outline-3"
>
<h3
id=
"org
d29a713
"
><span
class=
"section-number-3"
>
1.2
</span>
Préparation de l'installation
</h3>
<div
id=
"outline-container-org
fc7a7dd
"
class=
"outline-3"
>
<h3
id=
"org
fc7a7dd
"
><span
class=
"section-number-3"
>
1.2
</span>
Préparation de l'installation
</h3>
<div
class=
"outline-text-3"
id=
"text-1-2"
>
<p>
Pour installer Emacs manuellement (ce qui n'est pas recommandé), on
...
...
@@ -404,8 +404,8 @@ On peut vérifier à nouveau que tout s'est bien passé en exécutant
</div>
</div>
<div
id=
"outline-container-org
1f20b2c
"
class=
"outline-3"
>
<h3
id=
"org
1f20b2c
"
><span
class=
"section-number-3"
>
1.3
</span>
Nettoyage du système.
</h3>
<div
id=
"outline-container-org
430676e
"
class=
"outline-3"
>
<h3
id=
"org
430676e
"
><span
class=
"section-number-3"
>
1.3
</span>
Nettoyage du système.
</h3>
<div
class=
"outline-text-3"
id=
"text-1-3"
>
<p>
Si une version d'Emacs était déjà installée, il est probable que des
...
...
@@ -420,12 +420,12 @@ fonctionne de manière optimale, il convient de les supprimer.
</div>
</div>
<div
id=
"outline-container-org
7f3069f
"
class=
"outline-2"
>
<h2
id=
"org
7f3069f
"
><span
class=
"section-number-2"
>
2
</span>
Récupérer la configuration
</h2>
<div
id=
"outline-container-org
b5055a2
"
class=
"outline-2"
>
<h2
id=
"org
b5055a2
"
><span
class=
"section-number-2"
>
2
</span>
Récupérer la configuration
</h2>
<div
class=
"outline-text-2"
id=
"text-2"
>
</div>
<div
id=
"outline-container-org
54316ef
"
class=
"outline-3"
>
<h3
id=
"org
54316ef
"
><span
class=
"section-number-3"
>
2.1
</span>
Sauvegarde de l'ancienne configuration
</h3>
<div
id=
"outline-container-org
644240d
"
class=
"outline-3"
>
<h3
id=
"org
644240d
"
><span
class=
"section-number-3"
>
2.1
</span>
Sauvegarde de l'ancienne configuration
</h3>
<div
class=
"outline-text-3"
id=
"text-2-1"
>
<p>
Si Emacs avait déjà été utilisé sur le compte de l'utilisateur, il a
...
...
@@ -446,8 +446,8 @@ mv ~/.emacs* ~/sauvegarde.emacs-<span class="org-sh-quoted-exec">`date +%Y%m%d`<
</div>
</div>
<div
id=
"outline-container-org
ef75cd7
"
class=
"outline-3"
>
<h3
id=
"org
ef75cd7
"
><span
class=
"section-number-3"
>
2.2
</span>
Téléchargement de la configuration
</h3>
<div
id=
"outline-container-org
18211a3
"
class=
"outline-3"
>
<h3
id=
"org
18211a3
"
><span
class=
"section-number-3"
>
2.2
</span>
Téléchargement de la configuration
</h3>
<div
class=
"outline-text-3"
id=
"text-2-2"
>
<p>
Pour obtenir la configuration, il est préférable d'utiliser
<code>
git
</code>
, pour
...
...
@@ -459,12 +459,22 @@ l'installer il suffit d'exécuter la commande suivante.
</div>
<p>
On peut maintenant récupérer la configuration.
On peut maintenant récupérer la configuration, soit en si on dispose
d'un compte sur
<code>
gitlab.delpinux.fr
</code>
et qu'on y a déposé une clé
<code>
ssh
</code>
pour s'authentifier :
</p>
<div
class=
"org-src-container"
>
<pre
class=
"src src-bash"
>
git clone git@gitlab.delpinux.fr:delpino/dot-emacs.git ~/.emacs.d
</pre>
</div>
<p>
ou alors de manière anonyme
</p>
<div
class=
"org-src-container"
>
<pre
class=
"src src-bash"
>
git clone https://gitlab.delpinux.fr/delpino/dot-emacs.git ~/.emacs.d
</pre>
</div>
<p>
Il est maintenant possible de lancer Emacs. Comme on l'a dit, la
...
...
@@ -493,8 +503,8 @@ faut cependant installer quelques outils supplémentaires.
</div>
</div>
<div
id=
"outline-container-org
246ab63
"
class=
"outline-2"
>
<h2
id=
"org
246ab63
"
><span
class=
"section-number-2"
>
3
</span>
Python
</h2>
<div
id=
"outline-container-org
bce1742
"
class=
"outline-2"
>
<h2
id=
"org
bce1742
"
><span
class=
"section-number-2"
>
3
</span>
Python
</h2>
<div
class=
"outline-text-2"
id=
"text-3"
>
<p>
Pour utiliser correctement
<code>
Python
</code>
avec cette configuration, il faut
...
...
@@ -540,8 +550,8 @@ Il convient évidemment de répondre <code>y</code> à cette question.
</div>
</div>
<div
id=
"outline-container-org
6d995b5
"
class=
"outline-2"
>
<h2
id=
"org
6d995b5
"
><span
class=
"section-number-2"
>
4
</span>
Global
</h2>
<div
id=
"outline-container-org
8656b80
"
class=
"outline-2"
>
<h2
id=
"org
8656b80
"
><span
class=
"section-number-2"
>
4
</span>
Global
</h2>
<div
class=
"outline-text-2"
id=
"text-4"
>
<p>
On recommande aussi d'installer les
<code>
ggtags
</code>
.
...
...
@@ -554,8 +564,8 @@ On recommande aussi d'installer les <code>ggtags</code>.
</div>
</div>
<div
id=
"outline-container-org
77cf875
"
class=
"outline-2"
>
<h2
id=
"org
77cf875
"
><span
class=
"section-number-2"
>
5
</span>
C++
</h2>
<div
id=
"outline-container-org
35f3471
"
class=
"outline-2"
>
<h2
id=
"org
35f3471
"
><span
class=
"section-number-2"
>
5
</span>
C++
</h2>
<div
class=
"outline-text-2"
id=
"text-5"
>
<p>
Enfin, pour configurer correctement l'environnement de développement
...
...
@@ -644,7 +654,7 @@ problème.
</div>
</div>
<div
id=
"postamble"
class=
"status"
>
<p
class=
"date"
>
Created: 2020-04-2
4 ven. 17:45
</p>
<p
class=
"date"
>
Created: 2020-04-2
6 dim. 16:01
</p>
<p
class=
"validation"
><a
href=
"http://validator.w3.org/check?uri=referer"
>
Validate
</a></p>
</div>
</body>
...
...
This diff is collapsed.
Click to expand it.
Installation.org
+
7
−
1
View file @
1ae1a63a
...
...
@@ -135,10 +135,16 @@ l'installer il suffit d'exécuter la commande suivante.
sudo apt -y install git
#+END_SRC
On peut maintenant récupérer la configuration.
On peut maintenant récupérer la configuration, soit en si on dispose
d'un compte sur ~gitlab.delpinux.fr~ et qu'on y a déposé une clé ~ssh~
pour s'authentifier :
#+BEGIN_SRC bash :eval no :exports code
git clone git@gitlab.delpinux.fr:delpino/dot-emacs.git ~/.emacs.d
#+END_SRC
ou alors de manière anonyme
#+BEGIN_SRC bash :eval no :exports code
git clone https://gitlab.delpinux.fr/delpino/dot-emacs.git ~/.emacs.d
#+END_SRC
Il est maintenant possible de lancer Emacs. Comme on l'a dit, la
configuration initiale va prendre un peu de temps. Et Emacs lui même
...
...
This diff is collapsed.
Click to expand it.
Installation.pdf
+
0
−
0
View file @
1ae1a63a
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment