Installing Siduction Linux Distro
Making sure you’re not a bot!Making sure you’re not a bot! - Notes
-
Apps to remove on fresh install
-
Remove Flameshot package
Add Flameshot to the software-removal instructions as follows:
sudo apt purge flameshot sudo apt autoremove --purge sudo apt cleanTo remove any remaining user configuration files:
rm -rf ~/.config/flameshotIf Flameshot was installed through Flatpak instead of APT, check with:
flatpak list | grep -i flameshotThen remove it with:
flatpak uninstall org.flameshot.Flameshot flatpak uninstall --unusedTo verify that it has been removed:
command -v flameshot dpkg -l | grep -i flameshot flatpak list | grep -i flameshotNo output from those commands indicates that Flameshot is no longer installed.
Below is a safe, thorough procedure for removing the applications, their Debian packages, unused dependencies, and—optionally—their personal settings and data.
The relevant Debian Sid package names are
alligator,elisa,gimp,kaddressbook,kcalc,kmail,konqueror,libreoffice,okular, andtokodon. (Debian Packages)1. Close the applications
Close all the listed applications.
Because KMail and KAddressBook use the shared Akonadi personal-information database, stop it before backing up or deleting related files:
akonadictl stop 2>/dev/null || trueIf the command is not found, continue normally.
2. Back up KMail and KAddressBook data
Skip this only when you are certain that you do not need any locally stored mail, contacts, account settings, or address books.
mkdir -p "$HOME/App-removal-backup" ( cd "$HOME" || exit tar --ignore-failed-read -czf \ "$HOME/App-removal-backup/kde-pim-backup-$(date +%F).tar.gz" \ .config/akonadi \ .config/kmail2rc \ .config/kaddressbookrc \ .local/share/akonadi \ .local/share/local-mail \ .local/share/kmail2 \ 2>/dev/null )Confirm that the backup exists:
ls -lh "$HOME/App-removal-backup/"3. Update the package information
sudo apt updateDo not run a full upgrade just to remove these applications.
4. Simulate the removal first
APT supports exact package names and quoted glob patterns. Purging removes systemwide package configuration, but it does not remove personal data stored in your home directory. (Debian Manpages)
Run this simulation:
sudo apt -s purge \ 'alligator*' \ 'elisa*' \ 'gimp*' \ 'kaddressbook*' \ 'kcalc*' \ 'kmail*' \ accountwizard \ 'kdepim-themeeditors*' \ 'konqueror*' \ 'konq-plugins*' \ 'libreoffice*' \ 'okular*' \ 'tokodon*'The
-soption means simulate; nothing is removed. (Debian Manpages)Review the packages listed under The following packages will be REMOVED.
It is generally acceptable if APT also removes application metapackages such as:
kde-standard kdeutils kdemultimedia kdepimMetapackages mostly exist to install collections of other packages. For example, Debian’s
kdemultimediametapackage includes Elisa, whilekdeutilsincludes KCalc. (Debian Packages)Do not proceed if the simulation proposes removing essential desktop components such as:
plasma-desktop plasma-workspace sddm dolphin konsole network-manager systemd linux-image-amd645. Perform the actual purge
When the simulation looks safe, run the same command without
-s:sudo apt purge \ 'alligator*' \ 'elisa*' \ 'gimp*' \ 'kaddressbook*' \ 'kcalc*' \ 'kmail*' \ accountwizard \ 'kdepim-themeeditors*' \ 'konqueror*' \ 'konq-plugins*' \ 'libreoffice*' \ 'okular*' \ 'tokodon*'APT will show the package list again. Read it before entering
Y.Why these additional package names are included
-
accountwizardis the KDE PIM email-account setup tool associated with KMail. (Debian Packages) -
KMail Header Theme Editor is supplied by
kdepim-themeeditors. Removing that package may also remove other KDE PIM theme editors, such as the contact theme editors. (docs.kde.org) -
The quoted
libreoffice*pattern removes Writer, Calc, Impress, Draw, Base, Math, language packages, help packages, and LibreOffice integration components. LibreOffice itself is a metapackage that installs its individual components. (Debian Packages) -
okular*also catches packages such asokular-data, documentation, and extra backends. (Debian Packages)
6. Remove unused dependencies
First simulate the cleanup:
sudo apt -s autoremove --purgeReview the list carefully. In particular, make sure it is not proposing to remove Plasma, Dolphin, networking, printing, Bluetooth, or another application you use.
If the list looks safe:
sudo apt autoremove --purgeSiduction’s own package-management instructions recommend
apt autoremovefor dependencies that are no longer required after removing applications. (Siduction Manual)Clear downloaded package files:
sudo apt clean7. Remove personal settings and application data
This step is what makes the removal more complete. It permanently deletes settings, caches, histories, feeds, accounts, local mail, application databases, and customizations.
Important data warning
The following deletion includes:
-
Alligator feed subscriptions and history
-
Elisa’s music database
-
GIMP brushes, plug-ins, presets, and preferences stored in your home folder
-
KMail settings and locally stored mail
-
KAddressBook settings
-
LibreOffice user profile, templates, macros, and extensions
-
Okular document history and locally stored document metadata
-
Tokodon accounts and local state
Run:
rm -rf \ "$HOME/.config/alligatorrc" \ "$HOME/.local/share/alligator" \ "$HOME/.cache/alligator" \ "$HOME/.config/elisarc" \ "$HOME/.local/share/elisa" \ "$HOME/.cache/elisa" \ "$HOME/.config/GIMP" \ "$HOME/.local/share/GIMP" \ "$HOME/.cache/gimp" \ "$HOME/.config/kaddressbookrc" \ "$HOME/.local/share/kaddressbook" \ "$HOME/.cache/kaddressbook" \ "$HOME/.config/kcalcrc" \ "$HOME/.config/kmail2rc" \ "$HOME/.config/kmailsearchindexingrc" \ "$HOME/.local/share/kmail2" \ "$HOME/.local/share/local-mail" \ "$HOME/.cache/kmail" \ "$HOME/.config/headerthemeeditorrc" \ "$HOME/.config/contactthemeeditorrc" \ "$HOME/.config/contactprintthemeeditorrc" \ "$HOME/.config/konquerorrc" \ "$HOME/.local/share/konqueror" \ "$HOME/.cache/konqueror" \ "$HOME/.config/libreoffice" \ "$HOME/.local/share/libreoffice" \ "$HOME/.cache/libreoffice" \ "$HOME/.config/okularrc" \ "$HOME/.local/share/okular" \ "$HOME/.cache/okular" \ "$HOME/.config/tokodonrc" \ "$HOME/.local/share/tokodon" \ "$HOME/.cache/tokodon"Do not put
sudobefore this command. These are files in your own home directory.8. Optional: remove the shared Akonadi database
KMail and KAddressBook store much of their data through Akonadi.
Do this only when you do not use any other Akonadi-based applications, such as:
-
KOrganizer
-
Kontact
-
Merkuro or Kalendar
-
KNotes
-
Akregator integrated with Kontact
Removing Akonadi’s personal database can erase calendars, tasks, notes, contacts, and other KDE PIM information.
After confirming that your backup exists:
akonadictl stop 2>/dev/null || true rm -rf \ "$HOME/.config/akonadi" \ "$HOME/.local/share/akonadi" \ "$HOME/.cache/akonadi"Remove remaining Akonadi resource configuration files:
find "$HOME/.config" -maxdepth 1 \ \( -iname 'akonadi*' -o -iname '*maildir*resource*' \) \ -printReview the output. To delete those files:
find "$HOME/.config" -maxdepth 1 \ \( -iname 'akonadi*' -o -iname '*maildir*resource*' \) \ -deleteDo not manually purge
akonadi-serveror KDE PIM libraries unlessapt autoremove --purgeidentifies them as unused.9. Check for Flatpak installations
APT removal does not affect Flatpak versions.
Check:
flatpak list --app --columns=application,name 2>/dev/null | grep -Ei 'alligator|elisa|gimp|kaddressbook|kcalc|kmail|konqueror|libreoffice|okular|tokodon'For every application ID shown, remove it with:
flatpak uninstall --delete-data APPLICATION_IDFor example, use the exact ID displayed by
flatpak list; do not typeAPPLICATION_IDliterally.Then remove unused Flatpak runtimes:
flatpak uninstall --unused10. Check for leftover menu shortcuts
Search for user-created desktop shortcuts:
grep -RIlE \ 'Alligator|Elisa|GIMP|KAddressBook|KCalc|KMail|Konqueror|LibreOffice|Okular|Tokodon' \ "$HOME/.local/share/applications" \ 2>/dev/nullReview any files found. Remove only shortcuts belonging to the deleted applications:
rm "$HOME/.local/share/applications/name-of-shortcut.desktop"Refresh the Plasma application database:
kbuildsycoca6 --noincrementalThen log out of Plasma and log back in.
11. Verify removal
Check for remaining installed or residual packages:
dpkg-query -W -f='${db:Status-Abbrev} ${binary:Package}\n' 2>/dev/null | grep -Ei '^(ii|rc).*(alligator|elisa|gimp|kaddressbook|kcalc|kmail|kdepim-themeeditors|konqueror|libreoffice|okular|tokodon)'No output means no matching installed packages or residual system configuration remains.
Check whether executable commands still exist:
for app in alligator elisa gimp kaddressbook kcalc kmail konqueror libreoffice okular tokodon; do if command -v "$app" >/dev/null 2>&1; then echo "Still present: $app -> $(command -v "$app")" else echo "Removed: $app" fi doneFinally, reboot:
systemctl rebootAfter reboot, the applications should be absent from the application menu, their Debian packages should be purged, and—provided you completed the optional data-removal steps—their personal settings and application data should also be gone.
-
-
Getting sudo access
apt update
apt install sudo
adduser ben sudo -
Installing QualCoder
Recommended: use the official Linux executable
QualCoder 3.8.2 provides a standalone Linux executable intended to work on recent Debian-based distributions. It is not a
.debpackage, so it should be installed in your home directory rather than throughapt. (GitHub)1. Confirm your processor architecture
uname -mContinue with the binary method when the result is:
x86_642. Download the Linux executable
Either expand Assets on the release page and download:
QualCoder_3_8_2_ubuntuOr download it directly:
wget -O ~/Downloads/QualCoder_3_8_2_ubuntu \ https://github.com/ccbogel/QualCoder/releases/download/3.8.2/QualCoder_3_8_2_ubuntu3. Install it under your account
mkdir -p ~/.local/opt/qualcoder-3.8.2 mkdir -p ~/.local/bin install -m 755 \ ~/Downloads/QualCoder_3_8_2_ubuntu \ ~/.local/opt/qualcoder-3.8.2/qualcoder ln -sfn \ ~/.local/opt/qualcoder-3.8.2/qualcoder \ ~/.local/bin/qualcoderStart it with:
~/.local/bin/qualcoderThe release instructions specifically require making the Linux file executable before running it. (GitHub)
Add QualCoder to the KDE application menu
Run:
mkdir -p ~/.local/share/applications cat > ~/.local/share/applications/qualcoder.desktop <<EOF [Desktop Entry] Type=Application Name=QualCoder Comment=Qualitative data analysis software Exec=$HOME/.local/bin/qualcoder Icon=applications-science Terminal=false Categories=Education;Science;Office; StartupNotify=true EOF chmod +x ~/.local/share/applications/qualcoder.desktop update-desktop-database ~/.local/share/applications 2>/dev/null || trueQualCoder should then appear in KDE’s application launcher. Logging out should not be necessary, although the launcher may need to be reopened.
Audio and video support
VLC is optional but needed for QualCoder’s audio/video coding features;
ffmpegsupports waveform and related media processing. (GitHub)sudo apt update sudo apt install vlc ffmpeg libxcb-cursor0Then restart QualCoder.
Source installation fallback
Use this when the standalone executable fails, audio/video support is not detected, or you prefer a Python virtual environment. The project recommends source installations inside a virtual environment, and QualCoder currently requires Python 3.12 or newer with PyQt6. (GitHub)
sudo apt update sudo apt install \ python3 \ python3-venv \ python3-pip \ wget \ vlc \ ffmpeg \ libxcb-cursor0Check Python:
python3 --versionThen install QualCoder:
mkdir -p ~/.local/share cd ~/.local/share wget -O QualCoder-3.8.2.tar.gz \ https://github.com/ccbogel/QualCoder/archive/refs/tags/3.8.2.tar.gz tar -xzf QualCoder-3.8.2.tar.gz cd QualCoder-3.8.2 python3 -m venv env source env/bin/activate python -m pip install --upgrade pip python -m pip install -r requirements.txt cd src python -m qualcoderThe official Linux instructions use this same
venv→pip install -r requirements.txt→python -m qualcoderprocedure. (GitHub)Important for your pCloud setup
Keep the active QualCoder project folder on your local internal drive, such as:
/home/ben/Documents/QualCoder ProjectsDo not actively edit a project located inside pCloud or another cloud-synchronized folder. A QualCoder maintainer warns that running the project from cloud storage risks database corruption. Close QualCoder before copying a backup into pCloud. (GitHub)
-
Reestablishing F12 keyboard shortcut to access Yakuake dropdown terminal and removes Inspector code in Firefox
The screenshot confirms that F12 is reaching Firefox, which opens Developer Tools. KDE is therefore not currently capturing F12 as Yakuake’s global shortcut.
Re-register F12 for Yakuake
-
Close Firefox Developer Tools by clicking the × at the upper-right of the developer panel.
-
Open Yakuake manually from the application menu.
-
In Yakuake, open the ☰ menu.
-
Select Configure Keyboard Shortcuts…
-
Locate Open/Retract Yakuake.
-
Select Custom, click the shortcut box, and press F12.
-
Click Apply, then OK.
-
Leave Yakuake running and test F12 while Firefox is focused.
Yakuake normally uses F12 to open and retract the terminal. (KDE UserBase)
If F12 is already shown but does not work
The shortcut registration may be stale. This has occurred with Yakuake under Plasma 6, and removing and recreating its shortcut entry has restored it for other users. (Reddit)
-
Open System Settings.
-
Go to Keyboard → Shortcuts.
-
Search for:
Yakuake-
Select the Yakuake entry.
-
Remove the current F12 assignment from Open/Retract Yakuake.
-
Hover over the Yakuake application entry and click the trash-can icon.
-
Click Apply.
-
Close and reopen System Settings.
-
Return to Keyboard → Shortcuts.
-
Choose Add New → Application…
-
Select Yakuake.
-
Assign F12 to Open/Retract Yakuake.
-
Click Apply.
-
Log out of Siduction and log back in.
Make Yakuake start automatically
Open:
System Settings → Autostart
If Yakuake is not listed:
-
Click Add…
-
Select Add Application…
-
Choose Yakuake
-
Log out and back in.
Once KDE successfully registers F12 globally, Firefox should no longer receive that keystroke, so Developer Tools should not open.
Verify the saved shortcut
Run this in a terminal:
grep -A6 '^\[yakuake\]' ~/.config/kglobalshortcutsrcYou should see a line similar to:
toggle-window-state=F12,F12,Open/Retract YakuakeIf the Yakuake section is missing even after applying the GUI changes, the remove Yakuake → Apply → add Yakuake again procedure above is the most appropriate repair.
-
-
Gaining permission to backup PC to pCloud
-
Missing main folders in Dolphin (fix)
Dolphin’s Videos shortcut points to
/home/ben/Videos, but that folder is currently missing. Dolphin’s Places panel contains shortcuts to locations such as the standard XDG folders. (KDE Documentation)Easiest correction
Click Create missing folder in the red notification bar.
That should recreate:
/home/ben/VideosThe new folder will be empty; this does not restore any videos that may previously have been stored there.
Recommended terminal correction
Open Konsole and run these commands as your normal user, without
sudo:mkdir -p "$HOME/Videos" xdg-user-dirs-update --set VIDEOS "$HOME/Videos" xdg-user-dir VIDEOSThe final command should return:
/home/ben/VideosThe
xdg-user-dirs-update --setcommand officially sets the location of an individual standard folder such asVIDEOS. (Debian Manpages)Verify the folder and ownership:
ls -ld "$HOME/Videos"You should see
ben benas the owner and group.Restart Dolphin
Close all Dolphin windows and reopen it. Alternatively, run:
kquitapp6 dolphin 2>/dev/null dolphin "$HOME/Videos" &If the folder has the wrong ownership
Only when
ls -ldshows thatrootowns it, run:sudo chown "$USER":"$(id -gn)" "$HOME/Videos" chmod u+rwx "$HOME/Videos"Then reopen Dolphin. The Videos entry should work normally again.
-
Installing fonts: Microsoft, Google, and Apple
The safest approach is to install Microsoft’s redistributable core fonts and Google fonts from Debian packages, then install Apple fonts manually from Apple’s official downloads. Run the commands as your normal user
ben; usesudoonly where shown.1. Make sure Debian
contribis enabledMicrosoft’s core-font installer is in Debian’s
contribrepository. (Debian Packages)Check your Debian repository configuration:
grep -RsnE '^(deb |Components:)' \ /etc/apt/sources.list \ /etc/apt/sources.list.d 2>/dev/nullLook for a Debian Sid entry containing:
main contrib non-free non-free-firmwareFor a
.sourcesfileEdit the existing Debian source file shown by the previous command, commonly:
sudo nano /etc/apt/sources.list.d/debian.sourcesMake sure its components line resembles:
Components: main contrib non-free non-free-firmwareFor an older
.listfileEdit the appropriate file:
sudo nano /etc/apt/sources.listThe Debian Sid line should end with:
sid main contrib non-free non-free-firmwareDo not create a duplicate Debian repository entry. Debian supports both traditional
.listfiles and newer deb822.sourcesfiles. (Debian Manpages)Update APT:
sudo apt update2. Install Microsoft fonts
Run:
sudo apt install \ ttf-mscorefonts-installer \ fonts-liberation \ fonts-crosextra-carlito \ fonts-crosextra-caladeaDuring installation, a license screen may appear:
-
Press Tab until
<OK>is selected. -
Press Enter.
-
Select Yes to accept the license.
-
Press Enter.
The
ttf-mscorefonts-installerpackage installs Microsoft’s older web-font collection, including Arial, Times New Roman, Courier New, Georgia, Verdana, Trebuchet MS, Comic Sans MS, Impact and Webdings. It does not install newer Microsoft fonts such as Calibri, Cambria, Aptos or Segoe UI. (Debian Packages)The additional free fonts provide document-compatible alternatives:
-
Carlito is metrically compatible with Calibri.
-
Caladea is metrically compatible with Cambria.
-
Liberation Sans, Serif and Mono are compatible with Arial, Times New Roman and Courier New document layouts. (Debian Packages)
If the Microsoft installer did not finish correctly, run:
sudo dpkg-reconfigure ttf-mscorefonts-installerThen check its status:
dpkg -l ttf-mscorefonts-installerThe line should begin with:
ii3. Install Google fonts
This recommended collection provides Roboto, Noto, emoji support and several widely used Google Fonts families:
sudo apt install \ fonts-noto-core \ fonts-noto-ui-core \ fonts-noto-mono \ fonts-noto-color-emoji \ fonts-roboto \ fonts-open-sans \ fonts-montserratDebian Sid currently provides the Noto core, UI, monospace and color-emoji packages, as well as Roboto. (Debian Packages)
For Chinese, Japanese and Korean support, add:
sudo apt install fonts-noto-cjkThat package is relatively large because it includes Noto Sans, Serif and Mono variants for Japanese, Korean, Simplified Chinese and Traditional Chinese. (Debian Packages)
Optional: install the complete Noto collection
sudo apt install fonts-notoThe
fonts-notometapackage is intended to install the broad Noto collection, so it will consume considerably more space and add many font families to application menus. (Debian Packages)4. Install Apple fonts
Apple’s proprietary system fonts are generally not supplied as ordinary Debian packages. Apple provides fonts such as SF Pro, SF Compact and related design resources through its official developer-design resources. Their use remains subject to Apple’s accompanying license terms. (Apple Developer)
Recommended Apple-like open-source alternative
Install Inter:
sudo apt install fonts-interInter is designed for high legibility in computer interfaces and provides an excellent Linux desktop alternative to Apple’s San Francisco family. (Debian Packages)
You may also install DejaVu:
sudo apt install fonts-dejavuInstalling actual Apple font files
First download the desired font package from Apple’s official design-resources page using Firefox. It will normally be downloaded as a
.dmgfile.Install 7-Zip, which can extract DMG and XAR-based package files:
sudo apt install 7zipDebian Sid’s
7zippackage supports DMG and XAR extraction. (Debian Packages)Create extraction and font directories:
mkdir -p "$HOME/apple-font-extract" mkdir -p "$HOME/.local/share/fonts/Apple"List the downloaded DMG files:
find "$HOME/Downloads" -maxdepth 1 -type f -iname '*.dmg'Extract the downloaded Apple package, replacing the filename with the actual file shown above:
cd "$HOME/apple-font-extract" 7z x "$HOME/Downloads/SF-Pro.dmg" -oSF-ProFind any package files inside it:
find "$HOME/apple-font-extract" -type f -iname '*.pkg'Extract the package. Adjust the path to match the result from the previous command:
mkdir -p "$HOME/apple-font-extract/package" 7z x \ "$HOME/apple-font-extract/SF-Pro/SF Pro Fonts.pkg" \ -o"$HOME/apple-font-extract/package"Look for font files:
find "$HOME/apple-font-extract" -type f \ \( -iname '*.otf' -o -iname '*.ttf' -o -iname '*.ttc' \)If font files are found, copy them into your personal Apple-font directory:
find "$HOME/apple-font-extract" -type f \ \( -iname '*.otf' -o -iname '*.ttf' -o -iname '*.ttc' \) \ -exec cp -n '{}' "$HOME/.local/share/fonts/Apple/" \;Apple occasionally changes the internal structure of its downloadable packages. If the first package extraction produces a file named
Payload, extract it too:find "$HOME/apple-font-extract" -type f -name 'Payload'Then, using the actual path shown:
mkdir -p "$HOME/apple-font-extract/payload" 7z x \ "$HOME/apple-font-extract/package/Payload" \ -o"$HOME/apple-font-extract/payload"Copy the newly extracted fonts:
find "$HOME/apple-font-extract/payload" -type f \ \( -iname '*.otf' -o -iname '*.ttf' -o -iname '*.ttc' \) \ -exec cp -n '{}' "$HOME/.local/share/fonts/Apple/" \;Do not use
sudofor files installed under:~/.local/share/fonts5. Install individual Google Fonts manually
For a Google Fonts family that is not available through APT:
-
Download the family as a ZIP from the official Google Fonts site. (Google Fonts)
-
Create a directory:
mkdir -p "$HOME/.local/share/fonts/Google" mkdir -p "$HOME/google-font-extract"- Extract the ZIP, replacing the filename:
unzip "$HOME/Downloads/FontFamily.zip" \ -d "$HOME/google-font-extract"- Copy the fonts:
find "$HOME/google-font-extract" -type f \ \( -iname '*.otf' -o -iname '*.ttf' -o -iname '*.ttc' \) \ -exec cp -n '{}' "$HOME/.local/share/fonts/Google/" \;6. Refresh the font cache
After all installations:
fc-cache -f -vThe
fontconfigpackage providesfc-cache,fc-listandfc-match. (Debian Packages)Log out of Plasma and log back in so all applications reload their font lists.
7. Verify the fonts
Microsoft:
fc-match Arial fc-match "Times New Roman" fc-match Carlito fc-match CaladeaGoogle:
fc-match Roboto fc-match "Noto Sans" fc-match "Noto Sans Mono" fc-match "Noto Color Emoji" fc-match MontserratApple:
fc-list | grep -iE 'SF Pro|SF Compact|New York|San Francisco'See all installed matching fonts:
fc-list | grep -iE \ 'Arial|Times New Roman|Calibri|Cambria|Carlito|Caladea|Roboto|Noto|Montserrat|SF Pro'A practical single-command collection for your teaching and document work is:
sudo apt install \ ttf-mscorefonts-installer \ fonts-liberation \ fonts-crosextra-carlito \ fonts-crosextra-caladea \ fonts-noto-core \ fonts-noto-ui-core \ fonts-noto-mono \ fonts-noto-color-emoji \ fonts-roboto \ fonts-open-sans \ fonts-montserrat \ fonts-inter4: https://packages.debian.org/unstable/fonts/?utm_source=chatgpt.com “Software Packages in “sid”, Subsection fonts”
-
-
Installing R Project
Recommended R setup for Siduction/Debian
These instructions assume you are installing R on your current Siduction system, which follows Debian sid/unstable.
The most practical setup is:
-
R — the statistical programming language and computation engine.
-
RStudio Desktop — the user-friendly graphical interface.
-
Quarto — for producing Word, HTML, PDF, presentation, and book-style reports.
-
TinyTeX — needed only when producing PDF documents.
-
Selected R packages for data analysis, visualization, teaching, and academic research.
On Debian sid, the official Debian repositories currently provide R 4.6.1, so you should not add a separate CRAN repository. CRAN itself recommends using the official Debian sid packages because sid normally contains the latest stable R release. (CRAN)
1. Confirm your system architecture
Open Konsole and run:
dpkg --print-architecture grep -E '^(ID|VERSION|VERSION_CODENAME)=' /etc/os-releaseYour architecture will probably be:
amd64The RStudio package below is for
amd64. R itself is also available for Debianarm64, but Posit’s current Linux RStudio download is listed foramd64. (Posit Docs)
2. Update Siduction
Before installing R, update your packages:
sudo apt update sudo apt full-upgradeRestart if the update includes a new kernel, systemd, graphics stack, or major KDE components:
systemctl reboot
3. Install R
Install the complete base R system and the development files needed to compile additional R packages:
sudo apt install r-base r-base-devThe
r-basepackage includes R and the packages recommended by the R Core Team. Ther-base-devpackage supplies the basic tools needed when an R package must be compiled from source. (CRAN)You can also install the local HTML documentation:
sudo apt install r-base-html r-doc-htmlVerify the installation
Run:
R --versionYou should see output beginning with something similar to:
R version 4.6.1Then test R:
RAt the R prompt, enter:
2 + 2 sessionInfo()Exit R with:
q()When asked whether to save the workspace, answer:
n
4. Install common system libraries
On Linux, some R packages need Debian development libraries. Installing the following now prevents many common package-installation errors:
sudo apt install \ build-essential \ gfortran \ git \ curl \ wget \ ca-certificates \ libcurl4-openssl-dev \ libssl-dev \ libxml2-dev \ libgit2-dev \ libfontconfig1-dev \ libharfbuzz-dev \ libfribidi-dev \ libfreetype-dev \ libpng-dev \ libtiff-dev \ libjpeg-devThese support packages that process websites, XML, fonts, text rendering, graphics, Git repositories, and encrypted connections.
Optional GIS and mapping support
Install these only when you expect to use maps, geospatial data, or packages such as
sf:sudo apt install \ libgdal-dev \ libgeos-dev \ libproj-dev \ libudunits2-dev
5. Install RStudio Desktop
R by itself primarily presents a terminal console. RStudio Desktop supplies a graphical editor, data viewer, package manager, plot viewer, help system, debugging tools, project management, and direct support for Quarto and R Markdown. (Posit)
As of August 3, 2026, the current stable release is RStudio 2026.07.1-147. Posit officially lists its
.debpackage for Debian 12 and Debian 13. Siduction is based on Debian sid, so it will usually work, but sid is not one of Posit’s explicitly supported distributions. (Posit Docs)Download and install it:
cd ~/Downloads wget https://download1.rstudio.org/electron/jammy/amd64/rstudio-2026.07.1-147-amd64.deb sudo apt install ./rstudio-2026.07.1-147-amd64.debUsing
apt install ./package.deb, rather thandpkg -i, allows APT to resolve required dependencies automatically.Once installed, launch it from:
Application Launcher → Development → RStudioOr run:
rstudioAfter confirming that it works, remove the installer:
rm ~/Downloads/rstudio-2026.07.1-147-amd64.deb
6. Confirm that RStudio sees R
In the RStudio Console, run:
R.version.string R.home() .libPaths()You should see an R version and an R installation directory such as:
/usr/lib/RYour user-installed packages will normally be stored somewhere under:
~/R/Do not start RStudio using
sudo. Packages intended for your personal account should be installed as your regular user.
7. Configure RStudio for easier use
Open:
Tools → Global OptionsGeneral settings
Under General → Basic:
-
Uncheck Restore .RData into workspace at startup.
-
Set Save workspace to .RData on exit to Never.
-
Leave the initial working directory at its default.
-
Use RStudio Projects instead of changing directories manually.
Posit recommends beginning each session with a blank workspace rather than silently restoring objects from an earlier session. (Posit Docs)
Code settings
Under Code → Editing:
-
Enable syntax highlighting.
-
Enable automatic code completion.
-
Enable matching parentheses and brackets.
-
Enable code diagnostics.
-
Enable soft wrapping for long lines if you prefer it.
Under Code → Saving:
- Set the default text encoding to UTF-8.
Appearance
Under Appearance:
-
Increase the editor font size if needed.
-
Select a light or dark editor theme.
-
Adjust the overall interface zoom through:
View → Zoom In View → Zoom OutRStudio supports interface zooming, multiple editor themes, keyboard navigation, and reduced-motion settings. (Posit Docs)
Pane layout
Under Pane Layout, a useful arrangement is:
-
Upper left: Source
-
Lower left: Console
-
Upper right: Environment and History
-
Lower right: Files, Plots, Packages, Help, and Viewer
RStudio organizes work into four primary panes, although their arrangement can be changed. (Posit Docs)
Accessibility
Under Accessibility:
-
Enable Reduce User Interface Animations when desired.
-
Adjust screen-reader or keyboard-navigation settings when applicable.
8. Use RStudio Projects
Create a separate project for every substantial analysis, course, study, or manuscript:
File → New Project → New Directory → New ProjectFor example:
~/Documents/R-Projects/ ├── Academic-Writing-Research/ ├── Discourse-Analysis-Study/ ├── Student-Survey-Analysis/ └── Newsletter-Analytics/A typical project might contain:
Student-Survey-Analysis/ ├── data/ ├── scripts/ ├── output/ ├── figures/ ├── documents/ └── Student-Survey-Analysis.RprojProjects make file paths, package environments, scripts, and outputs easier to manage. RStudio’s official workflow uses File → New Project to establish a project-specific working environment. (Posit Docs)
9. Install a friendlier R package manager
R’s standard package installer is:
install.packages("package-name")I recommend installing
pak, which gives clearer dependency information and generally provides a more convenient package installation workflow:install.packages("pak")You can then install packages with:
pak::pkg_install("package-name")The official
pakdocumentation also offers self-contained Linux builds and supports installing packages from CRAN, Git repositories, Bioconductor, and other sources. (R-lib)
10. Install recommended R packages
Paste the following groups into the RStudio Console. You do not have to install every group immediately.
Essential data-analysis packages
pak::pkg_install(c( "tidyverse", "janitor", "skimr", "here", "rio" ))These provide:
-
tidyverse: data preparation, transformation, visualization, and importing. -
janitor: cleaning variable names and creating tabulations. -
skimr: readable descriptive summaries. -
here: reliable project-relative file paths. -
rio: straightforward importing and exporting based on file extensions.
The
tidyverseinstalls a coordinated collection that includes packages such asdplyr,ggplot2,readr,readxl,tidyr,stringr,lubridate,haven, andreprex. Theriopackage simplifies importing and exporting formats such as Excel, CSV, SPSS, Stata, and other common data files. (CRAN)Statistical and educational research packages
pak::pkg_install(c( "psych", "car", "effectsize", "performance", "parameters", "report", "gtsummary" ))This group is useful for:
-
Descriptive statistics
-
Reliability analysis
-
Factor analysis
-
Regression diagnostics
-
Effect sizes
-
Model summaries
-
Publication-oriented statistical tables
Tables and Office-document output
pak::pkg_install(c( "gt", "flextable", "officer", "openxlsx", "writexl" ))This group is useful for producing:
-
Formatted statistical tables
-
Microsoft Word documents
-
PowerPoint content
-
Excel workbooks
-
Publication-ready output
User-friendly graphical tools
pak::pkg_install(c( "esquisse", "DataEditR" ))esquisseprovides a drag-and-drop interface for creatingggplot2visualizations and gives you the corresponding reproducible R code.DataEditRsupplies a spreadsheet-like interface for viewing, entering, filtering, and editing data. (CRAN)Launch them with:
esquisse::esquisser()and:
DataEditR::data_edit()Reproducibility tools
pak::pkg_install(c( "renv", "quarto" ))The
renvpackage gives each project its own package library and records exact package versions in anrenv.lockfile. This helps keep long-term studies and collaborative projects reproducible. (rstudio.github.io)To enable it in a project:
renv::init()After adding or updating packages:
renv::snapshot()To recreate the same environment on another computer:
renv::restore()
11. Install PDF support with TinyTeX
RStudio already includes a stable version of Quarto, so you normally do not need to install Quarto separately at the system level. Quarto can produce HTML and Microsoft Word files immediately. PDF output additionally requires a LaTeX installation. (Posit Docs)
TinyTeX is a relatively small LaTeX distribution designed to work well with R and Quarto. It installs in your home directory and does not require administrator privileges. (Yihui Xie)
In the RStudio Console, run:
install.packages("tinytex") tinytex::install_tinytex()Do not run RStudio as root and do not use
sudofor this command.Verify it:
tinytex::is_tinytex()The result should be:
[1] TRUERestart RStudio after installation.
12. Test Quarto
In RStudio, choose:
File → New File → Quarto DocumentEnter a title and select HTML initially. RStudio will create a
.qmdfile.Replace its contents with:
--- title: "My First R Report" format: html --- ## Sample analysis ```{r} library(tidyverse) scores <- tibble( group = c("Group A", "Group B", "Group C"), average = c(81, 87, 84) ) ggplot(scores, aes(group, average)) + geom_col() + labs( title = "Average Scores", x = "Group", y = "Average" )Click **Render**. Quarto can render `.qmd` documents as HTML, Word, PDF, presentations, websites, and books. RStudio also supplies a Visual Editor for working with Quarto without manually entering all Markdown formatting. (Quarto) To test Word output, change: ```yaml format: htmlto:
format: docxFor PDF:
format: pdfPDF output will use TinyTeX.
13. Optional KDE-native alternative: RKWard
Because you use KDE Plasma, you may also find RKWard useful. It is a KDE-based graphical interface for R with menus, dialogs, a spreadsheet-style data editor, statistical-analysis interfaces, an R console, package management, plots, and script editing.
Install it with:
sudo apt install rkwardLaunch it from the KDE application menu or run:
rkwardDebian sid currently provides RKWard 0.8.3, which includes compatibility updates for R 4.6. (Debian Packages)
Which interface should you use?
-
RStudio: best general recommendation for learning R, writing scripts, creating Quarto reports, teaching, research, and reproducible analysis.
-
RKWard: useful when you prefer KDE integration and menu-driven statistical procedures.
-
Both can use the same system installation of R.
You can safely install both.
14. Basic package-management commands
See installed packages
installed.packages()[, c("Package", "Version")]Install a package
pak::pkg_install("psych")Install several packages
pak::pkg_install(c("psych", "effectsize", "performance"))Remove a package
remove.packages("package-name")Update user-installed packages
update.packages( ask = FALSE, checkBuilt = TRUE )CRAN recommends
checkBuilt = TRUEwhen packages may need rebuilding after a major R update. (CRAN)See package-library locations
.libPaths()Get package help
help(package = "psych")or:
?psych::describe
15. Updating the installation
Update R
Because R is installed through Debian:
sudo apt update sudo apt full-upgradeUpdate R packages
Inside RStudio:
update.packages( ask = FALSE, checkBuilt = TRUE )For an
renvproject, update deliberately and then record the new versions:renv::update() renv::snapshot()Update RStudio
RStudio’s downloaded
.debis not managed through a Posit APT repository. To upgrade it, download the newer.debfrom Posit and install it over the existing version:sudo apt install ./new-rstudio-version-amd64.debYour projects and RStudio preferences will remain in your home directory.
Avoid RStudio daily builds for routine use; Posit explicitly identifies them as testing builds rather than stable releases. (Posit Docs)
16. Troubleshooting
An R package reports a missing header or library
A message such as:
fatal error: curl/curl.h: No such file or directoryusually means a Debian development package is missing. For that example:
sudo apt install libcurl4-openssl-devOther common relationships are:
openssl/ssl.h → libssl-dev libxml/parser.h → libxml2-dev fontconfig headers → libfontconfig1-dev gdal.h → libgdal-dev proj.h → libproj-devThen reinstall the R package.
RStudio does not open
Test it from Konsole:
rstudioThe terminal may display the actual error.
Confirm that R exists:
which R R RHOMEExpected results are similar to:
/usr/bin/R /usr/lib/RBecause RStudio’s official package targets Debian 12 and 13 rather than sid, a temporary sid library transition can occasionally make the
.debincompatible. Do not force removal or downgrading of core Siduction libraries. Use RKWard or the R terminal until a compatible RStudio build is available.RStudio opens with a blank or damaged interface
Reset its local state by closing RStudio and renaming its configuration directories:
mv ~/.config/rstudio ~/.config/rstudio.backup mv ~/.local/share/rstudio ~/.local/share/rstudio.backupThen reopen RStudio. Your actual R projects are unaffected.
Packages are being installed into a system directory
Check:
.libPaths()Do not install packages by running:
sudo RWhen R offers to create a personal library in your home folder, answer yes.
Recommended final configuration
For your teaching and academic-research work, I recommend keeping:
-
R 4.6.x from Debian sid
-
RStudio Desktop as the primary interface
-
RKWard as an optional KDE/menu-driven interface
-
Quarto for reports, manuscripts, presentations, and book projects
-
TinyTeX for PDF production
-
tidyverse,rio,janitor,skimr,psych,effectsize,performance,gtsummary,gt,flextable,esquisse,DataEditR,here, andrenvas the initial package collection
-