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
  • 3533 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

jamf help install

Usage:   jamf install -package <filename> -path <path to file> -target <volume>
         [-fut] [-feu] [-showProgress]

     -package        The filename of the package that will be installed.
     -path           The path to the package. This does not include the name of the package.
     -target         The drive that the package will be installed to.
     -fut            The Fill User Templates option takes any user data
                 and populates the files to the user templates so any new
                 user created on the system will have these files.
     -feu            Fill Existing Users option takes any user data and
                 populates the files to every user on the computer that has a
                 home directory.
     -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