Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-install .rpm version via terminal? #137

Closed
yioannides opened this issue Feb 4, 2024 · 3 comments
Closed

Auto-install .rpm version via terminal? #137

yioannides opened this issue Feb 4, 2024 · 3 comments

Comments

@yioannides
Copy link

Hi everyone, I am building a Fedora post-install script and I was wondering if there's a way to automatically download the latest 64-bit .rpm for nautilus-dropbox and install it without physically interacting with the "Install Nautilus extension" dialog box, all via terminal.

I tried extracting the latest 64-bit .rpm link from the Dropbox Linux install page via wget and curl, but since the link name is dynamic based on release date, it always updates, so I was wondering if there's a static way of retrieving the latest version, like the tarball version.

@yioannides yioannides changed the title Auto-install via terminal? Auto-install .rpm version via terminal? Feb 4, 2024
@jewelpit
Copy link
Member

jewelpit commented Feb 6, 2024

We don't currently expose a way to always grab the latest, but installing the RPM adds our third-party repo, so installing a specific version then running dnf upgrade dropbox (I thiiink DNF lets you upgrade a single package at a time?) will get you on the latest.

As for the dialog box, running DISPLAY= dropbox start -i will launch Dropbox in headless mode, so it'll output the dialog box contents to stdout instead of trying to make a dialog box.

@yioannides
Copy link
Author

yioannides commented Feb 6, 2024

Thank you for the response. What I'd like to achieve is automatically installing nautilus-dropbox on the very first reboot after a fresh Linux install via shell, but that would require either retrieving the latest .rpm from a website or adding a third-party repository and downloading nautilus-dropbox from there. Is there at least a way to enable the Dropbox repo via command line?

@yioannides
Copy link
Author

Sorry for bumping this thread, but I wanted to clarify the second part of my original inquiry; it's the dialog box below that I would like to automate via terminal without physically interacting with it.

Screenshot from 2024-02-07 12-44-15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants