diff --git a/docs/en/common/rustup-check.md b/docs/en/common/rustup-check.md new file mode 100644 index 0000000000..d975520426 --- /dev/null +++ b/docs/en/common/rustup-check.md @@ -0,0 +1,18 @@ +--- +layout: page +title: common/rustup-check (English) +description: "Check for updates to Rust toolchains and `rustup`." +content_hash: f9fbe098504cb0083766b638fafa81adf8fb2f92 +last_modified_at: 2023-09-02 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup check + +Check for updates to Rust toolchains and `rustup`. +More information: . + +- Check for all updates: + +`rustup check` diff --git a/docs/en/common/rustup-default.md b/docs/en/common/rustup-default.md new file mode 100644 index 0000000000..eb4aad8d07 --- /dev/null +++ b/docs/en/common/rustup-default.md @@ -0,0 +1,18 @@ +--- +layout: page +title: common/rustup-default (English) +description: "Set the default Rust toolchain." +content_hash: 8ad4dda27fbc1317e03d5e747c6e45de7c263e9b +last_modified_at: 2023-09-02 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup default + +Set the default Rust toolchain. +More information: . + +- Switch the default Rust toolchain (see `rustup help toolchain` for more information): + +`rustup default `toolchain diff --git a/docs/en/common/rustup-show.md b/docs/en/common/rustup-show.md new file mode 100644 index 0000000000..f3acd0cee3 --- /dev/null +++ b/docs/en/common/rustup-show.md @@ -0,0 +1,26 @@ +--- +layout: page +title: common/rustup-show (English) +description: "Show installed toolchains, targets and the version of `rustc`." +content_hash: 0359221d4048731f4e6a78779fe2b69ca28bf1e2 +last_modified_at: 2023-09-02 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup show + +Show installed toolchains, targets and the version of `rustc`. +More information: . + +- Show all information: + +`rustup show` + +- Show the active toolchain: + +`rustup show active-toolchain` + +- Show the rustup data directory: + +`rustup show home` diff --git a/docs/en/common/rustup-target.md b/docs/en/common/rustup-target.md new file mode 100644 index 0000000000..69238fe712 --- /dev/null +++ b/docs/en/common/rustup-target.md @@ -0,0 +1,31 @@ +--- +layout: page +title: common/rustup-target (English) +description: "Modify a toolchain's supported targets." +content_hash: 1ce698227fbde7ff1a9c3223b4859136c0bafe7c +last_modified_at: 2023-09-02 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup target + +Modify a toolchain's supported targets. +Without the `--toolchain` option `rustup` will use the default toolchain. See `rustup help toolchain` for more information about toolchains. +More information: . + +- Add a target to a toolchain: + +`rustup target add --toolchain `toolchain` `target + +- Remove a target from a toolchain: + +`rustup target remove --toolchain `toolchain` `target + +- List available and installed targets for a toolchain: + +`rustup target list --toolchain `toolchain + +- List installed targets for a toolchain: + +`rustup target list --toolchain `toolchain` --installed` diff --git a/docs/en/common/rustup-toolchain.md b/docs/en/common/rustup-toolchain.md new file mode 100644 index 0000000000..8ab2638ce5 --- /dev/null +++ b/docs/en/common/rustup-toolchain.md @@ -0,0 +1,31 @@ +--- +layout: page +title: common/rustup-toolchain (English) +description: "Manage Rust toolchains." +content_hash: c160fc36fe3e18ed06b271d2bd655c097dcc5846 +last_modified_at: 2023-09-02 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup toolchain + +Manage Rust toolchains. +See `rustup help toolchain` for more information about toolchains. +More information: . + +- Install or update a given toolchain: + +`rustup install `toolchain + +- Uninstall a toolchain: + +`rustup uninstall `toolchain + +- List installed toolchains: + +`rustup list` + +- Create a custom toolchain by symlinking to a directory: + +`rustup link `custom_toolchain_name` `path/to/directory diff --git a/docs/en/common/rustup-update.md b/docs/en/common/rustup-update.md new file mode 100644 index 0000000000..82952f6365 --- /dev/null +++ b/docs/en/common/rustup-update.md @@ -0,0 +1,22 @@ +--- +layout: page +title: common/rustup-update (English) +description: "Update Rust toolchains and `rustup` itself (if not installed using a package manager)." +content_hash: 5d3370e1d86a67950d156fb37bebba33f9acaef7 +last_modified_at: 2023-09-02 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup update + +Update Rust toolchains and `rustup` itself (if not installed using a package manager). +More information: . + +- Update all installed toolchains and `rustup`: + +`rustup update` + +- Install or update a specific toolchain (see `rustup help toolchain` for more information): + +`rustup update `toolchain diff --git a/docs/en/common/rustup.md b/docs/en/common/rustup.md index e5b08b50f5..22fd7db71c 100644 --- a/docs/en/common/rustup.md +++ b/docs/en/common/rustup.md @@ -1,14 +1,19 @@ --- layout: page title: common/rustup (English) -description: "Rust toolchain installer." -content_hash: efab3e4f97632eb7dbc7d6ca0513a808cd44d78e +description: "Install, manage, and update Rust toolchains." +content_hash: 7c43b6ce9df4400ff203eba72341bbd53b4f81e2 +last_modified_at: 2023-09-02 +related_topics: + - title: தமிழ் version + url: /ta/common/rustup.html + icon: bi bi-globe --- # rustup -Rust toolchain installer. Install, manage, and update Rust toolchains. -More information: . +Some subcommands, such as `toolchain`, `target`, `update`, etc. have their own usage documentation. +More information: . - Install the nightly toolchain for your system: @@ -18,7 +23,7 @@ More information: . `rustup default nightly` -- Use the nightly toolchain when inside the current project, but leave global settings unchanged: +- Use the nightly toolchain when inside the current project but leave global settings unchanged: `rustup override set nightly` @@ -30,10 +35,10 @@ More information: . `rustup show` -- Run cargo build with a certain toolchain: +- Run `cargo build` with a certain toolchain: -`rustup run `toolchain_name` cargo build` +`rustup run `toolchain` cargo build` -- Open the local rust documentation in the default web browser: +- Open the local Rust documentation in the default web browser: `rustup doc` diff --git a/docs/en/linux/systemd-tty-ask-password-agent.md b/docs/en/linux/systemd-tty-ask-password-agent.md new file mode 100644 index 0000000000..877516f37a --- /dev/null +++ b/docs/en/linux/systemd-tty-ask-password-agent.md @@ -0,0 +1,30 @@ +--- +layout: page +title: linux/systemd-tty-ask-password-agent (English) +description: "List or process pending systemd password requests." +content_hash: 55dd90b7c460d1e4cde0c65c7ead399e654a1ca3 +last_modified_at: 2023-09-02 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# systemd-tty-ask-password-agent + +List or process pending systemd password requests. +More information: . + +- List all currently pending system password requests: + +`systemd-tty-ask-password-agent --list` + +- Continuously process password requests: + +`systemd-tty-ask-password-agent --watch` + +- Process all currently pending system password requests by querying the user on the calling TTY: + +`systemd-tty-ask-password-agent --query` + +- Forward password requests to wall instead of querying the user on the calling TTY: + +`systemd-tty-ask-password-agent --wall` diff --git a/source b/source index 77fb6d0af0..118d1f883b 160000 --- a/source +++ b/source @@ -1 +1 @@ -Subproject commit 77fb6d0af04562684988926e22d894f7bdea86a6 +Subproject commit 118d1f883b9c23e7af25399570480eced94cdca9