How to Use iPhone with Linux (Guide)

iPhones are, by definition, restricted to sync with iTunes. That’s, except you jailbreak them. Whereas I personally haven’t any challenge with this, the very fact stays that Apple has, for some purpose, not put out an iTunes shopper for Linux distros. This generally is a large headache for iPhone customers who need to use a Linux desktop, as a result of it’s not potential to sync iPhones with Linux distros like Ubuntu. So, for those who’re questioning how you need to use an iPhone with Linux, here’s a full information that may make it easier to:

Understanding the Drawback

The principle drawback, with utilizing an iPhone with a Linux system, is the truth that you simply can’t sync it. iTunes is the one software program non-jailbroken iPhone will sync with, and it isn’t out there for any Linux platforms, but. There are a selection of libraries reminiscent of “libimobiledevice” that attempted to let customers sync iPhones with Linux, however not solely is it a problem to get it working, it doesn’t work for iOS 10. So you probably have an iPhone, and also you’re utilizing a Linux system as your every day driver, you’re type of out of luck.

How about some Wine

Wine (which is a recursive acronym for Wine Is Not an Emulator) is a compatibility layer utility that may enable a consumer to run Home windows apps on a Linux system (more often than not). So my first try at utilizing an iPhone with Linux was to run iTunes with Wine. I used PlayOnLinux because the front-end for the software program, after which I discovered, that Wine is not going to enable for USB passthrough, so there’s no method that an iPhone will sync with it. You can nonetheless use iTunes for all the things else, together with managing your iCloud Music Library, but when it doesn’t sync with an iPhone, there’s actually no use for it. Which brings us to a workaround of types.

OwnCloud and XAMPP for Transferring Information Between Linux and iPhone

The primary drawback that we’ll deal with, is someway enabling the switch of information, and paperwork between an iPhone and a Linux desktop. To do that, you need to use one thing like OwnCloud, together with XAMPP in your Linux system.

  • OwnCloud is a self-hosted cloud server that you may entry in your iPhone. It comes with a free plan, and is just about one of the best ways to be capable to switch paperwork between your iPhone and a Linux desktop. Nevertheless, OwnCloud requires a server to run on, within the first place, which is the place XAMPP steps in.
  • XAMPP is an simple option to get a LAMP server working in your Linux, Mac, or Home windows system. Simply watch out that you just set up a model of XAMPP working not less than PHP 5.four, as a result of OwnCloud is not going to work on something under that.

Now that we’ve cleared all that out, let’s get began with putting in OwnCloud, and XAMPP on our system. I’m utilizing a machine working Ubuntu 16.10 Yakkety Yak to do that, and the method needs to be related for many different methods.

Putting in XAMPP on Ubuntu 16.10

We’ll set up XAMPP first, and arrange a folder the place we are able to preserve the OwnCloud information. To do that, simply observe the steps under:

  • Download the XAMPP installer from the official web site. Will probably be within the type of a .run file.

download xampp

  • When you’ve downloaded it, launch the Terminal, and cd into the Downloads listing with the “cd Downloads” command. Should you downloaded the installer to a distinct listing, simply use the title of that listing rather than “Downloads”. Additionally, be sure to use correct capitalization, or the command will fail.

cd into downloads

  • Right here, we’ll first give the installer permissions to execute. Within the Terminal, run the command “chmod +x“.

give xampp installer permissions to execute

WordThe title of the installer could also be completely different. Simply use the actual title of the installer. You possibly can kind “chmod +x xampp”, and press the “tab” key to autocomplete the title.

  • Now, we are going to execute the installer, with root permissions utilizing the command “sudo ./“. You’ll be requested to your password. Kind it in (it is not going to be displayed, at the same time as asterisks), and hit Enter.

execute the xampp installer

  • The installer will then run, and also you merely should observe the directions within the installer to set up XAMPP in your system. It’s put in within the “/decide/” listing.

xampp installer

Making a Folder to Place the OwnCloud Information for XAMPP

