Skip to content

Commit

Permalink
Data update 2023-09-02 18-11-43
Browse files Browse the repository at this point in the history
  • Loading branch information
1010bots committed Sep 2, 2023
1 parent 6543b79 commit 4d04a75
Show file tree
Hide file tree
Showing 9 changed files with 190 additions and 9 deletions.
18 changes: 18 additions & 0 deletions docs/en/common/rustup-check.md
Original file line number Diff line number Diff line change
@@ -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.

<hr># rustup check

Check for updates to Rust toolchains and `rustup`.
More information: <https://rust-lang.github.io/rustup>.

- Check for all updates:

`rustup check`
18 changes: 18 additions & 0 deletions docs/en/common/rustup-default.md
Original file line number Diff line number Diff line change
@@ -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.

<hr># rustup default

Set the default Rust toolchain.
More information: <https://rust-lang.github.io/rustup>.

- Switch the default Rust toolchain (see `rustup help toolchain` for more information):

`rustup default `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>
26 changes: 26 additions & 0 deletions docs/en/common/rustup-show.md
Original file line number Diff line number Diff line change
@@ -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.

<hr># rustup show

Show installed toolchains, targets and the version of `rustc`.
More information: <https://rust-lang.github.io/rustup>.

- Show all information:

`rustup show`

- Show the active toolchain:

`rustup show active-toolchain`

- Show the rustup data directory:

`rustup show home`
31 changes: 31 additions & 0 deletions docs/en/common/rustup-target.md
Original file line number Diff line number Diff line change
@@ -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.

<hr># 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: <https://rust-lang.github.io/rustup>.

- Add a target to a toolchain:

`rustup target add --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">target</span>

- Remove a target from a toolchain:

`rustup target remove --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">target</span>

- List available and installed targets for a toolchain:

`rustup target list --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>

- List installed targets for a toolchain:

`rustup target list --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` --installed`
31 changes: 31 additions & 0 deletions docs/en/common/rustup-toolchain.md
Original file line number Diff line number Diff line change
@@ -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.

<hr># rustup toolchain

Manage Rust toolchains.
See `rustup help toolchain` for more information about toolchains.
More information: <https://rust-lang.github.io/rustup>.

- Install or update a given toolchain:

`rustup install `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>

- Uninstall a toolchain:

`rustup uninstall `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>

- List installed toolchains:

`rustup list`

- Create a custom toolchain by symlinking to a directory:

`rustup link `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">custom_toolchain_name</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/directory</span>
22 changes: 22 additions & 0 deletions docs/en/common/rustup-update.md
Original file line number Diff line number Diff line change
@@ -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.

<hr># rustup update

Update Rust toolchains and `rustup` itself (if not installed using a package manager).
More information: <https://rust-lang.github.io/rustup>.

- Update all installed toolchains and `rustup`:

`rustup update`

- Install or update a specific toolchain (see `rustup help toolchain` for more information):

`rustup update `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>
21 changes: 13 additions & 8 deletions docs/en/common/rustup.md
Original file line number Diff line number Diff line change
@@ -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: <https://github.com/rust-lang/rustup.rs>.
Some subcommands, such as `toolchain`, `target`, `update`, etc. have their own usage documentation.
More information: <https://rust-lang.github.io/rustup>.

- Install the nightly toolchain for your system:

Expand All @@ -18,7 +23,7 @@ More information: <https://github.com/rust-lang/rustup.rs>.

`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`

Expand All @@ -30,10 +35,10 @@ More information: <https://github.com/rust-lang/rustup.rs>.

`rustup show`

- Run cargo build with a certain toolchain:
- Run `cargo build` with a certain toolchain:

`rustup run `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain_name</span>` cargo build`
`rustup run `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` cargo build`

- Open the local rust documentation in the default web browser:
- Open the local Rust documentation in the default web browser:

`rustup doc`
30 changes: 30 additions & 0 deletions docs/en/linux/systemd-tty-ask-password-agent.md
Original file line number Diff line number Diff line change
@@ -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.

<hr># systemd-tty-ask-password-agent

List or process pending systemd password requests.
More information: <https://www.freedesktop.org/software/systemd/man/systemd-tty-ask-password-agent.html>.

- 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`

0 comments on commit 4d04a75

Please sign in to comment.