How to convert DMG to PKG in MacOS

If you are trying to push some application in the network where you have macOS, you might need .pkg file rather than .dmg.

In this blog, I have taken the reference for Skype. You can follow the same command line for other application.

First, start by mounting the application’s .dmg file. Don’t drag the file to the application folder.

Application

Note the name of the mounted volume and the app itself.

sudo pkgbuild --install-location /Applications --component /Volumes/Skype/Skype.app ./Desktop/Skype/Skype.pkg

It is done and you will get your pkg file in Desktop. Quite straight and easy, isn’t it?

Final_Command

Cheers,

Udhy

Advertisements

How to get Cisco VPN Client working on Mac OS X

Many organizations provide VPN access for the end user in their company with third party tool named as Cisco VPN client. This doesn’t work on any 64-bit Mac OS.

However, from Mac OS X 10.6, you can use in-built feature named as IPSec VPN ,so you don’t need to look around for any third party tool. In this case, you might have to decode your .pcf file which contains all the configuration of your VPN setting.

Here’s step by step guide for configuring it:

  1. Open System Preferences -> Network
  2. Click “+” to get more options where you have to select ┬áInterface “VPN” and VPN Type “Cisco IPSec“. Here by give your proper description in “Service Name” and click Create

Continue reading “How to get Cisco VPN Client working on Mac OS X”