Now that XAMPP is put in, we’d like a folder we are able to place the OwnCloud information, in order that XAMPP can run it. There’s a folder known as htdocs, the place you’ll be able to place the web sites that you really want XAMPP to have the ability to run, and it’s current at “/decide/lampp/htdocs”. We’ll not place the OwnCloud information contained in the “decide” listing, although. Simply observe the steps under:

  • In Terminal, navigate to the house folder with “cd ~“, or simply “cd“.

navigate to home directory

  • Now, make a folder known as “public_html” right here, with the command “mkdir public_html“.

make public html folder inside home directory

  • Subsequent, we are going to give learn/write entry to everybody for the “public_html” folder with the command “sudo chmod 777 -R public_html“.

give read write permissions to public html folder

  • Now, use the command “cd /decide/lampp/htdocs“, to navigate into the htdocs folder.

cd to opt lampp htdocs folder

  • Right here, simply run the command “sudo ln -s /dwelling/username/public_html ./username“. Change “username” together with your Username in Linux. In my case, the username is “akshay”, so the command I’m utilizing is “sudo ln -s /dwelling/akshay/public_html ./akshay”.

create symbolic link

Your “public_html” folder is now able to host information for XAMPP to run. Let’s set up OwnCloud now.

Putting in OwnCloud on Ubuntu 16.10

  • Obtain the ZIP file for OwnCloud from their official web site.

download owncloud

  • Extract this into the “public_html” folder you created whereas establishing XAMPP.

Operating OwnCloud on XAMPP in Ubuntu 16.10

Now you can run OwnCloud in your Ubuntu 16.10 system, with XAMPP. Simply observe the steps under:

  • In Terminal, run the command “sudo /decide/lampp/lampp begin“. This may begin the XAMPP server in your system.

start xampp lampp server

  • Now, in your browser, simply navigate to “http://localhost/username/owncloud”. Change “username” together with your username. In my case the handle is “http://localhost/akshay/owncloud“.

go to localhost url for owncloud

  • You’ll be introduced with a display the place you’ll should create your admin username, and password. Merely select no matter you need to use as your login credentials.

main interface owncloud

WordShould you encounter an error that OwnCloud couldn’t write knowledge, simply launch Terminal, and run the command “sudo chmod 777 /dwelling/username/public_html/owncloud”. Change “username” together with your username.

  • When you register, you’ll be taken to the important OwnCloud interface. That is the place you’ll be able to add, delete, and in any other case handle all of your information.

home screen

Connecting to OwnCloud from iPhone

So that you’ve uploaded all of the information you need to have the ability to entry in your iPhone, to your OwnCloud server. There’s nonetheless the matter of really connecting your iPhone to OwnCloud earlier than you’ll be able to truly switch information between the units. To do that, you’ll have to permit the config file for OwnCloud to permit entry utilizing the IP handle of your pc.

Modifying the OwnCloud config File

Modifying the OwnCloud config is simple, simply observe the steps under:

  • In Terminal, navigate to the OwnCloud config folder, utilizing “cd /dwelling/username/public_html/owncloud/config“.

cd to owncloud config directory

  • Right here, run the command “sudo nano config.php“. This may open up the config file inside Terminal, able to be edited.

