- Aug 11, 2012
- Reaction score
- San Diego, CA
I know that some .apps (like Firefox and Chrome) are just directories that can be dragged or copied to /Applications But others aren't. For example, Flash Player.
I'm looking for either a command, like 'installer -pkg /path/to/installer.pkg -target /' that works with .apps, or a way to dig out the logic the .app uses when it's double-clicked so I can recreate the installation process myself.
|Click here to return to the 'Installing packages from the command line' hint|
- Installing applications on macOS and OS X computers is easy to do when deploying the apps as packages through the Terminal using the Installer command for quiet deployments across your network.
- Mar 30, 2012 To search for a software package, we use the below command. For example, here I am searching for flash player and VLC Media Player. Type apt-cache search flashplayer. Installing a Software Package. Once you know the name of the package you want to install, type the below command to install that package. Here, VLC in the below command is the.
- The process involves a simple Terminal command, and allows you to continue using your Mac as the update downloads and the initial software installation takes place in the background.
is that some packages (notably Fink) don't work using this installer application. Kind of frustrating when you need a command-line app on a remote computer and you can't install Fink in order to install the app! :-)
Quality websites for inexpensive prices (Is that an oxymoron?)
Unfortunately there's no direct link, but just search for command line tools and you'll find it (note that there are different downloads for Lion and Mountain Lion). The download is a DMG. Mount that, and you'll find a.mpkg file, which you can install via the command line: sudo installer -pkg 'Command Line Tools.mpkg' -target /. Oct 04, 2017 MacPorts is a command-line package manager for macOS. If you’re familiar with apt-get or yum from Linux, then you know what a package manager does. It handles downloading, installing, updating and managing certain applications and their dependencies within macOS.
I also discovered this installer command the day that I read the recent article here about installing a no-ip linux client as a startup item. The .pkg that was pointed to by that article did not work via the command line. I had to do it from home. Even then it still didn't seem to be workgin right, though, so I removed it and installed the fink version which seems to be working, once I understood how to set that version up. A fully working command-line installer is much needed, but if it works on some things now that's still pretty good..
--- I hate Microsoft and I vote
sudo /usr/sbin/installer -pkg /path/to/pkg.pkg -target /
4am Media, Inc. Mac OS X Training and Consulting
sudo reboot is a harsh command, I believe you'd use all unsaved documents, I wouldn't recommend doing it this way.
sudo osascript -e 'tell application 'Finder' to restart'
Would be much better. It would get canceled if there is unsaved data.
arr, but if your using the cli to install packages most likely the box is on a remote site, so u cant press 'save' or 'don't save' and the restart would time out
there has to be away of avoiding this because it would be nice to be able to restart and / or log out a user via the cli
'The time has come,' the walrus said. 'To talk of many things..'
Then use localhost & port 5900 in your vnc client. You can have the remote machine always running the vnc server, or run it from the ssh shell.
Install Software On Mac Command Line Mac
Of course, if you go this route, isntalling via the CLI is pointless since you can just do it via the GUI.
The applescript is all very nice, but if no one is logged into the remote machine is does not work, the response is '29:36: execution error: Application isn't running (-600)' (tested with OS X 10.3.5)
Install Software On Mac Command Line Create File
This is great. Now if only I could create packages from the command line rather than using PackageMaker interactively.
ZenitPCB is an outstanding printed circuit board software that is used for layout design to make specialized PCB (printed circuit board). This software is a flexible and very simple to use a CAD program that permits you to understand your projects in a small time. This software. Is an excellent pcb layout design software tool to create professional printed circuit board ( PCB ). It is a flexible easy to use CAD program, which allow you to realize your projects in a short time. With ZenitPCB Layout is possible to create the project starting both from the schematic capture or by the layout itself. Nov 12, 2012 “KiCad is an open source software suite for electronic design automation (EDA) made for designing schematics of electronic circuits and printed circuit boards (PCB). KiCad is developed by the KiCad Developers Team, and features an integrated environment with schematic capture, bill of materials list, PCB layout and much more.
You can create packages from the command line. i've done it in 10.4, but haven't tried in 10.5.
in tiger, PackageMaker will load in /Developer/Applications/Utilities/PackageMaker.app
but really all .app's are just folders, so you can call the CLI by /Developer/Applications/Uitilities/PackageMaker.app/Contents/MacOS/PackageMaker
you'll have to feed it a number of flags like -build and -p.. i think there's a man page for it somewhere.
If you look in /usr/sbin/ a couple of utils already stand out because of their name:
You can find out what they do by looking at their man pages or running them (not as root obviously)
Some of these don't have man pages. Notably (for me):
opendiff - run the cocoa diff utility on two files
scselect - select network location
disktool - I'm sure this does something handy