Difference between revisions of "Debian Trinity Repository Installation Instructions"
imported>SlavekB (Update section for Stretch, add preliminary section for Buster) |
(Update stable versions for R14.1.2) |
||
(35 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Installation]] |
[[Category:Installation]] |
||
− | + | This page provides instructions to '''install''', '''upgrade''' or '''remove''' Trinity Desktop Environment on your Debian system. |
|
+ | __FORCETOC__ |
||
+ | =Available versions= |
||
+ | ==TDE R14.x.y series== |
||
− | ='''Add these lines to your /etc/apt/sources.list file'''= |
||
− | '''NOTE''': deb-src lines following are optional. |
||
+ | ===Stable versions=== |
||
− | ==For Buster (Debian 10.x)== |
||
− | '''TDE R14.0.4''' |
||
+ | Packages for stable versions are available for the following Debian distributions (green rows indicates latest version): |
||
− | Buster (Debian 10.x) is not yet a stable release and it is subjected to continuous changes. Therefore there is no official TDE support for it, although TDE runs smoothly in Buster. If you are interested in installing TDE in a Buster environment, you can use the preliminary packages for the next R14.0.5 release.<br> |
||
− | Please refer to the [[Preliminary_Stable_Builds|Preliminary Stable Builds]] page for further instructions. |
||
+ | {| class="wikitable" |
||
+ | ! Version |
||
+ | ! Architectures |
||
+ | ! Notes |
||
+ | |-style="background:lightgreen" |
||
+ | | 12.x - bookworm |
||
+ | | amd64, i386, ppc64el, arm64, armhf |
||
+ | | |
||
+ | |-style="background:lightgreen" |
||
+ | | 11.x - bullseye |
||
+ | | amd64, i386, ppc64el, arm64, armhf |
||
+ | | |
||
+ | |-style="background:lightgreen" |
||
+ | | 10.x - buster |
||
+ | | amd64, i386, ppc64el, arm64, armhf |
||
+ | | |
||
+ | |- |
||
+ | | |
||
+ | | armel |
||
+ | | up to R14.0.13 |
||
+ | |- |
||
+ | | 9.x - stretch |
||
+ | | amd64, i386, ppc64el, arm64, armhf |
||
+ | | up to R14.1.1 |
||
+ | |- |
||
+ | | |
||
+ | | armel |
||
+ | | up to R14.0.13 |
||
+ | |- |
||
+ | | 8.x - jessie |
||
+ | | amd64, i386, ppc64el, arm64, armhf, armel |
||
+ | | up to R14.0.11 |
||
+ | |- |
||
+ | | 7.x - wheezy |
||
+ | | amd64, i386, armhf, armel |
||
+ | | up to R14.0.10 |
||
+ | |- |
||
+ | | 6.x - squeeze |
||
+ | | amd64, i386, armel |
||
+ | | up to R14.0.6 |
||
+ | |} |
||
+ | ===Rolling versions=== |
||
− | ==For Stretch (Debian 9.x)== |
||
− | '''TDE R14.0.4''' |
||
+ | Rolling builds are available for a broader set of versions, including <span style="color:#0000ff">testing</span> and <span style="color:#0000ff">sid</span>. |
||
− | For Stretch (Debian 9.x), although it is already released, currently there is no official version of TDE available, although TDE runs smoothly in Stretch. If you are interested in installing TDE in a Stretch environment, you can use the preliminary packages for the next R14.0.5 release. |
||
− | Please refer to the [[Preliminary_Stable_Builds|Preliminary Stable Builds]] page for further instructions. |
||
+ | * [[Preliminary_Stable_Builds|Preliminary Stable Builds]] - rolling version of current stable branch (maintenance releases) |
||
− | <!-- |
||
+ | * [[Preliminary_Testing_Builds|Preliminary Testing Builds]] - rolling version of main development branch (major/minor releases) |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian stretch main |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian stretch main |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian stretch main |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian stretch main |
||
− | --> |
||
− | ==For Jessie (Debian 8.x)== |
||
− | '''TDE R14.0.4''' |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian jessie main |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian jessie main |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian jessie main |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian jessie main |
||
+ | <div class="mw-collapsible mw-collapsed"> |
||
+ | ==TDE v3.5.13.x== |
||
+ | <div class="mw-collapsible-content"> |
||
+ | Packages for older TDE versions are available for the following Debian distributions: |
||
+ | {| class="wikitable" |
||
− | ==For Wheezy (Debian 7.x)== |
||
+ | ! Version |
||
− | '''TDE R14.0.4''' |
||
+ | ! Architectures |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian wheezy main |
||
+ | ! Notes |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian wheezy main |
||
+ | |- |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian wheezy main |
||
+ | | 7.x - wheezy |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian wheezy main |
||
+ | | amd64, i386, armel, armhf |
||
+ | | up to v3.5.13 |
||
+ | |- |
||
+ | | 6.x - squeeze |
||
+ | | amd64, i386, armel |
||
+ | | up to v3.5.13 |
||
+ | |- |
||
+ | | 5.x - lenny |
||
+ | | amd64, i386 |
||
+ | | up to v3.5.12 |
||
+ | |} |
||
+ | </div></div> |
||
+ | =Configure the package manager= |
||
− | '''TDE v3.5.13.2''' |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-v3.5.13/debian wheezy main |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-v3.5.13/debian wheezy main |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-v3.5.13/debian wheezy main |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-v3.5.13/debian wheezy main |
||
+ | Add the following lines to your /etc/apt/sources.list file. |
||
+ | {{WarningBox |
||
− | ==For Squeeze (Debian 6.x)== |
||
+ | |text=Make sure to replace <span style="color:#0000ff">'''<your-distribution-release-name>'''</span> with your actual distribution release name (for example 'bullseye' or 'buster') |
||
− | '''TDE R14.0.4''' |
||
+ | }} |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian squeeze main |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian squeeze main |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian squeeze main |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian squeeze main |
||
− | + | ===TDE R14.1.x series=== |
|
+ | <syntaxhighlight lang="sourceslist"> |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-v3.5.13/debian squeeze main |
||
− | + | deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.1.x <your-distribution-release-name> main deps |
|
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-v3.5.13/debian squeeze main |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-v3.5.13/debian squeeze main |
||
+ | # Optional sources |
||
+ | deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.1.x <your-distribution-release-name> main deps |
||
+ | </syntaxhighlight> |
||
+ | <div class="mw-collapsible mw-collapsed"> |
||
− | ==For Lenny (Debian 5.0)== |
||
− | + | ===TDE R14.0.x series=== |
|
+ | <div class="mw-collapsible-content"> |
||
− | deb http://mirror.ppa.trinitydesktop.org/trinity/trinity/debian lenny main |
||
+ | <syntaxhighlight lang="sourceslist"> |
||
− | deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity/debian lenny main |
||
− | + | deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x <your-distribution-release-name> main |
|
− | + | deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x <your-distribution-release-name> main |
|
+ | # Optional sources |
||
+ | deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x <your-distribution-release-name> main |
||
+ | deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x <your-distribution-release-name> main |
||
+ | </syntaxhighlight> |
||
+ | </div></div> |
||
+ | <div class="mw-collapsible mw-collapsed"> |
||
− | ='''Add the GPG signing key'''= |
||
+ | ===TDE v3.5.13.x=== |
||
+ | <div class="mw-collapsible-content"> |
||
+ | <syntaxhighlight lang="sourceslist"> |
||
+ | deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-v3.5.13 <your-distribution-release-name> main |
||
+ | deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-v3.5.13 <your-distribution-release-name> main |
||
+ | # Optional sources |
||
− | sudo apt-key adv --keyserver keyserver.quickbuild.io --recv-keys F5CFC95C |
||
+ | deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-v3.5.13 <your-distribution-release-name> main |
||
+ | deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-v3.5.13 <your-distribution-release-name> main |
||
+ | </syntaxhighlight> |
||
+ | </div></div> |
||
+ | =Import GPG signing key= |
||
− | ='''Install Trinity'''= |
||
− | If you are doing a fresh TDE installation, please follow the steps listed below.<br> |
||
− | If you are upgrading from version 3.5.13.x, please follow the instruction under the [[#TDEUpgrade|upgrade]] section.<br> |
||
+ | The best way to install GPG key is to manually download and install package <code>trinity-keyring</code>. The advantage is that this method of installation is not dependent on the availability of the key server. Another advantage is that the key is not integrated into the global apt keyring, but is installed as a separate file: |
||
− | '''TDE R14.0.4''' |
||
− | sudo apt-get update |
||
− | sudo aptitude install tde-trinity |
||
+ | <syntaxhighlight lang="shell-session"> |
||
− | '''TDE v3.5.13.2 / TDE v3.5.12 (Lenny only)''' |
||
+ | $ wget http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-keyring.deb |
||
− | sudo apt-get update |
||
− | + | $ sudo dpkg -i trinity-keyring.deb |
|
+ | </syntaxhighlight> |
||
+ | =Install Trinity= |
||
− | The R14.0.4 tde-trinity package is a comprehensive meta-package. To install minimalist, substitute tdebase-trinity for tde-trinity, and append tdm-trinity if you wish to use TDM as your display manager. |
||
+ | * If you are doing a '''fresh TDE installation''', please follow the steps listed below.<br> |
||
+ | * If you are '''upgrading''' from an existing version, please follow the instruction under the [[#TDEUpgrade|upgrading]] section.<br> |
||
+ | ==Fresh installation== |
||
− | ='''<span id="TDEUpgrade"></span>Upgrade from v3.5.13.x'''= |
||
− | '''NOTE''' Before upgrading from v3.5.13.x (or even KDE3), please make sure to go through this [[Tips_And_Tricks|page]] for useful tips suggested by other TDE users.<br> |
||
− | We suggest the following steps for upgrading to the R14.0.4 version. |
||
+ | The following steps are suggested for installing the latest version. |
||
− | sudo apt-get update |
||
− | sudo aptitude full-upgrade |
||
+ | {{WarningBox |
||
− | This will upgrade TDE to the new version and should complete smoothly. After these two steps, some dummy packages may still be installed on your system and could be safely removed. To perform such operation, choose one of the following optional steps.<br> |
||
+ | |text=<span style="color:#0000ff">''tde-trinity''</span> package is a comprehensive meta-package. To install a minimalist environment, replace <span style="color:#0000ff">''tde-trinity''</span> with <span style="color:#0000ff">''tdebase-trinity''</span> in the instructions below. |
||
+ | }} |
||
+ | ===TDE R14.x.y series=== |
||
− | *A. If you have previously installed kde-trinity, use: |
||
+ | <syntaxhighlight lang="shell-session"> |
||
− | sudo aptitude install tde-trinity |
||
+ | $ sudo apt-get update |
||
− | This will install all Trinity packages except the development ones. |
||
+ | $ sudo aptitude install tde-trinity |
||
+ | </syntaxhighlight> |
||
+ | <div class="mw-collapsible mw-collapsed"> |
||
+ | ===TDE v3.5.13.2=== |
||
+ | <div class="mw-collapsible-content"> |
||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sudo apt-get update |
||
+ | $ sudo aptitude install kde-trinity |
||
+ | </syntaxhighlight> |
||
+ | </div></div> |
||
+ | ===Localization=== |
||
− | *B. If you have previously installed some Trinity meta packages (such as kde-core-trinity, kdeadmin-trinity, ...) use: |
||
+ | {{TipBox |
||
− | sudo aptitude install <tde-equivalent-metapackage> |
||
+ | |text=After installing the environment, it is also a good idea to install the localization packages so that you can switch the environment to your native language. For example, for Czech you would run: <syntaxhighlight lang="shell-session">$ sudo aptitude install tde-i18n-cs-trinity</syntaxhighlight> |
||
− | where <tde-equivalent-metapackage> is the equivalent package in R14 (tde-core-trinity, tdeadmin-trinity, ...).<br> |
||
+ | }} |
||
− | This should be repeated for all installed meta packages. |
||
+ | ==<span id="TDEUpgrade"></span>Upgrading from an existing installation== |
||
− | *C. Run aptitude in interactive mode, limit the display to '~i-trinity~ddummy" and manually check/delete/upgrade unneeded packages from the ones displayed. |
||
+ | |||
+ | The following steps are suggested for upgrading to the latest version. |
||
+ | |||
+ | {{TipBox |
||
+ | |text=Before upgrading from v3.5.13.x (or even KDE3), please make sure to go through this [[Tips_And_Tricks|page]] for useful tips suggested by other TDE users. |
||
+ | }} |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sudo apt-get update |
||
+ | $ sudo aptitude full-upgrade |
||
+ | </syntaxhighlight> |
||
+ | |||
+ | This will upgrade TDE to the newer version and should complete smoothly. |
||
+ | |||
+ | If you are upgrading from an existing R14.0.x installation, you are done. |
||
+ | |||
+ | <div class="mw-collapsible mw-collapsed"> |
||
+ | If you are upgrading from v3.5.13.x, after these two steps some dummy packages may still be installed on your system and could be safely removed. |
||
+ | <div class="mw-collapsible-content"> |
||
+ | To perform such operation, choose one of the following optional steps.<br> |
||
+ | |||
+ | '''A.''' If you had previously installed <span style="color:#0000ff">''kde-trinity''</span>, install the all TDE packages except the development ones as follow. |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sudo aptitude install tde-trinity |
||
+ | </syntaxhighlight> |
||
+ | |||
+ | '''B.''' If you had previously installed some <span style="color:#0000ff">''kde meta packages''</span>, (such as kde-core-trinity, kdeadmin-trinity, ...) use the command below, where <span style="color:#0000ff">''<tde-equivalent-metapackage>''</span> is the equivalent package in R14.0.x (tde-core-trinity, tdeadmin-trinity, ...). Repeat for all meta packages there had been installed. |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sudo aptitude install <tde-equivalent-metapackage> |
||
+ | </syntaxhighlight> |
||
+ | |||
+ | '''C.''' Run aptitude in interactive mode, limit the display to <code>~i-trinity~ddummy</code> and manually check/delete/upgrade unneeded packages from the ones displayed. |
||
+ | </div></div> |
||
+ | |||
+ | =Removing Trinity= |
||
+ | |||
+ | {{TipBox | caption = Note | text = Please read the following instructions completely before starting the removal process.}} |
||
+ | |||
+ | Removing the Trinity Desktop Environment involves the following four steps: |
||
+ | |||
+ | # Uninstalling packages |
||
+ | # Removing the Trinity repository from the list of available package sources |
||
+ | # Cleaning up the package cache |
||
+ | # Removing left-over files from your home directory |
||
+ | |||
+ | <div class="mw-collapsible mw-collapsed"> |
||
+ | ==Uninstalling packages== |
||
+ | <div class="mw-collapsible-content"> |
||
+ | |||
+ | ===Using aptitude=== |
||
+ | |||
+ | If you have ''aptitude'' installed, you can simply run |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sudo aptitude purge '~i~Otrinitydesktop' |
||
+ | </syntaxhighlight> |
||
+ | |||
+ | ===Using apt-get=== |
||
+ | |||
+ | Using the standard ''apt-get'' utility to uninstall TDE and its dependencies involves the following three steps: |
||
+ | # Generating a list of all packages available from the Trinity repository |
||
+ | # Using that list to uninstall all installed packages originating from that repository |
||
+ | # Uninstalling all packages that were installed as dependencies of Trinity |
||
+ | |||
+ | To generate a list of all packages available from the Trinity repository, you will need to filter out just the package names from two files in <code>/var/lib/apt/lists</code> and write the result to a new file. The names of these files depend on three factors: The Debian release in use, the processor type the system is running on, and whether you're using the stable series or rolling-release packages. So, for example, when running the R14.1.x series on the i386 variant of Debian bullseye, the names are as follows: |
||
+ | * <code>mirror.ppa.trinitydesktop.org_trinity_deb_trinity-r14.1.x_dists_bullseye_main_binary-i386_Packages</code> |
||
+ | * <code>mirror.ppa.trinitydesktop.org_trinity_deb_trinity-builddeps-r14.1.x_dists_bullseye_main_binary-i386_Packages</code> |
||
+ | |||
+ | First, let's create a new empty file in <code>/tmp</code>, using <code>mktemp</code>: |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ mktemp /tmp/tde.XXXX |
||
+ | /tmp/tde.fB6B |
||
+ | </syntaxhighlight> |
||
+ | |||
+ | Generating a list of all Trinity packages and writing it to that file now works as follows: |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sed -n '/^Package: / s/^Package: //p' /var/lib/apt/lists/mirror.ppa.trinitydesktop.org_trinity_deb_trinity-*Packages > /tmp/tde.fB6B |
||
+ | </syntaxhighlight> |
||
+ | |||
+ | Be sure to replace the output file's name with the actual name of the file <code>mktemp</code> created on your system. |
||
+ | |||
+ | Now that we have a list of all TDE packages, we can hand that to <code>apt-get</code> for uninstallation: |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sudo apt-get remove $(cat /tmp/tde.fB6B) |
||
+ | </syntaxhighlight> |
||
+ | |||
+ | Replace <code>apt-get remove</code> with <code>apt-get purge</code> to also remove the configuration files that came with those packages. And, as above, be sure to replace the output file's name with the actual name of the file <code>mktemp</code> created on your system. |
||
+ | |||
+ | Apt will figure out which of the packages in the list are actually installed and present them for uninstallation. It will also already notify the user of a bunch of packages that "were automatically installed and are not longer required" and suggest using <code>apt autoremove</code> to uninstall them. We will take care of that in the next step. So, for now, just confirm the uninstallation of the TDE packages. |
||
+ | |||
+ | If Apt asks whether to stop the tdm deamon, say yes. We're removing TDE, after all. This will land you on the TTY that TDM was running on before. Need to switch back to the one you ran <code>apt-get</code> from using Ctrl + F1..7. |
||
+ | |||
+ | Finally, to uninstall all remaining Trinity dependencies, you will need to run |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sudo apt-get autoremove |
||
+ | </syntaxhighlight> |
||
+ | |||
+ | In case you also want to remove the configuration files that came with these packages, append <code>--purge</code> to the <code>autoremove</code> command. |
||
+ | |||
+ | {{WarningBox | caption = CAUTION | text = Beware that running <code>apt-get autoremove</code> without care can leave certain software on your system or the system as a whole in an unusable state. The command simply uninstalls all packages that were installed as dependencies of packages that are no longer installed, which might lead to the uninstallation of packages that you wanted to keep. |
||
+ | |||
+ | Be sure to read the list of packages that Apt will want to uninstall, carefully. If you want to continue to use any of the packages in that list, abort the operation, mark that package as manually installed, and then run the command again. |
||
+ | |||
+ | If you're not sure how to handle the situation, ask in the Trinity IRC channel or on the mailing list.}} |
||
+ | </div></div> |
||
+ | |||
+ | <div class="mw-collapsible mw-collapsed"> |
||
+ | ==Removing the Trinity repository from package sources== |
||
+ | <div class="mw-collapsible-content"> |
||
+ | |||
+ | Open <code>/etc/apt/sources.list</code> and either remove the Trinity repository lines or comment them by adding a hash symbol (<code>#</code>) at the beginning of each line. Then save the file and run <code>sudo apt-get update</code>. |
||
+ | </div></div> |
||
+ | |||
+ | <div class="mw-collapsible mw-collapsed"> |
||
+ | ==Cleaning up the package cache== |
||
+ | <div class="mw-collapsible-content"> |
||
+ | |||
+ | If you deactivated/removed the repo from source.list, at least run |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sudo apt-get autoclean |
||
+ | </syntaxhighlight> |
||
+ | |||
+ | This will remove all Trinity packages from the local cache. |
||
+ | |||
+ | To get rid of other packages as well, you'll have to clean out the whole package cache using |
||
+ | |||
+ | <syntaxhighlight lang="shell-session"> |
||
+ | $ sudo apt-get clean |
||
+ | </syntaxhighlight> |
||
+ | </div></div> |
||
+ | |||
+ | <div class="mw-collapsible mw-collapsed"> |
||
+ | ==Removing left-over files from your home directory== |
||
+ | <div class="mw-collapsible-content"> |
||
+ | |||
+ | Remove TDE files in <tt>$HOME</tt>. Usually these are the <tt>.tderc</tt> file and the <tt>.trinity</tt> and <tt>.qt</tt> directories. (The latter is still mistakenly used by some applications.) |
||
+ | </div></div> |
Latest revision as of 13:04, 21 April 2024
This page provides instructions to install, upgrade or remove Trinity Desktop Environment on your Debian system.
Available versions
TDE R14.x.y series
Stable versions
Packages for stable versions are available for the following Debian distributions (green rows indicates latest version):
Version | Architectures | Notes |
---|---|---|
12.x - bookworm | amd64, i386, ppc64el, arm64, armhf | |
11.x - bullseye | amd64, i386, ppc64el, arm64, armhf | |
10.x - buster | amd64, i386, ppc64el, arm64, armhf | |
armel | up to R14.0.13 | |
9.x - stretch | amd64, i386, ppc64el, arm64, armhf | up to R14.1.1 |
armel | up to R14.0.13 | |
8.x - jessie | amd64, i386, ppc64el, arm64, armhf, armel | up to R14.0.11 |
7.x - wheezy | amd64, i386, armhf, armel | up to R14.0.10 |
6.x - squeeze | amd64, i386, armel | up to R14.0.6 |
Rolling versions
Rolling builds are available for a broader set of versions, including testing and sid.
- Preliminary Stable Builds - rolling version of current stable branch (maintenance releases)
- Preliminary Testing Builds - rolling version of main development branch (major/minor releases)
TDE v3.5.13.x
Packages for older TDE versions are available for the following Debian distributions:
Version | Architectures | Notes |
---|---|---|
7.x - wheezy | amd64, i386, armel, armhf | up to v3.5.13 |
6.x - squeeze | amd64, i386, armel | up to v3.5.13 |
5.x - lenny | amd64, i386 | up to v3.5.12 |
Configure the package manager
Add the following lines to your /etc/apt/sources.list file.
TDE R14.1.x series
deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.1.x <your-distribution-release-name> main deps
# Optional sources
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.1.x <your-distribution-release-name> main deps
TDE R14.0.x series
deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x <your-distribution-release-name> main
deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x <your-distribution-release-name> main
# Optional sources
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x <your-distribution-release-name> main
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x <your-distribution-release-name> main
TDE v3.5.13.x
deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-v3.5.13 <your-distribution-release-name> main
deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-v3.5.13 <your-distribution-release-name> main
# Optional sources
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-v3.5.13 <your-distribution-release-name> main
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-v3.5.13 <your-distribution-release-name> main
Import GPG signing key
The best way to install GPG key is to manually download and install package trinity-keyring
. The advantage is that this method of installation is not dependent on the availability of the key server. Another advantage is that the key is not integrated into the global apt keyring, but is installed as a separate file:
$ wget http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-keyring.deb
$ sudo dpkg -i trinity-keyring.deb
Install Trinity
- If you are doing a fresh TDE installation, please follow the steps listed below.
- If you are upgrading from an existing version, please follow the instruction under the upgrading section.
Fresh installation
The following steps are suggested for installing the latest version.
TDE R14.x.y series
$ sudo apt-get update
$ sudo aptitude install tde-trinity
TDE v3.5.13.2
$ sudo apt-get update
$ sudo aptitude install kde-trinity
Localization
$ sudo aptitude install tde-i18n-cs-trinity
Upgrading from an existing installation
The following steps are suggested for upgrading to the latest version.
$ sudo apt-get update
$ sudo aptitude full-upgrade
This will upgrade TDE to the newer version and should complete smoothly.
If you are upgrading from an existing R14.0.x installation, you are done.
If you are upgrading from v3.5.13.x, after these two steps some dummy packages may still be installed on your system and could be safely removed.
To perform such operation, choose one of the following optional steps.
A. If you had previously installed kde-trinity, install the all TDE packages except the development ones as follow.
$ sudo aptitude install tde-trinity
B. If you had previously installed some kde meta packages, (such as kde-core-trinity, kdeadmin-trinity, ...) use the command below, where <tde-equivalent-metapackage> is the equivalent package in R14.0.x (tde-core-trinity, tdeadmin-trinity, ...). Repeat for all meta packages there had been installed.
$ sudo aptitude install <tde-equivalent-metapackage>
C. Run aptitude in interactive mode, limit the display to ~i-trinity~ddummy
and manually check/delete/upgrade unneeded packages from the ones displayed.
Removing Trinity
Removing the Trinity Desktop Environment involves the following four steps:
- Uninstalling packages
- Removing the Trinity repository from the list of available package sources
- Cleaning up the package cache
- Removing left-over files from your home directory
Uninstalling packages
Using aptitude
If you have aptitude installed, you can simply run
$ sudo aptitude purge '~i~Otrinitydesktop'
Using apt-get
Using the standard apt-get utility to uninstall TDE and its dependencies involves the following three steps:
- Generating a list of all packages available from the Trinity repository
- Using that list to uninstall all installed packages originating from that repository
- Uninstalling all packages that were installed as dependencies of Trinity
To generate a list of all packages available from the Trinity repository, you will need to filter out just the package names from two files in /var/lib/apt/lists
and write the result to a new file. The names of these files depend on three factors: The Debian release in use, the processor type the system is running on, and whether you're using the stable series or rolling-release packages. So, for example, when running the R14.1.x series on the i386 variant of Debian bullseye, the names are as follows:
mirror.ppa.trinitydesktop.org_trinity_deb_trinity-r14.1.x_dists_bullseye_main_binary-i386_Packages
mirror.ppa.trinitydesktop.org_trinity_deb_trinity-builddeps-r14.1.x_dists_bullseye_main_binary-i386_Packages
First, let's create a new empty file in /tmp
, using mktemp
:
$ mktemp /tmp/tde.XXXX
/tmp/tde.fB6B
Generating a list of all Trinity packages and writing it to that file now works as follows:
$ sed -n '/^Package: / s/^Package: //p' /var/lib/apt/lists/mirror.ppa.trinitydesktop.org_trinity_deb_trinity-*Packages > /tmp/tde.fB6B
Be sure to replace the output file's name with the actual name of the file mktemp
created on your system.
Now that we have a list of all TDE packages, we can hand that to apt-get
for uninstallation:
$ sudo apt-get remove $(cat /tmp/tde.fB6B)
Replace apt-get remove
with apt-get purge
to also remove the configuration files that came with those packages. And, as above, be sure to replace the output file's name with the actual name of the file mktemp
created on your system.
Apt will figure out which of the packages in the list are actually installed and present them for uninstallation. It will also already notify the user of a bunch of packages that "were automatically installed and are not longer required" and suggest using apt autoremove
to uninstall them. We will take care of that in the next step. So, for now, just confirm the uninstallation of the TDE packages.
If Apt asks whether to stop the tdm deamon, say yes. We're removing TDE, after all. This will land you on the TTY that TDM was running on before. Need to switch back to the one you ran apt-get
from using Ctrl + F1..7.
Finally, to uninstall all remaining Trinity dependencies, you will need to run
$ sudo apt-get autoremove
In case you also want to remove the configuration files that came with these packages, append --purge
to the autoremove
command.
apt-get autoremove
without care can leave certain software on your system or the system as a whole in an unusable state. The command simply uninstalls all packages that were installed as dependencies of packages that are no longer installed, which might lead to the uninstallation of packages that you wanted to keep.
Be sure to read the list of packages that Apt will want to uninstall, carefully. If you want to continue to use any of the packages in that list, abort the operation, mark that package as manually installed, and then run the command again.
If you're not sure how to handle the situation, ask in the Trinity IRC channel or on the mailing list.Removing the Trinity repository from package sources
Open /etc/apt/sources.list
and either remove the Trinity repository lines or comment them by adding a hash symbol (#
) at the beginning of each line. Then save the file and run sudo apt-get update
.
Cleaning up the package cache
If you deactivated/removed the repo from source.list, at least run
$ sudo apt-get autoclean
This will remove all Trinity packages from the local cache.
To get rid of other packages as well, you'll have to clean out the whole package cache using
$ sudo apt-get clean
Removing left-over files from your home directory
Remove TDE files in $HOME. Usually these are the .tderc file and the .trinity and .qt directories. (The latter is still mistakenly used by some applications.)