How To Install onionshare on Fedora 34

onionshare is Securely and anonymously share files of any size

Introduction

In this tutorial we learn how to install onionshare on Fedora 34.

What is onionshare

OnionShare lets you securely and anonymously share files of any size. It works by starting a web server, making it accessible as a Tor hidden service, and generating an unguessable URL to access and download files. It doesn’t require setting up a server on the internet somewhere or using a third party file sharing service. You host files on your own computer and use a Tor hidden service to make it temporarily accessible over the internet. The other user just needs to use Tor Browser to download a file from you.

We can use yum or dnf to install onionshare on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install onionshare.

Install onionshare on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install onionshare using dnf by running the following command:

sudo dnf -y install onionshare

Install onionshare on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install onionshare using yum by running the following command:

sudo yum -y install onionshare

How To Uninstall onionshare on Fedora 34

To uninstall only the onionshare package we can use the following command:

sudo dnf remove onionshare

onionshare Package Contents on Fedora 34

/usr/bin/onionshare
/usr/bin/onionshare-gui
/usr/lib/python3.9/site-packages/onionshare
/usr/lib/python3.9/site-packages/onionshare-1.3-py3.9.egg-info
/usr/lib/python3.9/site-packages/onionshare/__init__.py
/usr/lib/python3.9/site-packages/onionshare/__pycache__
/usr/lib/python3.9/site-packages/onionshare/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/common.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/common.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/onion.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/onion.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/onionshare.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/onionshare.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/settings.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/settings.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/socks.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/socks.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/strings.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/strings.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/web.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare/__pycache__/web.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare/common.py
/usr/lib/python3.9/site-packages/onionshare/onion.py
/usr/lib/python3.9/site-packages/onionshare/onionshare.py
/usr/lib/python3.9/site-packages/onionshare/settings.py
/usr/lib/python3.9/site-packages/onionshare/socks.py
/usr/lib/python3.9/site-packages/onionshare/strings.py
/usr/lib/python3.9/site-packages/onionshare/web.py
/usr/lib/python3.9/site-packages/onionshare_gui
/usr/lib/python3.9/site-packages/onionshare_gui/__init__.py
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/alert.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/alert.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/downloads.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/downloads.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/file_selection.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/file_selection.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/onionshare_gui.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/onionshare_gui.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/server_status.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/server_status.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/settings_dialog.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/settings_dialog.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/tor_connection_dialog.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/tor_connection_dialog.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/update_checker.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/__pycache__/update_checker.cpython-39.pyc
/usr/lib/python3.9/site-packages/onionshare_gui/alert.py
/usr/lib/python3.9/site-packages/onionshare_gui/downloads.py
/usr/lib/python3.9/site-packages/onionshare_gui/file_selection.py
/usr/lib/python3.9/site-packages/onionshare_gui/onionshare_gui.py
/usr/lib/python3.9/site-packages/onionshare_gui/server_status.py
/usr/lib/python3.9/site-packages/onionshare_gui/settings_dialog.py
/usr/lib/python3.9/site-packages/onionshare_gui/tor_connection_dialog.py
/usr/lib/python3.9/site-packages/onionshare_gui/update_checker.py
/usr/share/appdata/onionshare.appdata.xml
/usr/share/applications/onionshare.desktop
/usr/share/doc/onionshare
/usr/share/doc/onionshare/LICENSE
/usr/share/doc/onionshare/README.md
/usr/share/nautilus-python/extensions/onionshare-nautilus.py
/usr/share/onionshare/html
/usr/share/onionshare/html/404.html
/usr/share/onionshare/html/denied.html
/usr/share/onionshare/html/index.html
/usr/share/onionshare/images
/usr/share/onionshare/images/download_completed.png
/usr/share/onionshare/images/download_completed_none.png
/usr/share/onionshare/images/download_in_progress.png
/usr/share/onionshare/images/download_in_progress_none.png
/usr/share/onionshare/images/favicon.ico
/usr/share/onionshare/images/file_delete.png
/usr/share/onionshare/images/info.png
/usr/share/onionshare/images/logo.png
/usr/share/onionshare/images/logo_grayscale.png
/usr/share/onionshare/images/logo_transparent.png
/usr/share/onionshare/images/server_started.png
/usr/share/onionshare/images/server_stopped.png
/usr/share/onionshare/images/server_working.png
/usr/share/onionshare/images/settings.png
/usr/share/onionshare/images/web_file.png
/usr/share/onionshare/images/web_folder.png
/usr/share/onionshare/license.txt
/usr/share/onionshare/locale
/usr/share/onionshare/locale/cs.json
/usr/share/onionshare/locale/da.json
/usr/share/onionshare/locale/de.json
/usr/share/onionshare/locale/en.json
/usr/share/onionshare/locale/eo.json
/usr/share/onionshare/locale/es.json
/usr/share/onionshare/locale/fi.json
/usr/share/onionshare/locale/fr.json
/usr/share/onionshare/locale/it.json
/usr/share/onionshare/locale/nl.json
/usr/share/onionshare/locale/no.json
/usr/share/onionshare/locale/pt.json
/usr/share/onionshare/locale/ru.json
/usr/share/onionshare/locale/tr.json
/usr/share/onionshare/torrc_template
/usr/share/onionshare/torrc_template-meek_lite_amazon
/usr/share/onionshare/torrc_template-meek_lite_azure
/usr/share/onionshare/torrc_template-obfs4
/usr/share/onionshare/torrc_template-windows
/usr/share/onionshare/version.txt
/usr/share/onionshare/wordlist.txt
/usr/share/pixmaps/onionshare80.xpm

References

Summary

In this tutorial we learn how to install onionshare on Fedora 34 using yum and dnf.