Page 286 of 325

Batch install downloaded DEB packages on Ubuntu

Today’s post is a re-write of “How to add downloaded packages to Synaptic Package Manager in Ubuntu 13.04” because I had to install packages Offline when I was fixing my brother’s computer. And something wasn’t right!

In that particular case I installed Ubuntu 14.04 twice in the same week so using the same packages to update was probably the right thing to do to save time and data plan.

Anyway based on my recent experience it will be much more clear. And I added pictures too! Synaptic is a GTK+-based graphical user interface for Advanced Packaging Tool (APT)—the Package management system used by Debian and its derivatives. Synaptic is usually used on systems based on deb packages but can also be used on systems based on RPM packages. (Source)

We are using it today to batch install software on Ubuntu, and you must take note that it’s a powerful tool and can potentially harm your system. So take care. You are going to need admin permission to access Synaptic.

Also don’t install anything you don’t trust! Be careful because now the program has admin permission to change your system!

 

After we took a look at the warnings, let’s take a look at the scenarios:
You are an Ubuntu admin and you have 10+ computers. And you need to install the same software on all 10 computers. So instead of Connecting them all to the Internet and downloading the same software. Connect one of them and download the required software. Then install it on the rest.

You just installed Ubuntu on a machine and begun to download software. But the Internet is really slow! (Third world problems) so you take the programs on a USB from another computer and get to work!
You have a limited data plan and you are trying to save!

No matter what was the situation. It’s a handy trick and you will comeback to this tutorial over and over to read it!

First of all. Let’s prepare the software.

You can either use the software center cache. Or any random .deb packages you have. (Or both)

If you want to copy the software center cache then go to the directory:

“Computer/var/cache/apt/archives” where “computer” is your system partition.

This is a system folder so you can’t cut or delete any of these packages. And if you copy the .lock file or the partial it will result in copy error.

Remember where you put the packages and the folder name as we are going to need that later.

Open Synaptic and enter your password. If you don’t have Synaptic you have to install it. Say from the Ubuntu Software Center.

 

 

Once you opened it you have to confirm that you are online. I can’t stress this enough. And it won’t work if you aren’t connected to the Internet.

You can confirm that by reloading package information. If it downloads package information without problem. Then you are good to go!

 

Paste all the packages in that directory, in this tutorial it’s called “New Packages”.

Click file Add downloaded packages.

 

You will see a browse dialog., use it to navigate to your folder.

once there click open.

 

Wait a moment for the packages to add. It can take several minutes when adding a lot of packages.

Click Apply and Synaptic will tell you how much packages will be installed. The size of install and how much it will download.

Wait for the progress bar to end.

 

Then click close to finish installing the software.

This way we installed a batch of software as we would install a single one. Without re-downloading them again!

Pretty handy isn’t it?

سبعة أمور لم تكن تعرفها عن لينكس

السلام عليكم

في هذه التدوينة سنناقش معا سبع حقائق ونصحح بعض المفاهيم الخاطئة في أذهان البعض منا عن اللينكس والمصادر الحرة.

 

  1. لدى لينكس واجهات رسومية مذهلة، لم تعد بحاجة الى شاشة الطرفية السوداء والبيضاء لأداء مهامك اليومية.
  2. بإمكانك التعديل في أي برنامج بالحصول على شفرته المصدرية، مع الالتزام بالتراخيص طبعاً.
  3. لست مضطرا للإتصال باﻷنترنت 24 ساعة للحصول على البرامج، يوجد طرق سهلة ومبسطة لفعل ذلك.
  4. لم يعد خاليا تماما من اﻷلعاب ذات المستوى العالي، مع دعم منصة STEAM الشهيرة وظهور Steam Machine المبني على اللينكس (سأخصص تدوينة كاملة لهذا الموضوع) ..
  5. من الممكن تشغيل معظم برامج ويندوز عليه بإستخدام برنامج Wine لذا لن تضطر للتخلص من برامجك المفضلة (مع العلم أن كل برنامج له بديل على اللينكس).
  6. أكثر أمانا بكثير من الويندوز، لن تحتاج إلى مضاد فيروسات، وإختراقه أصعب بكثير من اﻷنظمة العادية.
  7. الكثير من البرامج المفضلة لديك مفتوحة المصدر ومجانية مثل VLC الرائع و المتصفح الشهير Firefox وبعضها يأتي مضمنا مع كثير من التوزيعات مثل Ubuntu

كانت هذه حقائق عن لينوكس، شكرا لك لقرائتها، هل لديك المزيد لتضيفه؟ أرحب بذلك في التعليقات

شكرا لقرائتك تدوينتي

 

Tech news digest July 2015 (Firefox focus mode and flash zero day vulnerabilities).

Hey guys. This is what’s been going on the last few days, since it was too much to catch up I decided to make a digest of news.
                                   


  • Firefox’s latest update added the “Enter view mode” which is great to eliminate all the distractions and focus on reading without all the pop-ups and ads!
  • If you noticed that flash doesn’t work on your browser anymore, that’s because of the “Zero-Day Vulnerabilities” discovered on Windows Explorer. Which might explain why I got a ton of security updates for it although I never use it!
  •  Windows has finally chosen the build for the release with a clever name 10240 for the slow and fast ring. {Source}
  • Microsoft suspends Windows 10 Insider updates in preparation for RTM {Source}

How did you like the tech news segment? Is it a keeper?

« Older posts Newer posts »