Skip to main content
Solved

Installing packages using command line


Forum|alt.badge.img+1

Hi there, I'm trying to figure out the "sudo jamf install -package" command and I'm having trouble figuring out the syntax. This command can be used for installing packages on the jamf server, not only on the local machine, correct?

Best answer by sdagley

@evangardner No, it's for installing packages on the local machine (i.e the one you're running the command on)

View original
Did this topic help you find an answer to your question?

2 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3564 replies
  • Answer
  • November 5, 2019

@evangardner No, it's for installing packages on the local machine (i.e the one you're running the command on)


Forum|alt.badge.img+2
  • New Contributor
  • 2 replies
  • November 5, 2019

If you run:

jamf help install

these are the options for that command. What is the goal you are trying to accomplish? Policies work well for installing .pkgs

1jamf help install
2
3Usage: jamf install -package <filename> -path <path to file> -target <volume>
4 [-fut] [-feu] [-showProgress]
5
6 -package The filename of the package that will be installed.
7 -path The path to the package. This does not include the name of the package.
8 -target The drive that the package will be installed to.
9 -fut The Fill User Templates option takes any user data
10 and populates the files to the user templates so any new
11 user created on the system will have these files.
12 -feu Fill Existing Users option takes any user data and
13 populates the files to every user on the computer that has a
14 home directory.
15 -showProgress Displays the progress of the HTTP download and the progress of the installation process.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings