{"id":17223,"date":"2022-05-18T09:34:20","date_gmt":"2022-05-18T09:34:20","guid":{"rendered":"https:\/\/linuxways.net\/?p=17223"},"modified":"2022-06-01T01:48:12","modified_gmt":"2022-06-01T01:48:12","slug":"how-to-mount-microsoft-onedrive-in-ubuntu","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-mount-microsoft-onedrive-in-ubuntu\/","title":{"rendered":"How to Mount Microsoft OneDrive in Ubuntu"},"content":{"rendered":"<p>OneDrive is a Microsoft cloud service that lets users securely store, share, sync, and access their files from anywhere at any time on all their devices. OneDrive has no official client available for Linux OS. However, there are some unofficial tools that let you access OneDrive files via your Linux File Manager.<\/p>\n<p>Today, we are going to show one such tool \u201cOnedriver\u201d that let you directly access your OneDrive files on your Linux system. Note that Onedriver is not a sync tool. It allows access to all of your OneDrive files and downloads only those files which you want to use. Any changes you make in your OneDrive automatically reflects in your local OneDrive directory.<\/p>\n<p>This article covers how to mount Microsoft OneDrive in Ubuntu using the Onedriver utility. This article also covers how to install the Onedriver utility on Ubuntu 20.04 and 21.04 LTS machines.<\/p>\n<h2>Method#1 Installing Onedriver through Repository (For Ubuntu 20.04)<\/h2>\n<p>In this method, we will install the Onedriver utility on Ubuntu 20.04 through jstaf\/onedriver repository. This method may not work for Ubuntu 21.04. So for Ubuntu 21.04, you can follow the second method. Follow the steps below to install the Onedriver utility on the Ubuntu machine:<\/p>\n<p>1. Onedrive utility is not by default available in Ubuntu. You will need to add the repository to install it. Add Onedriver repository through the command below in the Terminal:<\/p>\n<pre>$ sudo add-apt-repository ppa:jstaf\/onedriver<\/pre>\n<p>Then hit <strong>Enter<\/strong> key to continue adding the Onedriver repository.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"875\" height=\"334\" class=\"wp-image-17224\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/adding-jstaf-onedriver-repository.png\" alt=\"Adding jstaf\/onedriver Repository\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/adding-jstaf-onedriver-repository.png 875w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/adding-jstaf-onedriver-repository-300x115.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/adding-jstaf-onedriver-repository-768x293.png 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/p>\n<p>2. Then update the local repository index through the command below:<\/p>\n<pre>$ sudo apt update<\/pre>\n<p>3. Now in order to install Onedriver on your Ubuntu system, run the command below:<\/p>\n<pre>$ sudo apt install onedriver<\/pre>\n<p>This command will install the Onedriver utility on your system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"776\" height=\"555\" class=\"wp-image-17225\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/installing-onedriver-utility-through-repository.png\" alt=\"Installing Onedriver utility through repository\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/installing-onedriver-utility-through-repository.png 776w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/installing-onedriver-utility-through-repository-300x215.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/installing-onedriver-utility-through-repository-768x549.png 768w\" sizes=\"auto, (max-width: 776px) 100vw, 776px\" \/><\/p>\n<h2>Method#2 Installing Onedriver through deb package (For Ubuntu 20.04 &amp; 21.04)<\/h2>\n<p>In this method, we will install the Onedriver utility on Ubuntu the deb package available on the <a href=\"https:\/\/launchpad.net\/~jstaf\/+archive\/ubuntu\/onedriver\/+packages\">Onedriver<\/a> repository page. This method works both for Ubuntu 20.04 and 21.04. Follow the steps below to install the Onedriver utility on the Ubuntu machine:<\/p>\n<p>1. Download the Onedriver .deb file using the command below:<\/p>\n<pre>$ wget <a href=\"https:\/\/launchpad.net\/~jstaf\/+archive\/ubuntu\/onedriver\/+files\/onedriver_0.11.1-1_amd64.deb\">https:\/\/launchpad.net\/~jstaf\/+archive\/ubuntu\/onedriver\/+files\/onedriver_0.11.1-1_amd64.deb<\/a><\/pre>\n<p>2. Then run the command below to install the Onedriver utility on your Ubuntu machine:<\/p>\n<pre>$ sudo apt install .\/onedriver_0.11.1-1_amd64.deb<\/pre>\n<p>This command will install the Onedriver utility on your system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"777\" height=\"511\" class=\"wp-image-17226\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/installing-onedrive-utility-throug-deb-file.png\" alt=\"Installing Onedrive utility throug deb file\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/installing-onedrive-utility-throug-deb-file.png 777w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/installing-onedrive-utility-throug-deb-file-300x197.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/installing-onedrive-utility-throug-deb-file-768x505.png 768w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" \/><\/p>\n<h2>Mount Microsoft OneDrive in Ubuntu<\/h2>\n<p>To mount your OneDrive storage on your Ubuntu machine, you will need to create a mount point directory. Let\u2019s create a mount point in our Home directory through the command below:<\/p>\n<pre>$ mkdir myonedrive<\/pre>\n<p>After creating the directory, launch the Onedriver utility from the Applications menu. Or you can search and launch it by pressing the Super key and typing <em>onedriver<\/em> in the search bar.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"422\" height=\"289\" class=\"wp-image-17227\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/launching-onedriver-utility.png\" alt=\"launching onedriver utility\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/launching-onedriver-utility.png 422w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/launching-onedriver-utility-300x205.png 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/p>\n<p>Once the Onedriver utility is launched, you will see the following default blank window. Now click the <strong>+<\/strong> button to add the mount point.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"301\" class=\"wp-image-17228\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/onedrive-default-interface.png\" alt=\"Onedrive default interface\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/onedrive-default-interface.png 546w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/onedrive-default-interface-300x165.png 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/p>\n<p>Then select the mount point you have created in an earlier step and click the<strong> Select<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"588\" height=\"266\" class=\"wp-image-17229\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/select-mountpoint.png\" alt=\"Select Mountpoint\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/select-mountpoint.png 588w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/select-mountpoint-300x136.png 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/p>\n<p>Now you will be asked to sign in to your Microsoft OneDrive account. Type your id and click <strong>Next<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"341\" height=\"414\" class=\"wp-image-17230\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/sign-in-to-onedrive.png\" alt=\"Sign-in to OneDrive\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/sign-in-to-onedrive.png 341w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/sign-in-to-onedrive-247x300.png 247w\" sizes=\"auto, (max-width: 341px) 100vw, 341px\" \/><\/p>\n<p>Then type your password and click the <strong>Sign in<\/strong> button.<\/p>\n<p>Then the Onedriver utility will ask for your permission to access your OneDrive files and data. Click <strong>yes<\/strong> to allow permission.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"408\" height=\"429\" class=\"wp-image-17231\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-43.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-43.png 408w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-43-285x300.png 285w\" sizes=\"auto, (max-width: 408px) 100vw, 408px\" \/><\/p>\n<p>Now if you open your Onedriver utility, you will see your Microsoft Onedrive account listed in it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"549\" height=\"206\" class=\"wp-image-17232\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-44.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-44.png 549w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-44-300x113.png 300w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/p>\n<p>If you open your File Manager, you will see the Onedrive mounted in the sidebar. By clicking this directory, you can access your Onedrive files. You can also access your Onedrive files by navigating to this directory from your Terminal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"374\" class=\"wp-image-17233\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-45.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-45.png 577w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-45-300x194.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/p>\n<h2>Unmount Microsoft OneDrive<\/h2>\n<p>To unmount your Microsoft OneDrive, open the Onedriver utility and move the slider as shown below. This will unmount your OneDrive account which you can also confirm from your File Manager.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"179\" class=\"wp-image-17234\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-46.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-46.png 550w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/05\/word-image-46-300x98.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<h2>Remove\/Uninstall Onedriver<\/h2>\n<p>If you no longer need the Onedriver utility on your system, you can remove it through the command below:<\/p>\n<pre>$ sudo apt remove onedriver<\/pre>\n<p>Onedriver utility lets you access your OneDrive files from Ubuntu File Manager as if they are part of your local system. This article covered how to mount Microsoft OneDrive in Ubuntu OS using the Onedriver utility.<\/p>","protected":false},"excerpt":{"rendered":"<p>OneDrive is a Microsoft cloud service that lets users securely store, share, sync, and access their files from anywhere at any time on all their devices. OneDrive has&hellip;<\/p>","protected":false},"author":1,"featured_media":17503,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[1008,31],"class_list":["post-17223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-onedrive","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/17223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=17223"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/17223\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/17503"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=17223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=17223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=17223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}