Welcome to mirror list, hosted at ThFree Co, Russian Federation.

compilation-guide.html - gitlab.com/Remmina/wiki.remmina.org.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e2363cc9b8570cd2b9614a06bc02da069c39c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!--
title: Compilation guide
description: A guide to compile Remmina from source on different operating systems
published: true
date: 2021-07-19T12:12:57.783Z
tags: 
editor: code
dateCreated: 2021-07-18T10:35:58.314Z
-->

<h2>Introduction to the guide</h2>

<p>Throughout the guide, we follow the following rules:</p>
<ul>
	<li>all commands are tested in BASH;</li>
	<li>FreeRDP repository folder is located in <code>$HOME/freerdp</code>;</li>
	<li>Remmina repository folder is located in <code>$HOME/remmina</code>.</li>
	<li>when building FreeRDP or Remmina, we always create a <code>build</code> subfolder where we actually build the program.</li>
</ul>

<blockquote class="is-warning"><p>TODO: Add a note on distros vs package managers (possible add a list of distros to the package managers) that when changing distros, the package managers are changed too, but when changing the package manager, the distro is left untouched.</p></blockquote>

<p>You can help by keeping this document updated and adding info about other distributions. You can simply edit the document, but you are required to sign up and log in.</p>

<h2>Guide configuration</h2>

<p>Below you can configure the guide for the specified distribution and/or package manager. You can also specify a Remmina version, as the guide may differ from version to version. By default, the guide contains a general guide for all tested operating systems for the latest stable Remmina version, while the differences are output using tabs.</p>

<table>
	<thead>
		<tr style='text-align: left;'>
			<th>Remmina version</th>
			<th>Package manager</th>
			<th>Distribution</th>
			<th>Distribution version</th>
			<th>Guide type</th>
			<th>Installation root</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>
				<select name='remminaVersion' onchange='main(this)'>
					<option value='1.0' style='color: green;'>1.0</option>
					<option value='1.1'>1.1</option>
					<option value='1.2'>1.2</option>
					<option value='1.3'>1.3</option>
				</select>
			</td>
			<td>
				<select name='packageManager' onchange='main(this)'>
					<option value='dnf'>DNF</option>
					<option value='pacman'>Pacman</option>
					<option value='apt'>APT</option>
					<option value='yum'>YUM</option>
					<option value='emerge'>Emerge</option>
					<option value='pkg'>PKG</option>
				</select>
			</td>
			<td>
				<select name='distro' onchange='main(this)'>
					<option value='arch'>Arch Linux</option>
					<option value='debian'>Debian</option>
					<option value='freebsd'>FreeBSD</option>
					<option value='ubuntu'>Ubuntu</option>
					<option value='fedora'>Fedora</option>
					<option value='centos'>CentOS</option>
					<option value='gentoo'>Gentoo</option>
				</select>
			</td>
			<td>
				<select name='distroVersion' onchange='main(this)'>
					<option value='1'>1</option>
					<option value='2'>2</option>
					<option value='3'>3</option>
					<option value='4'>4</option>
				</select>
			</td>
			<td>
				<select name='guideType' onchange='main(this)'>
					<option value='html'>HTMl guide</option>
					<option value='bash'>BASH script</option>
				</select>
			</td>
			<td>
				<select name='installationRoot' onchange='main(this)'>
					<option value='usr'>Default (<code>/usr</code>)</option>
					<option value='opt'>Custom (<code>/opt</code>)</option>
				</select>
			</td>
		</tr>
	</tbody>
</table>

<div id='content'>
	<h2 id='build'>Build instructions</h2>

	<h2>Remove previous installation of Remmina nad FreeRDP</h2>

	<p>It is important that no other Remmina or FreeRDP version is installed, therefore we need to remove it prior to installation.</p>

	<h3>Remmina/FreeRDP installed via package manager<h3>
		<h3 class='tabset'>Tab</h3>

		<h4>apt</h4>
		<pre>
			<code>sudo apt purge "?name(^remmina.*)" "?name(^libfreerdp.*)" \</code>
			<code>  "?name(^freerdp.*)" "?name(^libwinpr.*)"</code>
		</pre>

		<h4>dnf</h4>
		<pre>
			<code>sudo dnf -y remove freerdp\* remmina\*</code>
		</pre>

		<h4>pacman</h4>
		<pre>
			<code>sudo pacman -Rs remmina freerdp</code>
		</pre>

		<h4>yum</h4>
		<pre>
			<code>sudo yum -y remove freerdp\* remmina\*</code>
		</pre>

	<h3>Remmina/FreeRDP installed from sources<h3>
		<h3 class='tabset'>Tab</h3>

		<h4>FreeRDP</h4>

		<blockquote class="is-danger"><p>TODO: This does not work anymore (see <a href="https://github.com/FreeRDP/FreeRDP/discussions/7178">this GitHub discussion</a>).</p></blockquote>

		<pre>
			<code>cd "$HOME/freerdp" && sudo rm $(cat install_manifest.txt)</code>
		</pre>

		<h4>Remmina</h4>
		<pre>
			<code>cd "$HOME/remmina/build" && sudo make uninstall</code>
		</pre>

	<h2>Dependencies installation</h2>
	<p>The following dependencies are needed to build a full Remmina distribution, you may need to tailor it as per your needs.</p>
	<p>The distributions below are sorted alphabetically by there names and then by their versions (latest first).</p>

	<blockquote class="is-warning"><p>TODO: We might want to divide the dependencies by features (like RDP, SSH, VNC, etc).</p></blockquote>

	<h2>Clone Remmina repository</h2>

	<h2>Additional information</h2>

</div>