pub struct Install {
pub install: String,
pub package: Option<String>,
pub version: Option<Version>,
pub architecture: Option<String>,
pub extra: HashMap<String, String>,
}
Expand description
A stanza telling APT to install a specific new package, or to upgrade or downgrade a package to a specific version.
Fields§
§install: String
The identifier of the package to install.
Must reference the identifier of a package in the package universe
(see Package::id
).
package: Option<String>
The name of the package to install.
While optional, it is highly recommend to set this field to the value of the field
(Package::package
) of the corresponding
package in the package universe.
version: Option<Version>
The version of the package to install.
While optional, it is highly recommend to set this field to the value of the field
(Package::version
) of the corresponding
package in the package universe.
architecture: Option<String>
The architecture of the package to install.
While optional, it is highly recommend to set this field to the value of the field
(Package::architecture
) of the corresponding
package in the package universe.
extra: HashMap<String, String>
Extra optional fields supported by Package
stanzas.