open config php in su nano

  • Merely find the road that claims “trusted_domains“. You will note “localhost” already added there. Create a brand new line after “localhost”, and kind the IP handle of your pc inside single quotes. The edited “trusted_domains” part ought to look one thing like this: [php]’trusted_domains’ =>
    array (

editing trusted domains in config php

Connecting iPhone to OwnCloud

Connecting your iPhone to your OwnCloud server is simple, and will be achieved in one in every of two methods. We’ll talk about each of them right here, and you need to use the one which fits you higher.

1. Connecting from iPhone to OwnCloud with Safari

To attach your iPhone to your OwnCloud server, simply observe the steps under:

  • Launch Safari in your iPhone, and within the handle bar, navigate to “http://ipaddress/username/owncloud/“. Clearly, substitute “ipaddress” with the IP handle of your pc, and “username” together with your username.

navigate to owncloud server safari

  • You’ll be introduced with a login display. Use the credentials you created whereas establishing OwnCloud to log in. When you do that, you’ll be proven all of the information and folders current in your OwnCloud server. You possibly can browse the information, and obtain any information that you really want.

connect to owncloud server iphone safari

2. Connecting from iPhone to OwnCloud with a WebDAV shopper

OwnCloud helps WebDAV to switch information, and you probably have an app (like Documents 5 by Readdle), that can hook up with WebDAV servers, you’ll be able to simply entry your OwnCloud server with it. There are fairly quite a few iPhone file managers that help WebDAV, and you need to use any one in every of them to hook up with OwnCloud. I’m utilizing Paperwork 5.

  • Launch Paperwork 5 in your iPhone, and faucet on the icon that claims “Companies“. Right here, faucet on “Add Account“.

connect webdav step 1

  • Select “WebDAV Server” from the checklist, and enter a reputation for the server, together with the URL “http://ipaddress/username/owncloud/distant.php/webdav/“. Enter your OwnCloud username and password, as properly.

connect webdav step 2

  • When you’re achieved, simply faucet on “Save“, and Paperwork will hook up with your OwnCloud server. You’ll then be capable to view (and obtain) all of the information out there in your OwnCloud server.

connect webdav step 3

WordShould you use DHCP (you most likely do), likelihood is, your pc’s IP handle will preserve altering, and you’ll have to manually edit the config file everytime it occurs. It’s higher for those who assign a static IP handle to your pc, so you solely should edit the config file as soon as.

Google Play Music to Handle Music between Linux and iPhone

Since we’re out of luck with iTunes on Linux, we’ll have to show to different choices. Certainly one of these choices is Google Play Music. The music service will let you add your music to the cloud, and you’ll entry in your iPhone with the official Google Play Music app. With this, we’re fully bidding adieu to iTunes. So, let’s see how one can get this achieved.

Utilizing Google Music Supervisor to Add Music on Google Play Music

The very first thing we’ll should do, earlier than accessing our music on our iPhone, is importing our music library on the Google Play Music web site. To do that, we’ll want to put in Google Music Supervisor. This may be achieved simply by following the steps given under:

  • Obtain the Google Music Supervisor shopper from the official website. It’s downloaded a s .deb bundle in Ubuntu, and can immediately open within the Software program Heart, and you’ll be able to set up it.
  • Out of your Software launcher, search for Google Music Supervisor, and launch it.

google music manager 1

  • Comply with the steps to get Music Supervisor arrange, and working. As soon as all the things is completed, your music library shall be mechanically uploaded to your Google Play Music library.

google music manager library folders

  • As soon as your songs have uploaded (it could take time, relying on the scale of your library), you’ll be able to launch the Google Play Music app in your iPhone (download), and register together with your Google account. You’ll discover your music proper there.

google play music sync with iphone

Sooner or later, you simply should put your new music information in your Music folder in Linux, and Google Music Supervisor will mechanically add it to the Google Play Music library, so you’ll be able to entry it in your iPhone, and every other machine you have Google Play Music put in on.

SEE ALSO: How to Install Linux on Chromebook (Guide)

Use your iOS machine with Linux with these providers

You possibly can handle all the things in your iPhone and even iPad with Linux, utilizing the providers I’ve talked about on this article. Plus, all of those providers have a free tier out there that you need to use. Google Play Music presents a free plan that may allow you to add as much as 50,000 songs on the cloud, and OwnCloud lets you host your individual server, which implies that you don’t must pay them something. Clearly, that is nowhere as simple as utilizing iTunes to sync an iPhone – a course of that simply works – however, that is the closest you’ll be able to come to utilizing an iPhone with Linux.

As all the time, do share your ideas on utilizing an iPhone with Linux, and you probably have any queries, do tell us within the feedback part under.

About TechGamer

Check Also

How to Use Instagram for PC Without Any Limitation in 2019

Instagram has rapidly become a wildly popular platform for sharing photos and videos. Since it’s …

Leave a Reply

Your email address will not be published. Required fields are marked *