# Install RustSC on Linux

One command installs RustSC on a Linux host and connects it.

## Install and connect

The command installs RustSC, starts it and connects the host to your workspace. Your own Rust server files are not touched. Ubuntu 24.04 on x86-64 is the Linux system RustSC is tested on.

1. In the portal, open **Hosts**, then **Add host**.
2. Choose the **Linux** tab, then **Copy install command**.
3. Open a terminal on the host that will run your servers. Paste the command and press Enter. You need an account that can use sudo.
4. Wait for the terminal to finish. The last line says: Connected. Go back to RustSC to add your server.
5. In the portal, wait for the host to show **Connected**, then choose **Add server**.

## If something goes wrong

- The terminal says the command expired or was already used: copy the new command from **Add host**. A command works once.
- The terminal shows only a line that starts with curl: check the host's internet connection and its date and time, then run the same command again.
- The host does not show **Connected**: open **Not showing up?** on the Add host page. It lists what to check.
- Running the same command again on its connected host leaves the connection as it is. To connect that host again, use **Reconnect** on its page.

- [Add a host to your workspace](https://rustsc.com/support/guides/add-host/index.html.md)

- [Add your first server](https://rustsc.com/support/guides/add-server/index.html.md)

- [Reconnect a host](https://rustsc.com/support/guides/reconnect-computer/index.html.md)

HTML version: https://rustsc.com/support/guides/install-linux/
