Skip to content

RStudio should have official APT repository for Debian and Ubuntu systems #4186

Description

@N0rbert

As a long time RStudio user I have noticed that I should manually download the latest version of RStudio deb-package from official web-page every time. It occurs on fresh clean installation and on upgrade. This method is convenient for Microsoft Windows, but not for Debian and Ubuntu Linux distributions.

So please really consider to create public repository(ies) for Debian and Ubuntu systems.
It is expected that installation process will be simplified to adding the repository with sudo add-apt-repository ... to the /etc/apt/sources.list (or specific file in /etc/apt/sources.list.d/) and then running sudo apt update followed by sudo apt install rstudio.

This will save a lot of time and efforts - the packages will be automatically upgraded with next apt upgrade. Moreover - the end users will be able to write RStudio installation script for installation on their systems or Dockers.

Activity

  1. jmcphers commented on Jan 22, 2019

    @jmcphers
    Member

    This is on our backlog, but as it's not part of RStudio itself it isn't tracked as an RStudio issue (so we'll close it here).

    If you just want to install RStudio inside Docker, you can do that by downloading the .deb inside the container, as is done in the Rocker project:

    https://github.com/rocker-org/rocker

  2. N0rbert commented on Sep 8, 2020

    @N0rbert
    Author

    This issue is still actual. Please create APT/deb repository and GPG key for it.

  3. allefeld commented on Nov 7, 2020

    @allefeld

    Pretty please?

  4. MatthieuStigler commented on Nov 22, 2020

    @MatthieuStigler

    I agree, a ppa for rstudio would be great!

  5. raffaelemancuso commented on Dec 16, 2020

    @raffaelemancuso

    Definitively need an APT repository for RStudio

  6. raffaelemancuso commented on Mar 2, 2021

    @raffaelemancuso

    Related: team is tracking flatpak / snap / AppImage in #3079. It has been two years of thinking and we still don't have neither of APT/Flatpak/Snap. You have to go to RStudio website and download manually.

  7. philsf commented on May 23, 2021

    @philsf

    This is on our backlog, but as it's not part of RStudio itself it isn't tracked as an RStudio issue (so we'll close it here).

    Could you please tell where this is being tracked?

  8. iagogv3 commented on Aug 19, 2021

    @iagogv3

    This is on our backlog, but as it's not part of RStudio itself it isn't tracked as an RStudio issue (so we'll close it here).

    Could you please tell where this is being tracked?

    @jmcphers I also would like to know where is this tracked if not as an RStudio issue?

  9. N0rbert commented on Aug 19, 2021

    @N0rbert
    Author

    Currently I install RStudio using

    cd /tmp
    wget -c https://rstudio.org/download/latest/stable/desktop/bionic/rstudio-latest-amd64.deb
    sudo apt-get install -y r-base-dev ./rstudio-latest-amd64.deb
    

    but this is a trick.

    Official APT repositories for Debian based systems is still needed to ease sudo apt update && sudo apt upgrade procedure for RStudio package.

  10. arnaud-feldmann commented on Nov 22, 2021

    @arnaud-feldmann

    This would definetly be cool and cleaner

  11. N0rbert commented on Dec 5, 2021

    @N0rbert
    Author

    Still needed. Especially with such great tricks like #10026 .

  12. mwt commented on Feb 21, 2022

    @mwt

    I'm creating a new supplementary repo that includes RStudio and other apps that aren't in the repos (like zoom). It's experimental right now, but I'd love to have more testers and feedback before I publicize it.

    Edit: It's now online at mwt/rstudio-apt-repo.

  13. philsf commented on Feb 23, 2022

    @philsf

    I'm creating a new supplementary repo that includes RStudio and other apps that aren't in the repos (like zoom). It's experimental right now, but I'd love to have more testers and feedback before I publicize it. Please send me an email if you're willing to test (email on profile).

    @mwt I don't recommend you do this on your own, as you might stumble into licensing issues. This has given major headaches for Java maintainers in the past, and in that particular case the only solution for distributing the software was to create scripts to download + auto-create package + install. You can look it up and see if that situation is similar to the problem you are trying to solve (I am not an expert in licenses and this comment is not legal advice).

    Make sure you are allowed to distribute any package you include in your repos before making it public.

  14. mwt commented on Feb 23, 2022

    @mwt

    @mwt I don't recommend you do this on your own, as you might stumble into licensing issues...

    I've contacted the companies that make the proprietary software. The smaller teams have been helpful and supportive.

    Companies I can't contact the higher levels of (eg. Zoom) have other unofficial flatpaks and repos (eg. AUR, linuxlite). Customer support at the companies said it was ok too.

    I don't understand these laws either, but I think I should be ok.

    Update: The repo for just RStudio is up at mwt/rstudio-apt-repo. The script that generates/updates the repo is there too.

  15. KasperThystrup commented on May 2, 2025

    @KasperThystrup

    RStudio is such a wonderfull tool, yet ... 6 yrs later and still no official channel?

    Could you at the very least give a reason for not wanting to provide Unix users a native and safe approach to installing your software on the most used distros?

  16. allefeld commented on May 2, 2025

    @allefeld

    Let me upgrade this request and say:

    Please create a Debian repository for all Posit software!

    Didn't look into the details, but apparently this can be done using GH actions: https://github.com/rpatterson/github-apt-repos

  17. added this to the Backlog milestone on May 23, 2025
  18. waynelapierre commented on Oct 28, 2026

    @waynelapierre

    There are so many R users on Debian based Linux distributions. For my workflow, RStudio is the only App that needs to be installed manually on Ubuntu. Please create an official APT repository for RStudio!

  19. waynelapierre commented on Nov 4, 2026

    @waynelapierre

    I currently use the Snap version of RStudio on Ubuntu, and it works quite smoothly. It does not appear to be maintained by Posit, but it basically solves this issue for Ubuntu users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions