helpcenter/Web/Controls/Help/Desktop/Documents/Linux/DesktopLinuxInstallUbuntu/DesktopLinuxInstallUbuntu.ascx

89 lines
5.5 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Control Language="C#" Inherits="BaseContentUserControls" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Installing ONLYOFFICE Desktop Editors to Debian, Ubuntu and derivatives";
MetaKeyWords = "";
MetaDescription = "Installing ONLYOFFICE Desktop Editors to Debian, Ubuntu and derivatives";
}
</script>
<div class="MainHelpCenter">
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Installing ONLYOFFICE Desktop Editors to Debian, Ubuntu and derivatives</h1>
<cc:localizecontent runat="Server" controlname="~/Controls/Help/VariousControls/Versions/DesktopEditors/DesktopEditors_Current.ascx" />
<p>The desktop version of <a href="<%=VirtualPathUtility.ToAbsolute("~/ONLYOFFICE-Editors/index.aspx")%>">online editors</a> does not require constant connection to the internet and can work with local files.</p>
<p>To install Desktop Editors, you can use one of the following options:</p>
<ul>
<li>download a .deb package from <a href="https://www.onlyoffice.com/download-desktop.aspx">our website</a>,
<div class="notehelp">Only 64-bit versions of Linux are supported.</div>
<p>After you press the download button for the required package, some browsers may suggest choosing a target directory. Select it, and the download process will start. When it is complete, run the downloaded package file to install the Desktop Editors on your computer.</p>
</li>
<li>use <a href="<%=VirtualPathUtility.ToAbsolute("~/installation/desktop-install-appimage.aspx")%>">AppImage</a>, <a href="<%=VirtualPathUtility.ToAbsolute("~/installation/desktop-install-flatpak.aspx")%>">Flatpak</a>, <a href="<%=VirtualPathUtility.ToAbsolute("~/installation/desktop-install-snap.aspx")%>">Snap</a>,</li>
<li>add the repository to your Linux OS and update it afterwards just like any other Linux application.</li>
</ul>
<p>This guide describes installing ONLYOFFICE Desktop Editors from repository.</p>
<h2 id="InstallRepo">Installing ONLYOFFICE Desktop Editors from repository</h2>
<div class="block_of_step">
<div class="screen_text">
<p>A better option to install desktop editors is to add their repository to your Linux OS. To do that:</p>
<ol>
<li>Add GPG key:
<pre><code>mkdir -p ~/.gnupg
chmod 700 ~/.gnupg
gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
chmod 644 /tmp/onlyoffice.gpg
sudo chown root:root /tmp/onlyoffice.gpg
sudo mv /tmp/onlyoffice.gpg /etc/apt/trusted.gpg.d/
</code></pre>
</li>
<li>Add desktop editors repository:
<pre><code>echo 'deb https://download.onlyoffice.com/repo/debian squeeze main' | sudo tee -a /etc/apt/sources.list.d/onlyoffice.list
</code></pre>
<div class="notehelp">While the APT package is built against Debian Squeeze, it is compatible with a number of Debian derivatives (including Ubuntu) which means you can use the same repository across all these distributions.</div>
</li>
<li>
Update the package manager cache:
<pre><code>sudo apt-get update
</code></pre>
</li>
<li>Now the editors can be easily installed using the following command:
<pre><code>sudo apt-get install onlyoffice-desktopeditors
</code></pre>
</li>
</ol>
</div>
</div>
<h2 id="Running">Running ONLYOFFICE Desktop Editors</h2>
<div class="block_of_step">
<div class="screen_text">
<p>Once the installation is over, you can run the editors using the terminal command:</p>
<pre><code>desktopeditors
</code></pre>
<p>In case you prefer to use graphical user interface, you can always find the editors in your computer <b>Application</b> menu - <b>Office</b> - <b>ONLYOFFICE</b>.</p>
<div class="screen_block">
<img alt="Run ONLYOFFICE Desktop Editors" target="run_desktop" class="screenphoto screen_guides" src="<%=VirtualPathUtility.ToAbsolute("~/images/help/Guides/small/guide156/endlessos.png")%>" />
<img alt="Run ONLYOFFICE Desktop Editors" id="run_desktop" class="bigphoto_screen" src="<%=VirtualPathUtility.ToAbsolute("~/images/help/Guides/big/guide156/endlessos.png")%>" />
<div target="run_desktop" class="screenphoto magnifier"></div>
</div>
</div>
</div>
<h2 id="Uninstalling">Uninstalling ONLYOFFICE Desktop Editors</h2>
<div class="block_of_step">
<div class="screen_text">
<p>On Debian, Ubuntu and derivatives, uninstalling apps is possible with OR without retaining application data and configuration details.</p>
<p>To <b>retain</b> app data and configuration details, enter the following command in the command line:
<pre><code>sudo apt-get remove onlyoffice-desktopeditors</code></pre>
</p>
<p>To <b>delete</b> app data and configuration details, enter the following command in the command line:
<pre><code>sudo apt-get purge onlyoffice-desktopeditors</code></pre>
</p>
</div>
</div>
</div>