Install an mpkg from the command line on OSX

sudo installer -pkg /Volumes/someapp/someapp.mpkg -target /
Installing most OSX apps is just a matter of dropping it in /Applications, either GUI-wise or with cp -r. However, many packages are distributed in "mpkg" format, and those have to be installed with an installer. If you don't want to go to the trouble of firing up VNC to install an mpkg, you can use the "installer" command. This will install an application from a .mpkg it to /Applications system-wide. To install a program for just one user, replace "-target /" with "-target username".

By: sud0er
2009-04-28 19:43:56

What Others Think

very useful.
battavia · 647 weeks and 2 days ago
Command the form of data that has a line of the OSX version this will have to accelerate the attributes with some functions. Sky world has some bonus points that were at with the fields of desire data this need to grip the version of ports among the comments that was at the last of this.
gajulokise · 61 weeks ago
Command linefu has a board where you can get computer codes which will connect with themes. And they also share dissertation help online which is so helpful for my tasks. You can get the latest Installing most OSX apps which is just a matter of dropping in Applications. Join their website for more details.
xokedo3427 · 25 weeks and 3 days ago
The financial cupboard on Friday recommended urgent resource measures for tourism operators battered by means of the coronavirus outbreak top essay writing service
jamesjohn · 23 weeks and 2 days ago
This is a great platform where people get knowledgeable information regarding Linux etc. Law essay writing help UK recommends this for those who are stuck in Ubuntu commands.
samanthaellis33 · 20 weeks and 3 days ago
A powerful conclusion will offer a feeling of closure to the essay whilst placing your notions in a marginally wider context. paper writing Service online uk
Conyjohn09 · 20 weeks and 1 day ago
This is a great platform where people get knowledgeable information regarding Linux etc. Have a look on mine article too? hotmail signup
roberthook · 19 weeks and 3 days ago
Through this site, I learned about the top rated espresso machines under 200 dollars. Now I can drink a delicious hot drink in the morning. [url][/url]
jendavis · 18 weeks and 5 days ago
Through this site, I learned about the top rated espresso machines under 200 dollars. Now I can drink a delicious hot drink in the morning.
jendavis · 18 weeks and 5 days ago
I must say I really love working on Linux because its secure and amazing. hotmail
Dihip · 18 weeks and 5 days ago
"Writing tips for good essay, Follow these tips to get better assignment writing service uk material. If you follow then it provides you benefits, And if you not follow these tips then you may skip the most important points from your material. If you understand then it's better and if you not understand then it's not better. "Best essay writing service
Conyjohn09 · 18 weeks and 1 day ago
This would allow them to help so many students who are struggling with their assignments.Best essay writing services uk
jamesjohn · 16 weeks and 2 days ago
If you are facing difficulties finding the best assignment help organization in the UK because everyone claims to be the best? Well now you don't need to be confused, AllAssignmentHelp provides you high-quality academic help because students face so many difficulties to write papers and for all the students not easy to do as they require special skills to write and submit an assignment successfully. So we are here for you, you can ask for do my assignment service from our writer team at any time. they will be able to submit the assignment with the given deadline. buy assignments online at an affordable price.
alisahwilson · 14 weeks and 3 days ago
I often use such applications, so when I have certain technical failures, I use the help of appropriate professionals. Especially at a time when you need to quickly complete the work on the dissertation discussion chapter
lindatyler · 13 weeks and 3 days ago
Good afternoon! How is your day? I have found a cool writing service If you have any difficulties with writing, do not hesitate to hire a writer there. You will be contented!
lindaween · 12 weeks and 2 days ago
My OSX is having some issues while I try to install it on my computer it keeps giving me no response. Anyone here know how to fix that please contact me on my hotmail signup address and also you can check the info on kisscartoons blog.
evamax · 9 weeks and 4 days ago
Im having some issues with my OSX, bet ill find it here. Gmail Login
Gmail · 8 weeks and 5 days ago
Get quality term papers and assignments from our dedicated assignment writing service. We provide exactly what you need and we mainly focus on the requirements your provide us while ordering. We are also providing awesome discounts on all types of writing service. Best essay writing service UK
Conyjohn09 · 8 weeks and 1 day ago
As the era has changed, the marketing level of businesses has been changed also. Now, the marketing is going on digitally. And we should get Best essay writing services
Harryjohn · 8 weeks ago
Hire Researchers UK strive to provide academic assistance pertaining to variety of subjects to millions of students around the globe. term paper writing service uk
jamesjohn · 3 weeks and 2 days ago
I suppose I will use the "installer" command as you say to avoid any troubles during writing my quality essay to Literature subject. But I am not sure I will cope with the commander by myself. Is there anybody who could help me?
marygold303 · 1 week and 3 days ago
Thanks a lot for your instructions! I am sure they will come in handy when I search for quality information on how to write response essay because my teacher is very rigorous when something went wrong during a check of the paper.
EvaGreen88 · 1 week and 2 days ago
I think with the quality of music you create and delivery will never let you go down in front of new listeners. I can forecast a good number of fans from downtown. It's very easy to convince them of your popular music. top essay writing service uk
Harryjohn · 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: