I tried using rcp
to transfer files from/to another machine from Ubuntu 24.04 on WLS2. However, the system cannot find rcp
command. Command scp
wroks fine.
ubuntu@DESKTOP-D6TR:~$ sudo apt updateHit:1 http://mirrors.aliyun.com/ubuntu noble InReleaseHit:2 http://mirrors.aliyun.com/ubuntu noble-updates InReleaseHit:3 http://mirrors.aliyun.com/ubuntu noble-security InReleaseHit:4 http://mirrors.aliyun.com/ubuntu noble-backports InReleaseHit:5 http://mirrors.aliyun.com/ubuntu noble-proposed InReleaseHit:6 http://security.ubuntu.com/ubuntu noble-security InReleaseHit:7 http://archive.ubuntu.com/ubuntu noble InReleaseHit:8 http://archive.ubuntu.com/ubuntu noble-backports InReleaseReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneAll packages are up to date.ubuntu@DESKTOP-D6TR:~$ sudo apt install openssh-clientReading package lists... DoneBuilding dependency tree... DoneReading state information... Doneopenssh-client is already the newest version (1:9.6p1-3ubuntu13).0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.ubuntu@DESKTOP-D6TR:~$ sudo add-apt-repository universesudo apt updateAdding component(s) 'universe' to all repositories.Press [ENTER] to continue or Ctrl-c to cancel.Hit:1 http://mirrors.aliyun.com/ubuntu noble InReleaseHit:2 http://mirrors.aliyun.com/ubuntu noble-updates InReleaseHit:3 http://mirrors.aliyun.com/ubuntu noble-security InReleaseHit:4 http://mirrors.aliyun.com/ubuntu noble-backports InReleaseHit:5 http://mirrors.aliyun.com/ubuntu noble-proposed InReleaseHit:6 http://security.ubuntu.com/ubuntu noble-security InReleaseHit:7 http://archive.ubuntu.com/ubuntu noble InReleaseHit:8 http://archive.ubuntu.com/ubuntu noble-backports InReleaseReading package lists... DoneHit:1 http://mirrors.aliyun.com/ubuntu noble InReleaseHit:2 http://mirrors.aliyun.com/ubuntu noble-updates InReleaseHit:3 http://archive.ubuntu.com/ubuntu noble InReleaseHit:4 http://mirrors.aliyun.com/ubuntu noble-security InReleaseHit:5 http://security.ubuntu.com/ubuntu noble-security InReleaseHit:6 http://mirrors.aliyun.com/ubuntu noble-backports InReleaseHit:7 http://archive.ubuntu.com/ubuntu noble-backports InReleaseHit:8 http://mirrors.aliyun.com/ubuntu noble-proposed InReleaseReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneAll packages are up to date.ubuntu@DESKTOP-D6TR:~$ apt search rsh-clientSorting... DoneFull Text Search... Doneubuntu@DESKTOP-D6TR:~$ rcpCommand 'rcp' not found, but can be installed with:sudo apt install rsh-clientubuntu@DESKTOP-D6TR:~$ sudo apt install rsh-clientReading package lists... DoneBuilding dependency tree... DoneReading state information... DonePackage rsh-client is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceE: Package 'rsh-client' has no installation candidateubuntu@DESKTOP-D6TR:~$
I can find this page, but I'm not sure how to use/install it.