How to offline update elementary OS using Camicri Cube Server

Update Linux Offline

Offline updates to your Linux distro is possible, thanks to the apt-get, you can download the updates on a PC that has the internet connection, make a update USB media, and then apply them to the offline PC by adding local repository. There are several ways of doing this, and one of the method is by using Camicri Cube Server, a free FOSS.

Camicri Cube Server is a free portable package manager that lets you download Linux updates from a internet enabled PC and then install the update package on a offline PC. You can create the ‘update package’ in a Linux or Windows PC. In this case, I will be using elementary OS freya. I have tested it on Ubuntu 14.02 as well and works good. It should work on other distros like LInux Mint, OpenSuse too, try it out and let us know in comments below.

Step 1: Download and install Camcri Cube Server on both PCs

Download the installer, copy it to USB drive, and install it on the PC that doesn’t have internet connection.

Alternatively, you can install Camcri Cube Server from Terminal using the apt-get command on the PC connected to internet :

sudo add-apt-repository ppa:camicrisystems/daily
sudo apt-get update && sudo apt-get install cube-server 

Step 2: Launch Camcri Cube Server from Applications on the target PC

On the computer where you don’t have internet connection, launch Camcri Cube Server. The application doesn’t have its own UI, and so uses your default browser.

Camcri Cube Server Launch
Camcri Cube Server Launch

Create a new project. You can leave the default option or name whatever you want without space. I have named it ‘FOSS_Linux’. The same name appears in the drop download list of projects. Select the project and open it.

Create new Project
Create new Project

It will scan the repositories and you will see the program’s main interface. Remember that since this PC doesn’t have internet connection, you can’t do anything for now. So click ‘Quit’ located on top right corner of the program’s webpage and close the program.

Now open ‘Files’ and go to ‘Home’ directory. Navigate through ‘cube-system’ > ‘projects’  and you should see a directory with the same name as the project name you entered. In my case it is ‘Foss_Linux’ directory. Copy this directory to a flash drive.

Files
Files

Step 3: Configure Camcri Cube Server on the PC with internet access

Connect the USB drive to this computer and copy-paste the ‘FOSS_Linux’ folder to the similar location: Files > Home > cube-system >projects.

Now launch Camcri Cube Server and you will see your project in the drop-down list. Select ‘FOSS_Linux’ and open it. Cube will start scanning your repositories followed by opening its user interface. It’s time now to download new repositories, upgrade outdated installed applications and download new applications.

From the navigation bar, click ‘Download  > Download Repositories’ and let it download the repositories.

Download Repositories
Download Repositories

You will see a ‘System Update’ notice, click ‘Okay’.

Downloading Repositories
Downloading Repositories

We shall now download applications with available updates. Click the ‘Upgradable Package’ under the Main List to show all applications that needs to be upgraded. I have 7 upgradable packages.

Click ‘Mark’ > ‘Mark all upgradable packages’.

Mark Upgradable Packages
Mark Upgradable Packages

Click ‘Download’ > ‘Download All Marked” and let it download the updates.

Packages Download
Packages Download

After everything is done, click ‘Quit’ and close Camcri Cube Server. Go to ‘Files’> Home > cube-system >projects’ and copy the ‘FOSS_Linux’ directory to the USB Flash drive. You can overwrite the one in the USB flash drive with the one from this PC.

Step 4: Update the offline target PC

Finally, it’s time to update your offline PC. Connect the USB flash drive and copy-paste the ‘FOSS_Linux’ directory in ‘Files’> Home > cube-system >projects’. You have to overwrite when prompted.

Launch Camcri Cube Server and open the project you created. Click ‘System’> ‘Update System’ to inform this PC about the new repositories. It’s important to do this step, else the installation of applications may go wrong.

Update System
Update System

Enter the root password when needed to install the updates.

Now install you downloaded packages. Click ‘Mark’ > ‘Mark all downloaded packages’.

Mark all Downloaded Packages
Mark all Downloaded Packages

Click ‘Install’> ‘Install all Marked Packages’.

Install all Marked Packages
Install all Marked Packages

That’s it. You have now successfully updated your offline Linux computer. Do let us know how your update went by in the comments below.

Hi there! I’m Kiran Kumar, founder of FOSSLinux.com. I’m an avid Linux lover, and enjoys hands-on with new promising distros. Currently, I’m using Linux Mint as a daily driver and run several other distros such as Fedora, Solus, Ubuntu, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I’m not writing for FOSSLinux, I’m seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread my love for Linux. If you find time, drop me an email or feedback from ‘Contact’ page. Or simply leave a comment below if you found this article useful. Have a good day!

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz